feat: add armhf (linux-arm) self-hosted runner support [ISD-5856]#155
Draft
florentianayuwono wants to merge 7 commits into
Draft
feat: add armhf (linux-arm) self-hosted runner support [ISD-5856]#155florentianayuwono wants to merge 7 commits into
florentianayuwono wants to merge 7 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
d8d8bf7 to
521782a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The canonical GitHub Actions runner fork only builds for
linux-x64,linux-arm64,linux-ppc64le, andlinux-s390x. There is nolinux-arm(ARMv7 32-bit / armhf) build, so armhf self-hosted runners cannot be provisioned from this fork.Solution
Add
linux-armas a supported build target. The upstreamactions/runneralready has most arm32 infrastructure in place (architecture enum, build defines,dev.shmappings). The only gap is Node.js 22 for armv7l — Node.js 24 dropped armv7l support, so arm runners need Node.js 22 LTS (supported until April 2027) alongside Node.js 20.Changes
New patch files:
patches/runner-sdk8-arm.patch— addsNODE22_VERSION="22.22.3"and downloads the Node.js 22 armv7l binary in the existinglinux-armblock ofexternals.sh. Verified to apply cleanly against upstreamv2.334.0.patches/runner-main-sdk8-arm.patch— same diff targeting upstreammainHEAD (c6a124e1). Verified to apply cleanly..github/workflows/release.yml:linux-armto the build matrix withruns_on: armandpatch_tag: armlinux-arm-shaas a job outputlinux-armin theApply patchesstep conditionrunner-packages-linux-armartifact in the release job<LINUX_ARM_SHA>in the release noteactions-runner-linux-arm-<version>.tar.gzas a release asset.github/workflows/patch_update_release.ymlandpatch_update_main.yml:armto thefor arch in ppc64le s390xloopNotes
Test plan
armself-hosted runner — verifyactions-runner-linux-arm-<version>.tar.gzis produced_layout/externals/node20and_layout/externals/node22armon next upstream release