ci: build, push & deploy to Media and citadel #1

Merged
james merged 2 commits from ci/forgejo-deploy-media-citadel into main 2026-07-23 19:54:04 +00:00
Owner

Reworks CI to mirror the wedding_timeline pipeline.

Flow (push to main)

  1. test — Ruby 3.4 + rspec (unchanged); gates the rest.
  2. build-and-push — versions from the VERSION constant + run number, builds/pushes ruby-code.com/james/baktainer:{latest,<version>} with registry buildcache, then creates and pushes a v<version> git tag.
  3. deploy — Sencho stack update fanned out over a matrix to Media and citadel (fail-fast: false).

Required config

  • Secrets: REGISTRY_TOKEN, SENCHO_KEY
  • Variables (optional): SENCHO_URL (defaults to https://sencho.paterni.org)

🤖 Generated with Claude Code

Reworks CI to mirror the wedding_timeline pipeline. ## Flow (`push` to `main`) 1. **test** — Ruby 3.4 + rspec (unchanged); gates the rest. 2. **build-and-push** — versions from the `VERSION` constant + run number, builds/pushes `ruby-code.com/james/baktainer:{latest,<version>}` with registry buildcache, then creates and pushes a `v<version>` git tag. 3. **deploy** — Sencho stack update fanned out over a matrix to **Media** and **citadel** (`fail-fast: false`). ## Required config - Secrets: `REGISTRY_TOKEN`, `SENCHO_KEY` - Variables (optional): `SENCHO_URL` (defaults to `https://sencho.paterni.org`) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Model the pipeline on wedding_timeline: push to main runs tests, then
builds/pushes the image to ruby-code.com/james/baktainer (versioned from
the VERSION constant + run number, with registry buildcache), creates and
pushes a git tag, and rolls the running stack via the Sencho API.

Deploy fans out over a matrix to both the Media and citadel nodes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
james merged commit f3994d35ba into main 2026-07-23 19:54:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
james/baktainer!1
No description provided.