Repository navigation
ci: run CI on the self-hosted triton runners - #8
Merged
Merged
Conversation
The protoc includes are copied rather than moved, since mv fails once /usr/local/include/google exists from an earlier job. On self-hosted runners mold is installed without replacing the system ld, which would otherwise stay in place for every later job on the host.
The step strips the hosted image. On a persistent self-hosted runner it would uninstall toolchains and prune Docker images other jobs use.
/tmp outlives the job on a self-hosted runner, so digests from earlier builds would end up in the manifest list. runner.temp is emptied after every job.
Pushes, dispatches and same-repo pull requests run on the triton group. Pull requests from forks stay on GitHub-hosted runners since the repo is public. The arm64 Docker builds stay on GitHub-hosted, as there are no arm64 self-hosted runners. The Helm chart, preview and Claude workflows are unchanged.
4 of 6 tasks
nwilkens
approved these changes
Oct 8, 2026
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.
Description
Moves meteroid's CI onto the self-hosted
tritonrunners (grouptriton, labelAPP; three in DA3, three in IAD39, all Ubuntu 24.04, 8 cores, 120 GB+ free disk). These runners keep their state between jobs, so three steps that assumed a throwaway VM are fixed first, each in its own commit.Runner safety
rust-setup: copy the protoc includes instead ofmv, which fails once/usr/local/include/googleexists from an earlier job.rust-setup: on self-hosted,rui314/setup-moldinstalls mold withoutmake-default. Otherwise it links the host's/usr/bin/ldto mold for every later job, including other repos' builds (pkgsrc, rust-bhyve). These CI jobs don't use the.cargo-templates/ci.tomlconfig, so on self-hosted they link with the systemld. That's slower, but the result is the same.ci-rustFree disk space: GitHub-hosted only. On our runners it would uninstall LLVM and the system Chromium and rundocker image prune -a.docker: image digests go underrunner.tempinstead of/tmp/digests./tmpsurvives on a self-hosted runner, andmanifestwould pick up digests from earlier builds.What moves
ci-rust)ubuntu-latestubuntu-latestubuntu-latestubuntu-latestubuntu-24.04-arm(no arm64 self-hosted runners)Stays on GitHub-hosted
preview.meteroid.devand would hold a runner the whole time.ENABLE_NPM_PUBLISH).Notes
dtolnay/rust-toolchainrunsrustup default 1.96.0, which would persist on the host and become rust-bhyve's toolchain. That PR resets the default tostablebefore every job. Apply it before merging this one.ubuntu-latest, as in ci: run on the self-hosted triton runners, except fork PRs聽cloud-image-index#3. Pushes, dispatches and same-repo PRs use triton.tritonrunner group must allow this repo, and public repositories.Testjob's Postgres service binds host port 5432. Nothing listens there on any of the six runners today.rust-setupstill runsapt-get install cmake clang unzip libsasl2-devand installs protoc 21.8 into/usr/local. On these runners that stays installed for later jobs, which is harmless.actions/checkoutrunsgit clean -ffdx, sotarget/doesn't build up in the workspace. Rust caching works as before:Swatinem/rust-cachesaves only frommain.meteroid-oss/meteroid) edits these files too, so expect conflicts on theruns-onlines when syncing.1b-cicd-*/2a-cicd-*runners and that arm64 is still GitHub-hosted.Checklist