Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Fix timeout units.
Browse files Browse the repository at this point in the history
  • Loading branch information
grugnog committed Dec 15, 2022
1 parent fab2d59 commit 216905f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Reset schema.
run: |
skaffold run --force=true -f skaffold-reset-schema.yaml
kubectl -n civicactions-content wait --timeout=600 --for=condition=Complete job/v3-v4
kubectl -n civicactions-content wait --timeout=10m --for=condition=Complete job/v3-v4
kubectl -n civicactions-content logs "$(kubectl -n civicactions-content get pod --selector=job-name=v3-v4 -o 'jsonpath={.items[-1].metadata.name}')"
skaffold delete -f skaffold-reset-schema.yaml
working-directory: v3-sql-v4-sql
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Migrate schema.
run: |
skaffold run --force=true -f skaffold-migrate-schema.yaml
kubectl -n civicactions-content wait --timeout=1200 --for=condition=Complete job/v3-v4
kubectl -n civicactions-content wait --timeout=20m --for=condition=Complete job/v3-v4
kubectl -n civicactions-content logs "$(kubectl -n civicactions-content get pod --selector=job-name=v3-v4 -o 'jsonpath={.items[-1].metadata.name}')"
skaffold delete -f skaffold-migrate-schema.yaml
working-directory: v3-sql-v4-sql
Expand Down

0 comments on commit 216905f

Please sign in to comment.