Merge "Fix helm test method about cinder"

This commit is contained in:
Zuul
2021-10-26 07:14:04 +00:00
committed by Gerrit Code Review

View File

@@ -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