Skip to content

Commit 283fb9c

Browse files
committed
fix(ci): increase kubectl rollout timeout from 5m to 10m
CKAN startup (60s readiness delay + migrations + uWSGI init) takes ~6-7 minutes. The 5m timeout was causing false-failure CI exits even when the deploy succeeded.
1 parent 17bae3d commit 283fb9c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ jobs:
9191
kubectl set image deployment/ckan \
9292
ckan=${{ env.ACR_NAME }}.azurecr.io/${{ env.IMAGE_NAME }}:${{ steps.params.outputs.image_tag }} \
9393
-n ${{ env.NAMESPACE }}
94-
kubectl rollout status deployment/ckan -n ${{ env.NAMESPACE }} --timeout=5m
94+
kubectl rollout status deployment/ckan -n ${{ env.NAMESPACE }} --timeout=10m

.github/workflows/release-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ jobs:
8787
kubectl set image deployment/ckan \
8888
ckan=${{ env.ACR_NAME }}.azurecr.io/${{ env.IMAGE_NAME }}:${{ steps.params.outputs.version }} \
8989
-n ${{ env.NAMESPACE }}
90-
kubectl rollout status deployment/ckan -n ${{ env.NAMESPACE }} --timeout=5m
90+
kubectl rollout status deployment/ckan -n ${{ env.NAMESPACE }} --timeout=10m

0 commit comments

Comments
 (0)