From 7e398188c5bda143b9db8968f5432f8d106a6860 Mon Sep 17 00:00:00 2001 From: John Watson Date: Tue, 31 Dec 2024 20:36:02 +0000 Subject: [PATCH] fix: Add a little time to the restart procedure to allow service grace --- .github/workflows/deploy-service-restart.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-service-restart.yml b/.github/workflows/deploy-service-restart.yml index b42277ab51..ce162c0ece 100644 --- a/.github/workflows/deploy-service-restart.yml +++ b/.github/workflows/deploy-service-restart.yml @@ -53,9 +53,17 @@ 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 }} @@ -63,7 +71,7 @@ jobs: api-test: needs: - - restart-sdf + - sleep-between uses: ./.github/workflows/run-api-test.yml with: environment: ${{ inputs.environment }}