Skip to content

Commit a1e7163

Browse files
2 parents 58d2751 + 14ecf0b commit a1e7163

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -78,25 +78,6 @@ jobs:
7878
run: |
7979
kubectl rollout restart deployment -n team-git-push-force-dev
8080
81-
- name: Verify Deployment
82-
run: |
83-
# echo "Verifying deployment to staging environment..."
84-
# RETRY_COUNT=0
85-
# MAX_RETRIES=10
86-
# until kubectl get pods -n team-git-push-force-dev -l app.kubernetes.io/name=ai-event-concepter -o jsonpath='{.items[*].status.containerStatuses[*].ready}' | grep -q "true" || [ $RETRY_COUNT -eq $MAX_RETRIES ]; do
87-
# echo "Waiting for pods to be ready... ($(($RETRY_COUNT+1))/$MAX_RETRIES)"
88-
# sleep 10
89-
# RETRY_COUNT=$((RETRY_COUNT+1))
90-
# done
91-
#
92-
# if [ $RETRY_COUNT -eq $MAX_RETRIES ]; then
93-
# echo "Pods didn't become ready within the timeout period"
94-
# kubectl get pods -n team-git-push-force-dev
95-
# exit 1
96-
# fi
97-
98-
echo "✅ Staging deployment verified successfully!"
99-
10081
# Deploy to production environment
10182
deploy_production:
10283
name: Deploy to Production
@@ -130,22 +111,3 @@ jobs:
130111
helm upgrade --debug --install -n team-git-push-force ai-event-concepter . \
131112
--set ingress.host=aieventconcepter.student.k8s.aet.cit.tum.de
132113
kubectl rollout restart deployment -n team-git-push-force
133-
134-
- name: Verify Deployment
135-
run: |
136-
# echo "Verifying deployment to production environment..."
137-
# RETRY_COUNT=0
138-
# MAX_RETRIES=10
139-
# until kubectl get pods -n team-git-push-force -l app.kubernetes.io/name=ai-event-concepter -o jsonpath='{.items[*].status.containerStatuses[*].ready}' | grep -q "true" || [ $RETRY_COUNT -eq $MAX_RETRIES ]; do
140-
# echo "Waiting for pods to be ready... ($(($RETRY_COUNT+1))/$MAX_RETRIES)"
141-
# sleep 10
142-
# RETRY_COUNT=$((RETRY_COUNT+1))
143-
# done
144-
#
145-
# if [ $RETRY_COUNT -eq $MAX_RETRIES ]; then
146-
# echo "Pods didn't become ready within the timeout period"
147-
# kubectl get pods -n team-git-push-force
148-
# exit 1
149-
# fi
150-
151-
echo "✅ Production deployment verified successfully!"

0 commit comments

Comments
 (0)