Skip to content

Commit

Permalink
Wait for application to have deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
mz2 committed Dec 12, 2023
1 parent bbc885c commit 80303b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/terraform_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ jobs:
- name: Replace the API charm with the locally built one
run: |
juju wait-for application api --timeout=10m --query='life=="alive"'
juju refresh api --path ../backend/charm/*.charm
- name: Replace the frontend charm with the locally built one
run: |
juju wait-for application api --timeout=10m --query='life=="alive"'
juju refresh frontend --path ../frontend/charm/*.charm
- name: Wait for deployment to complete
Expand Down

0 comments on commit 80303b8

Please sign in to comment.