Skip to content

Commit

Permalink
update wait command
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Nov 28, 2022
1 parent a54316c commit 0a4edae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
run: kubectl apply -k manifests/overlays/development --kubeconfig config.yaml

- name: Wait until deployment is ready
run: kubectl -n podkrepibg-dev wait --for=condition=Ready pods --all --timeout=180s --kubeconfig config.yaml
run: kubectl wait --for=condition=Available=True deployment/frontend --timeout=180s -n podkrepibg-dev --kubeconfig config.yaml

- name: Delete kubeconfig
if: always()
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
run: kubectl apply -k manifests/overlays/production --kubeconfig config.yaml

- name: Wait until deployment is ready
run: kubectl -n podkrepibg wait --for=condition=Ready pods --all --timeout=180s --kubeconfig config.yaml
run: kubectl wait --for=condition=Available=True deployment/frontend --timeout=180s -n podkrepibg --kubeconfig config.yaml

- uses: sarisia/actions-status-discord@v1
if: always()
Expand Down

0 comments on commit 0a4edae

Please sign in to comment.