-
Notifications
You must be signed in to change notification settings - Fork 113
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
[RSDK-3154] Switch to BuildJet for arm64 action runners #2387
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a question re: coverage
@@ -120,15 +116,12 @@ jobs: | |||
- name: Check out main branch code | |||
if: github.event_name != 'pull_request_target' | |||
uses: actions/checkout@v3 | |||
with: | |||
fetch-depth: 2 | |||
|
|||
- name: Check out PR branch code | |||
if: github.event_name == 'pull_request_target' | |||
uses: actions/checkout@v3 | |||
with: | |||
ref: ${{ github.event.pull_request.head.sha }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you check if this affects coverage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added "test_cmd" to the Test step so amd64 runs cover/test-web, and arm64 does test-go/test-web instead.
|
This switches to BuildJet for arm64 action runners in github, instead of relying on our own hardware/emulation for it. It also starts running the FULL test suite on arm64 as well as amd64. The speed of actual tests is roughly equivalent between amd64 and arm64 (with arm64 sometimes even being faster than our own amd64 runners), but buildjet takes a little extra time to download and fire up our docker image at the start of a job, so there's some overhead. A full lint/test/build/deploy run is about 12% slower overall (90-120 seconds.) Doubling the VM size (cpu count) only shaves 40 seconds off things overall, so isn't worth doubling the price IMHO.
Billing for buildjet is currently set to my Expensify card. The buildjet account itself associates directly with the github organization, so I believe any/all admins here should also have access there (I certainly never created any other login.)