From 27d4919f14aa429d041240a46a2422355e82494e Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Wed, 25 Sep 2024 19:01:10 +0200 Subject: [PATCH 1/2] Add qe-tests target --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index ce4a4a911..350dc0997 100644 --- a/Makefile +++ b/Makefile @@ -230,6 +230,14 @@ test: ## run helm tests helmlint: ## run helm lint @for t in $(CHARTS); do common/scripts/lint.sh $$t $(TEST_OPTS); if [ $$? != 0 ]; then exit 1; fi; done +.PHONY: qe-tests +qe-tests: ## Runs the tests that QE runs + @set -e; if [ -f ./tests/interop/run_tests.sh ]; then \ + ./tests/interop/run_tests.sh; \ + else \ + echo "No ./tests/interop/run_tests.sh found skipping"; \ + fi + API_URL ?= https://raw.githubusercontent.com/hybrid-cloud-patterns/ocp-schemas/main/openshift/4.10/ KUBECONFORM_SKIP ?= -skip 'CustomResourceDefinition,ClusterIssuer,CertManager,Certificate,ArgoCD' From ac54604f4c44a0a688415bfc7076c3a806bbd93a Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Sun, 29 Sep 2024 16:04:42 +0200 Subject: [PATCH 2/2] Read PATTERN_INSTALL_CHART from the env as well if it exists --- scripts/pattern-util.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pattern-util.sh b/scripts/pattern-util.sh index cb7fc8736..675cc1173 100755 --- a/scripts/pattern-util.sh +++ b/scripts/pattern-util.sh @@ -80,6 +80,7 @@ podman run -it --rm --pull=newer \ -e TOKEN_NAMESPACE \ -e VALUES_SECRET \ -e KUBECONFIG \ + -e PATTERN_INSTALL_CHART \ -e K8S_AUTH_HOST \ -e K8S_AUTH_VERIFY_SSL \ -e K8S_AUTH_SSL_CA_CERT \