github.com/verrazzano/verrazzano@v1.7.0/ci/psr/Makefile (about) 1 # Copyright (C) 2022, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 # Override the settings in tests.mk 5 export PSR_PATH ?= ${VZ_ROOT}/tools/psr 6 export TEST_ROOT = ${PSR_PATH}/tests 7 export TEST_REPORT_DIR ?= ${WORKSPACE}/tests/psr 8 9 include ../make/kind.mk 10 include ../make/install.mk 11 include ../make/tests.mk 12 13 .PHONY: all 14 all: setup install test 15 16 .PHONY: setup 17 setup: 18 @echo "Running test setup" 19 make setup-kind 20 21 # Peforms an install of Verrazzano to the target system 22 .PHONY: install 23 install: 24 @echo "Installing Verrazzano" 25 make install-verrazzano 26 27 # Executes test suite(s) against the target Verrazzano install 28 test: export TEST_ROOT = ${PSR_PATH}/tests 29 test: export TEST_SUITES ?= ${TEST_ROOT}/... 30 test: export PSR_COMMAND ?= psrctl 31 test: export TEST_NAMESPACE ?= psrtest 32 test: export IMAGE_PULL_SECRET ?= verrazzano-container-registry 33 test: export DOCKER_REGISTRY ?= ghcr.io 34 .PHONY: test 35 test: run-test-parallel 36 37 # Executes an upgrade to a new Verrazzano version from the initially installed version 38 .PHONY: cleanup 39 cleanup: pipeline-artifacts clean-kind 40 @echo "Running test cleanup"