Skip to content

Commit

Permalink
decrease waiter time & resource_class (#3603)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorschw committed Sep 10, 2023
1 parent 6e53c89 commit 7817726
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,13 +461,14 @@ jobs:
waiter:
docker:
- image: circleci/node
resource_class: small
<<: *environment
steps:
- run: |
while [[ $(curl --location --request GET "https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/job" | jq -r '.items[]|select(.name != "waiter")|.status' | grep -c "running") -gt 0 ]]
do
# sleep for 8 minutes
sleep 480
# sleep for 4 minutes
sleep 240
done
- run: echo "All required jobs have now completed"

Expand Down

0 comments on commit 7817726

Please sign in to comment.