Skip to content

fix(gha-runners): install gh CLI and Rust toolchain in docker image#66

Merged
wavekat-eason merged 2 commits into
mainfrom
fix/gha-runner-docker-gh-cli
May 19, 2026
Merged

fix(gha-runners): install gh CLI and Rust toolchain in docker image#66
wavekat-eason merged 2 commits into
mainfrom
fix/gha-runner-docker-gh-cli

Conversation

@wavekat-eason
Copy link
Copy Markdown
Contributor

Summary

  • Adds gh CLI (via official cli.github.com apt repo) to the dockerized self-hosted runner image — release-plz/git-config shells out to gh api graphql and was exit-127'ing.
  • Adds the stable Rust toolchain via rustup under /usr/local — release-plz also needs cargo, which was likewise missing.

Context

Failure observed on https://github.com/wavekat/wavekat-platform-client/actions/runs/26085121264 — first gh: command not found, then cargo: command not found after the gh fix.

Test plan

  • On aoc-m3l: pull this branch, run ./scripts/setup-gha-runners-docker.sh (idempotent — tears down old containers/volumes and rebuilds image)
  • docker exec gha-runner-1 gh --version
  • docker exec gha-runner-1 cargo --version
  • Re-run the failing release-plz job and confirm it gets past the git-config step

🤖 Generated with Claude Code

wavekat-eason and others added 2 commits May 19, 2026 20:22
release-plz/git-config shells out to `gh api graphql` to derive the
commit identity; the container lacked gh and the job exit-127'd.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
release-plz and other Rust-based workflows shell out to `cargo`;
the container lacked the Rust toolchain and the job exit-127'd.
Installed via rustup under /usr/local so both root and the runner
user have it on PATH.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@wavekat-eason wavekat-eason merged commit 9b167e7 into main May 19, 2026
2 checks passed
@wavekat-eason wavekat-eason deleted the fix/gha-runner-docker-gh-cli branch May 19, 2026 09:13
@github-actions
Copy link
Copy Markdown
Contributor

wavekat-eason pushed a commit that referenced this pull request May 19, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.0.23](wavekat-com-v0.0.22...wavekat-com-v0.0.23)
(2026-05-19)


### Features

* **gha-runners:** dockerized self-hosted runner setup
([#65](#65))
([120fd7e](120fd7e))
* self-hosted GHA runners on aoc-m3l + role-label workflow routing
([#64](#64))
([d2d8415](d2d8415))


### Bug Fixes

* **gha-runners:** install gh CLI and Rust toolchain in docker image
([#66](#66))
([9b167e7](9b167e7))
* **star-tracker:** de-inflate chart-view counts + per-repo breakdown
([#62](#62))
([954f9d4](954f9d4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant