From caeaafd01bc22b3bcdd4bfeed8ca4bdb295965da Mon Sep 17 00:00:00 2001 From: jinyuanliu Date: Sun, 17 Oct 2021 02:20:24 -0400 Subject: [PATCH] Fix helm test method about horizon This patch makes the helm test command more standard by calling script of common. Change-Id: I3a54d85f0c1d16f28d4b1194f69d3c1daa456976 --- tools/deployment/multinode/085-horizon.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/deployment/multinode/085-horizon.sh b/tools/deployment/multinode/085-horizon.sh index dcc882de0c..93f25a2699 100755 --- a/tools/deployment/multinode/085-horizon.sh +++ b/tools/deployment/multinode/085-horizon.sh @@ -19,6 +19,7 @@ set -xe #NOTE: Get the over-rides to use : ${OSH_EXTRA_HELM_ARGS_HORIZON:="$(./tools/deployment/common/get-values-overrides.sh horizon)"} +: ${RUN_HELM_TESTS:="yes"} #NOTE: Lint and package chart make horizon @@ -39,4 +40,7 @@ helm upgrade --install horizon ./horizon \ #NOTE: Wait for deploy ./tools/deployment/common/wait-for-pods.sh openstack -helm test horizon +# Run helm tests +if [ "x${RUN_HELM_TESTS}" != "xno" ]; then + ./tools/deployment/common/run-helm-tests.sh horizon +fi