Fix helm test method about mistral
This patch makes the helm test command more standard by calling script of common. Change-Id: Ied8355e80f27d560a989410d369fdceda7f851ca
This commit is contained in:
parent
4063b20af4
commit
3e62ce320b
@ -13,6 +13,8 @@
|
||||
# under the License.
|
||||
set -xe
|
||||
|
||||
: ${RUN_HELM_TESTS:="yes"}
|
||||
|
||||
#NOTE: Lint and package chart
|
||||
make mistral
|
||||
|
||||
@ -32,6 +34,8 @@ helm upgrade --install mistral ./mistral \
|
||||
#NOTE: Validate Deployment
|
||||
export OS_CLOUD=openstack_helm
|
||||
openstack service list
|
||||
# Delete the test pod if it still exists
|
||||
kubectl delete pods -l application=mistral,release_group=mistral,component=test --namespace=openstack --ignore-not-found
|
||||
helm test mistral
|
||||
|
||||
# Run helm test
|
||||
if [ "x${RUN_HELM_TESTS}" != "xno" ]; then
|
||||
./tools/deployment/common/run-helm-tests.sh mistral
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user