Skip to content

Run CI on jiji and let jiji pin the image - #35

Merged
cbetta merged 3 commits into
masterfrom
ci-rest-on-jiji
Oct 19, 2026
Merged

cbetta merged 3 commits into
masterfrom
ci-rest-on-jiji

Conversation

@cbetta

@cbetta cbetta commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Everything now runs on jiji-ci, because hosted jobs stopped starting ("recent account payments have failed"), and nothing here can push to cbetta/jiji any more.

  • ci-complete and merge move from ubuntu-latest to [self-hosted, jiji-ci].
  • The pin job is gone. Publish labels the image with its tag, and jiji's own pin timer (pin-run.sh, every minute) pins it with a key that never leaves jiji:
labels: |
  org.opencontainers.image.source=…
  io.betta.jiji.tag=${{ steps.meta.outputs.tag }}   # pin.sh pins :main's digest as this tag

After merge, the jiji-deploy environment, its JIJI_DEPLOY_KEY and the matching deploy key on cbetta/jiji can go.

🤖 Generated with Claude Code

cbetta and others added 2 commits October 19, 2026 14:29
GitHub-hosted jobs no longer start (Actions billing), so ci-complete and merge move to jiji-ci with the rest of CI. The publish workflow's pin job stays hosted: it holds jiji's deploy key, which shouldn't reach the ci user.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pin job pushed to cbetta/jiji with a write deploy key, and hosted
runners are out. jiji's own pin.yml now pins the image from ghcr
(the moving tag and the io.betta.jiji.tag label added here), so
nothing in this repo holds a key to jiji.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cbetta cbetta changed the title Run the remaining hosted jobs on jiji Run CI on jiji and let jiji pin the image Oct 19, 2026
jiji pins from a 1-minute systemd timer now, not pin.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cbetta
cbetta marked this pull request as ready for review October 19, 2026 17:55
Copilot AI balanced review requested due to automatic review settings October 19, 2026 17:55
@cbetta
cbetta merged commit 337108b into master Oct 19, 2026
4 checks passed

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.

🟡 Changes recommended

App credentials need runner isolation, and timer-driven publishing needs a master-only guard.

2 open issues
What changed in this PR

Moves remaining CI jobs to jiji’s self-hosted runners and delegates image pinning to jiji’s timer.

Changes:

  • Moves ci-complete and merge to jiji-ci.
  • Removes the deployment-key-based pin job.
  • Adds an image tag label for timer-driven pinning.
File Description
.github/​workflows/​publish.yml Replaces direct pinning with image metadata for jiji’s timer.
.github/​workflows/​ci.yml Moves completion and merge jobs to self-hosted runners.

Review effort: Balanced

Comment thread .github/workflows/ci.yml
(startsWith(github.head_ref, 'deps-factory/') ||
github.event.pull_request.user.login == 'dependabot[bot]')
runs-on: ubuntu-latest
runs-on: [self-hosted, jiji-ci]
exit 1
labels: |
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
io.betta.jiji.tag=${{ steps.meta.outputs.tag }}
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