Remove remaining test pods before new test run
If the test pod still exists, new run of "helm test" fails with ERROR: pods "xy-test" already exists Change-Id: I8551d8d115142187512cea4042c50e9c9e5c5400
This commit is contained in:
parent
00fff1d274
commit
9e5cb57148
@ -31,4 +31,6 @@ helm status keystone
|
|||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
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
|
||||||
openstack endpoint list
|
openstack endpoint list
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=keystone,release_group=keystone,component=test --namespace=openstack --ignore-not-found
|
||||||
helm test keystone --timeout 900
|
helm test keystone --timeout 900
|
||||||
|
@ -58,4 +58,6 @@ 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
|
||||||
openstack image list
|
openstack image list
|
||||||
openstack image show 'Cirros 0.3.5 64-bit'
|
openstack image show 'Cirros 0.3.5 64-bit'
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=glance,release_group=glance,component=test --namespace=openstack --ignore-not-found
|
||||||
helm test glance --timeout 900
|
helm test glance --timeout 900
|
||||||
|
@ -42,4 +42,6 @@ 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
|
||||||
openstack volume type list
|
openstack volume type list
|
||||||
|
# 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
|
helm test cinder --timeout 900
|
||||||
|
@ -103,5 +103,8 @@ 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
|
||||||
openstack compute service list
|
openstack compute service list
|
||||||
openstack network agent list
|
openstack network agent list
|
||||||
|
# Delete the test pods if they still exist
|
||||||
|
kubectl delete pods -l application=nova,release_group=nova,component=test --namespace=openstack --ignore-not-found
|
||||||
|
kubectl delete pods -l application=neutron,release_group=neutron,component=test --namespace=openstack --ignore-not-found
|
||||||
helm test nova --timeout 900
|
helm test nova --timeout 900
|
||||||
helm test neutron --timeout 900
|
helm test neutron --timeout 900
|
||||||
|
@ -38,4 +38,6 @@ 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
|
||||||
openstack orchestration service list
|
openstack orchestration service list
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=heat,release_group=heat,component=test --namespace=openstack --ignore-not-found
|
||||||
helm test heat --timeout 900
|
helm test heat --timeout 900
|
||||||
|
@ -29,4 +29,6 @@ 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
|
||||||
helm test barbican
|
helm test barbican
|
||||||
|
@ -31,4 +31,6 @@ helm upgrade --install mistral ./mistral \
|
|||||||
#NOTE: Validate Deployment
|
#NOTE: Validate Deployment
|
||||||
export OS_CLOUD=openstack_helm
|
export OS_CLOUD=openstack_helm
|
||||||
openstack service list
|
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
|
helm test mistral
|
||||||
|
Loading…
Reference in New Issue
Block a user