File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,11 @@ mongodb:
110110 # Currently Bitnami doesn't support ARM: https://github.com/bitnami/charts/issues/7305
111111 image :
112112 # -- MongoDB image registry
113- registry : mcr.microsoft.com
113+ registry : docker.io
114114 # -- MongoDB image repository
115- repository : azuremonitor/containerinsights/cidev
115+ repository : bitnami/mongodb
116116 # -- MongoDB image tag
117- tag : mongodb_6.0.5-debian-11-r64
117+ tag : latest
118118 # -- MongoDB image pull Secret
119119 pullSecrets : []
120120 nodeSelector :
Original file line number Diff line number Diff line change @@ -24,6 +24,19 @@ echo "deb https://repo.testkube.io/linux linux main" | sudo tee -a /etc/apt/sour
2424sudo apt-get update
2525sudo apt-get install -y testkube
2626
27+ echo " Checking for existing Testkube installation..."
28+ if helm list -n testkube 2> /dev/null | grep -q testkube; then
29+ echo " Found existing Testkube installation. Cleaning up..."
30+ helm uninstall testkube -n testkube || true
31+ echo " Deleting testkube namespace..."
32+ kubectl delete namespace testkube --wait=true --timeout=120s || true
33+ echo " Waiting for namespace to fully terminate..."
34+ sleep 30
35+ echo " Cleanup complete!"
36+ else
37+ echo " No existing Testkube installation found."
38+ fi
39+
2740echo " Install testkube on the cluster"
2841helm repo add kubeshop https://kubeshop.github.io/helm-charts
2942helm repo update
@@ -39,7 +52,7 @@ envsubst < ./testkube-test-crs.yaml > ./testkube-test-crs-updated.yaml
3952kubectl apply -f ./testkube-test-crs-updated.yaml
4053
4154echo " Wait for cluster to be ready"
42- sleep 120
55+ sleep 200
4356
4457echo " Run testkube tests"
4558execution_id=" "
You can’t perform that action at this time.
0 commit comments