-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Pants'-managed runs-on runners for Linux aarch64 CI #427
base: main
Are you sure you want to change the base?
Conversation
Note the |
Where do I see that error? It's not in the GitHub UI that I can spot? I'm imagining #428 (add the config to the |
That error is in emails from RunsOn, but you can see CI stalling out on it here: https://github.com/pantsbuild/scie-pants/actions/runs/12019942836/job/33507556110?pr=427 |
787b919
to
1d03a92
Compare
To land this, someone with more repository admin powers than me will need to mark the circle CI jobs as not-required (and the linux-arm64 ones as required, while you're there). Once this lands, I'll do a beta release to validate the release workflow changes. |
The branch protection rules have been updated as requested. |
This replaces our use of Circle CI's arm64 Linux runners for both testing and releasing with the runs-on runners that Pantsbuild configures (and pays for) in AWS, via https://runs-on.com
This has a few benefits:
It also has downsides: we're going from free resources to paid. However, the incremental cost for the scie-pants repo should be quite small, compared to the main pants repo:
I estimated cost based on US$0.1344/hour for a on-demand t4g.xlarge 4 core instance in us-east-1 (I'm not sure this is our exact configuration). Prices in practice may be cheaper, because Runs-On attempts to use spot instances).
If this starts adding up a lot, we can likely optimise. For instance: optimise spot-instance selection for lowest cost not "PCO", and use more caching (whether that's coarse-grained
actions/cache
or fine-grainedsccache
).Fixes #422, fixes #430