Merge "Remove remaining test pods before new test run"
This commit is contained in:
commit
622bc4d972
@ -33,5 +33,7 @@ helm upgrade --install mariadb ./mariadb \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status mariadb
|
helm status mariadb
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=mariadb,release_group=mariadb,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Validate the deployment
|
#NOTE: Validate the deployment
|
||||||
helm test mariadb
|
helm test mariadb
|
||||||
|
@ -77,4 +77,6 @@ helm upgrade --install elasticsearch ./elasticsearch \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status elasticsearch
|
helm status elasticsearch
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=elasticsearch,release_group=elasticsearch,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test elasticsearch
|
helm test elasticsearch
|
||||||
|
@ -35,4 +35,6 @@ helm upgrade --install fluentbit ./fluentbit \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status fluentbit
|
helm status fluentbit
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=fluentbit,release_group=fluentbit,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test fluentbit
|
helm test fluentbit
|
||||||
|
@ -170,4 +170,6 @@ helm upgrade --install fluentd-daemonset ./fluentd \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status fluentd-daemonset
|
helm status fluentd-daemonset
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=fluentd,release_group=fluentd-daemonset,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test fluentd-daemonset
|
helm test fluentd-daemonset
|
||||||
|
@ -61,4 +61,6 @@ sleep 60 #NOTE(portdirect): Wait for ingress controller to update rules and rest
|
|||||||
openstack service list
|
openstack service list
|
||||||
openstack endpoint list
|
openstack endpoint list
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph,release_group=radosgw-openstack,component=rgw-test --namespace=openstack --ignore-not-found
|
||||||
helm test radosgw-openstack --timeout 900
|
helm test radosgw-openstack --timeout 900
|
@ -57,5 +57,7 @@ helm status docker-registry-nfs-provisioner
|
|||||||
helm status docker-registry-redis
|
helm status docker-registry-redis
|
||||||
helm status docker-registry
|
helm status docker-registry
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=redis,release_group=docker-registry-redis,component=test --namespace=docker-registry --ignore-not-found
|
||||||
#NOTE: Run helm tests
|
#NOTE: Run helm tests
|
||||||
helm test docker-registry-redis
|
helm test docker-registry-redis
|
||||||
|
@ -62,5 +62,7 @@ for release in prometheus-one prometheus-two prometheus-three; do
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status prometheus-$release
|
helm status prometheus-$release
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=prometheus,release_group=prometheus-$release,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test prometheus-$release
|
helm test prometheus-$release
|
||||||
done
|
done
|
||||||
|
@ -61,4 +61,6 @@ helm upgrade --install federated-prometheus ./prometheus \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status federated-prometheus
|
helm status federated-prometheus
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=prometheus,release_group=federated-prometheus,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test federated-prometheus
|
helm test federated-prometheus
|
||||||
|
@ -159,6 +159,9 @@ helm upgrade --install grafana ./grafana \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status grafana
|
helm status grafana
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=grafana,release_group=grafana,component=test --namespace=osh-infra --ignore-not-found
|
||||||
|
|
||||||
helm test grafana
|
helm test grafana
|
||||||
|
|
||||||
echo "Get list of all configured datasources in Grafana"
|
echo "Get list of all configured datasources in Grafana"
|
||||||
|
@ -32,5 +32,7 @@ helm upgrade --install mariadb ./mariadb \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status mariadb
|
helm status mariadb
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=mariadb,release_group=mariadb,component=test --namespace=openstack --ignore-not-found
|
||||||
#NOTE: Validate the deployment
|
#NOTE: Validate the deployment
|
||||||
helm test mariadb
|
helm test mariadb
|
||||||
|
@ -125,5 +125,11 @@ for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
|||||||
--no-headers | awk '{ print $1; exit }')
|
--no-headers | awk '{ print $1; exit }')
|
||||||
kubectl exec -n ceph ${MON_POD} -- ceph -s
|
kubectl exec -n ceph ${MON_POD} -- ceph -s
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph-osd,release_group=ceph-osd,component=test --namespace=ceph --ignore-not-found
|
||||||
helm test ceph-osd --timeout 900
|
helm test ceph-osd --timeout 900
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph-client,release_group=ceph-client,component=test --namespace=ceph --ignore-not-found
|
||||||
helm test ceph-client --timeout 900
|
helm test ceph-client --timeout 900
|
||||||
|
@ -55,4 +55,6 @@ helm upgrade --install ceph-osh-infra-config ./ceph-provisioners \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status ceph-osh-infra-config
|
helm status ceph-osh-infra-config
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph,release_group=ceph-osh-infra-config,component=provisioner-test --namespace=osh-infra --ignore-not-found
|
||||||
helm test ceph-osh-infra-config --timeout 600
|
helm test ceph-osh-infra-config --timeout 600
|
||||||
|
@ -33,5 +33,7 @@ helm upgrade --install mariadb ./mariadb \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status mariadb
|
helm status mariadb
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=mariadb,release_group=mariadb,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Validate the deployment
|
#NOTE: Validate the deployment
|
||||||
helm test mariadb
|
helm test mariadb
|
||||||
|
@ -33,5 +33,7 @@ helm upgrade --install prometheus ./prometheus \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status prometheus
|
helm status prometheus
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=prometheus,release_group=prometheus,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Run helm tests
|
#NOTE: Run helm tests
|
||||||
helm test prometheus
|
helm test prometheus
|
||||||
|
@ -33,5 +33,7 @@ helm upgrade --install grafana ./grafana \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status grafana
|
helm status grafana
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=grafana,release_group=grafana,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Run helm tests
|
#NOTE: Run helm tests
|
||||||
helm test grafana
|
helm test grafana
|
||||||
|
@ -69,4 +69,6 @@ helm upgrade --install radosgw-osh-infra ./ceph-rgw \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status radosgw-osh-infra
|
helm status radosgw-osh-infra
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph,release_group=radosgw-osh-infra,component=rgw-test --namespace=osh-infra --ignore-not-found
|
||||||
helm test radosgw-osh-infra --timeout 900
|
helm test radosgw-osh-infra --timeout 900
|
||||||
|
@ -72,5 +72,7 @@ helm upgrade --install elasticsearch ./elasticsearch \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status elasticsearch
|
helm status elasticsearch
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=elasticsearch,release_group=elasticsearch,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Run helm tests
|
#NOTE: Run helm tests
|
||||||
helm test elasticsearch
|
helm test elasticsearch
|
||||||
|
@ -27,5 +27,7 @@ helm upgrade --install kafka ./kafka \
|
|||||||
#NOTE: Validate deployment info
|
#NOTE: Validate deployment info
|
||||||
helm status kafka
|
helm status kafka
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=kafka,release_group=kafka,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Test deployment
|
#NOTE: Test deployment
|
||||||
helm test kafka
|
helm test kafka
|
||||||
|
@ -32,4 +32,6 @@ helm upgrade --install prometheus ./prometheus \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status prometheus
|
helm status prometheus
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=prometheus,release_group=prometheus,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test prometheus
|
helm test prometheus
|
||||||
|
@ -213,5 +213,10 @@ for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
|||||||
--no-headers | awk '{ print $1; exit }')
|
--no-headers | awk '{ print $1; exit }')
|
||||||
kubectl exec -n ceph ${MON_POD} -- ceph -s
|
kubectl exec -n ceph ${MON_POD} -- ceph -s
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph-osd,release_group=ceph-osd,component=test --namespace=ceph --ignore-not-found
|
||||||
helm test ceph-osd --timeout 900
|
helm test ceph-osd --timeout 900
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph-client,release_group=ceph-client,component=test --namespace=ceph --ignore-not-found
|
||||||
helm test ceph-client --timeout 900
|
helm test ceph-client --timeout 900
|
||||||
|
@ -51,6 +51,8 @@ helm upgrade --install ceph-osh-infra-config ./ceph-provisioners \
|
|||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
./tools/deployment/common/wait-for-pods.sh osh-infra
|
./tools/deployment/common/wait-for-pods.sh osh-infra
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph,release_group=ceph-osh-infra-config,component=provisioner-test --namespace=osh-infra --ignore-not-found
|
||||||
helm test ceph-osh-infra-config --timeout 600
|
helm test ceph-osh-infra-config --timeout 600
|
||||||
|
|
||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
|
@ -57,5 +57,7 @@ helm upgrade --install radosgw-osh-infra ./ceph-rgw \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status radosgw-osh-infra
|
helm status radosgw-osh-infra
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph,release_group=radosgw-osh-infra,component=rgw-test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Test Deployment
|
#NOTE: Test Deployment
|
||||||
helm test radosgw-osh-infra --timeout 900
|
helm test radosgw-osh-infra --timeout 900
|
||||||
|
@ -117,4 +117,6 @@ helm upgrade --install elasticsearch ./elasticsearch \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status elasticsearch
|
helm status elasticsearch
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=elasticsearch,release_group=elasticsearch,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test elasticsearch
|
helm test elasticsearch
|
||||||
|
@ -33,5 +33,7 @@ helm upgrade --install mariadb ./mariadb \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status mariadb
|
helm status mariadb
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=mariadb,release_group=mariadb,component=test --namespace=osh-infra --ignore-not-found
|
||||||
#NOTE: Validate the deployment
|
#NOTE: Validate the deployment
|
||||||
helm test mariadb
|
helm test mariadb
|
||||||
|
@ -32,4 +32,6 @@ helm upgrade --install prometheus ./prometheus \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status prometheus
|
helm status prometheus
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=prometheus,release_group=prometheus,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test prometheus
|
helm test prometheus
|
||||||
|
@ -32,4 +32,6 @@ helm upgrade --install grafana ./grafana \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status grafana
|
helm status grafana
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=grafana,release_group=grafana,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test grafana
|
helm test grafana
|
||||||
|
@ -31,4 +31,6 @@ helm upgrade --install nagios ./nagios \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status nagios
|
helm status nagios
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=nagios,release_group=nagios,component=test --namespace=osh-infra --ignore-not-found
|
||||||
helm test nagios
|
helm test nagios
|
||||||
|
@ -139,5 +139,10 @@ for CHART in ceph-mon ceph-osd ceph-client ceph-provisioners; do
|
|||||||
--no-headers | awk '{ print $1; exit }')
|
--no-headers | awk '{ print $1; exit }')
|
||||||
kubectl exec -n ceph ${MON_POD} -- ceph -s
|
kubectl exec -n ceph ${MON_POD} -- ceph -s
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph-osd,release_group=ceph-osd,component=test --namespace=ceph --ignore-not-found
|
||||||
helm test ceph-osd --timeout 900
|
helm test ceph-osd --timeout 900
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph-client,release_group=ceph-client,component=test --namespace=ceph --ignore-not-found
|
||||||
helm test ceph-client --timeout 900
|
helm test ceph-client --timeout 900
|
||||||
|
@ -69,4 +69,6 @@ helm upgrade --install radosgw-openstack ./ceph-rgw \
|
|||||||
#NOTE: Validate Deployment info
|
#NOTE: Validate Deployment info
|
||||||
helm status radosgw-openstack
|
helm status radosgw-openstack
|
||||||
|
|
||||||
|
# Delete the test pod if it still exists
|
||||||
|
kubectl delete pods -l application=ceph,release_group=radosgw-openstack,component=rgw-test --namespace=openstack --ignore-not-found
|
||||||
helm test radosgw-openstack --timeout 900
|
helm test radosgw-openstack --timeout 900
|
||||||
|
Loading…
Reference in New Issue
Block a user