Fix helm test method about cinder
This patch makes the helm test command more standard by calling script of common. Change-Id: Icb4bdb5c63b1630cb63d3e43a1e5595af0f4e6bf
This commit is contained in:
parent
0d7800a8cc
commit
4063b20af4
@ -15,6 +15,7 @@ set -xe
|
||||
|
||||
#NOTE: Get the over-rides to use
|
||||
: ${OSH_EXTRA_HELM_ARGS_CINDER:="$(./tools/deployment/common/get-values-overrides.sh cinder)"}
|
||||
: ${RUN_HELM_TESTS:="yes"}
|
||||
|
||||
#NOTE: Lint and package chart
|
||||
make cinder
|
||||
@ -79,6 +80,7 @@ sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and rest
|
||||
openstack volume type list
|
||||
openstack volume type list --default
|
||||
|
||||
# Delete the test pod if it still exists
|
||||
kubectl delete pods -l application=cinder,release_group=cinder,component=test --namespace=openstack --ignore-not-found
|
||||
helm test cinder --timeout 900
|
||||
# Run helm tests
|
||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||
./tools/deployment/common/run-helm-tests.sh cinder
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user