Manage the crossruby host with mitamae#54
Open
hsbt wants to merge 2 commits into
Open
Conversation
The crossruby host was built by hand; only the crontab was under IaC. Install the cross gcc packages, emscripten, the WASI SDK and the android NDK from recipes/crossruby.rb, included when the host runs start-cross-rubyci. Verified as a no-op against the current host with mitamae --dry-run. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Resolve both versions from the GitHub releases API at apply time and point the version-independent opt/wasi-sdk and opt/android-ndk symlinks at them, so the crontab no longer names a version and bumps need no crontab update. Superseded versions are removed, except directories the installed crontab still references, which keeps a credential-less apply from breaking the running builds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
The crossruby host was built by hand and only its crontab was under IaC.
recipes/crossruby.rb, included whenattributes.chkbuild.commandisstart-cross-rubyci, now installs the cross gcc packages, emscripten, the WASI SDK and the Android NDK.The WASI SDK and NDK versions are resolved to the latest stable GitHub release at every apply, and the version-independent symlinks
/home/chkbuild/opt/wasi-sdkand/home/chkbuild/opt/android-ndkpoint at them, so the crontab inhosts.ymlnever names a version. Superseded versions are removed, except directories the installed crontab still references, which keeps a credential-less apply from breaking running builds.I verified the recipe on the host with
mitamae local. The first run installed wasi-sdk 33.0 and NDK r29 and removed the old leftovers. A second run is a no-op.Generated with Claude Code