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