Skip to content

Commit

Permalink
chore(ci): address start-runner edge-cases (#5888)
Browse files Browse the repository at this point in the history
AztecProtocol/ec2-action-builder@a576467

- Tries to address runner finding unusable spot, we now stop it and
restart. Not fully sure why this would be the case, but it came up and
allows for recovery. Also poll less in case it was a rate limit issue.

- Add a minute polling logic around both creating spot and then creating
on-demand. This might add a minute to most builds - so will be
monitoring - but should be no different than our old spot start times
with circleci
  • Loading branch information
ludamad authored Apr 20, 2024
1 parent 3683f0b commit 564b893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/setup-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
group: start-builder-${{ inputs.runner_label }}
steps:
- name: Start EC2 runner
uses: AztecProtocol/ec2-action-builder@v0.14e
uses: AztecProtocol/ec2-action-builder@v0.15
with:
github_token: ${{ secrets.GH_SELF_HOSTED_RUNNER_TOKEN }}
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 564b893

Please sign in to comment.