Skip to content

Commit

Permalink
fix: Add a little time to the restart procedure to allow service grace
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrwatson committed Dec 31, 2024
1 parent a1709fe commit 7e39818
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy-service-restart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,25 @@ jobs:
service: sdf
secrets: inherit

sleep-between:
name: Wait for 5 minutes
needs: restart-sdf
runs-on: ubuntu-latest
steps:
- name: Sleep for 5 minutes
run: sleep 300

e2e-validation:
needs:
- restart-sdf
- sleep-between
uses: ./.github/workflows/e2e-validation.yml
with:
environment: ${{ inputs.environment }}
secrets: inherit

api-test:
needs:
- restart-sdf
- sleep-between
uses: ./.github/workflows/run-api-test.yml
with:
environment: ${{ inputs.environment }}
Expand Down

0 comments on commit 7e39818

Please sign in to comment.