Fix helm test method
This patch makes the helm test command more standard by calling script of common. Change-Id: I90397f437595016a5f7fb0ff9388319101027b5c
This commit is contained in:
parent
119a7c7532
commit
7b3f420ede
@ -16,6 +16,7 @@ set -xe
|
||||
|
||||
#NOTE: Get the over-rides to use
|
||||
: ${OSH_EXTRA_HELM_ARGS_BARBICAN:="$(./tools/deployment/common/get-values-overrides.sh barbican)"}
|
||||
: ${RUN_HELM_TESTS:="yes"}
|
||||
|
||||
#NOTE: Lint and package chart
|
||||
make barbican
|
||||
@ -29,4 +30,7 @@ helm upgrade --install barbican ./barbican \
|
||||
#NOTE: Wait for deploy
|
||||
./tools/deployment/common/wait-for-pods.sh openstack
|
||||
|
||||
helm test barbican
|
||||
# Run helm test
|
||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||
./tools/deployment/common/run-helm-tests.sh barbican
|
||||
fi
|
||||
|
@ -16,6 +16,7 @@ set -xe
|
||||
|
||||
#NOTE: Get the over-rides to use
|
||||
: ${OSH_EXTRA_HELM_ARGS_BARBICAN:="$(./tools/deployment/common/get-values-overrides.sh barbican)"}
|
||||
: ${RUN_HELM_TESTS:="yes"}
|
||||
|
||||
#NOTE: Lint and package chart
|
||||
make barbican
|
||||
@ -29,6 +30,7 @@ helm upgrade --install barbican ./barbican \
|
||||
#NOTE: Wait for deploy
|
||||
./tools/deployment/common/wait-for-pods.sh openstack
|
||||
|
||||
# Delete the test pod if it still exists
|
||||
kubectl delete pods -l application=barbican,release_group=barbican,component=test --namespace=openstack --ignore-not-found
|
||||
helm test barbican
|
||||
# Run helm tests
|
||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||
./tools/deployment/common/run-helm-tests.sh barbican
|
||||
fi
|
||||
|
@ -16,6 +16,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
|
||||
@ -32,6 +33,7 @@ helm upgrade --install horizon ./horizon \
|
||||
#NOTE: Wait for deploy
|
||||
./tools/deployment/common/wait-for-pods.sh openstack
|
||||
|
||||
# Delete the test pod if it still exists
|
||||
kubectl delete pods -l application=horizon,release_group=horizon,component=test --namespace=openstack --ignore-not-found
|
||||
helm test horizon
|
||||
# Run helm tests
|
||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||
./tools/deployment/common/run-helm-tests.sh horizon
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user