Skip to content

Manage the crossruby host with mitamae#54

Open
hsbt wants to merge 2 commits into
masterfrom
claude/crossruby-host-iac-57f3ba
Open

Manage the crossruby host with mitamae#54
hsbt wants to merge 2 commits into
masterfrom
claude/crossruby-host-iac-57f3ba

Conversation

@hsbt

@hsbt hsbt commented Jul 25, 2026

Copy link
Copy Markdown
Member

The crossruby host was built by hand and only its crontab was under IaC. recipes/crossruby.rb, included when attributes.chkbuild.command is start-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-sdk and /home/chkbuild/opt/android-ndk point at them, so the crontab in hosts.yml never 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

hsbt and others added 2 commits July 25, 2026 08:27
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>
Copilot AI review requested due to automatic review settings July 25, 2026 00:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants