Commit Graph
8 Commits
Author SHA1 Message Date
Logan CusanoandClaude Opus 5.5 6c8289f3f3 Pin node images to the checked-out source tree (node-26#19)
CI / lint (push) Successful in 10s
CI / test-op25 (push) Successful in 16s
CI / test (push) Failing after 49s
CI / lint (pull_request) Successful in 8s
CI / test-op25 (pull_request) Successful in 18s
CI / test (pull_request) Failing after 46s
Nodes checked out v1 code but pulled :latest/:stable images built from main.
Each image is now tagged src-<git tree hash of its build directory>: CI adds
that tag in every build-*.yml, and scripts/image-tags.sh computes the same
value on the node and writes it into .env as DRB_TAG_*, which
docker-compose.yml uses (falls back to :latest/:stable for local dev).
Tree hashes stay exact even though each image only rebuilds when its own
directory changes.

- install.sh pins after checkout and fails loudly if a pinned image is
  missing (compose pull only warns for services with a build: section).
- drb-update.sh pulls the target commit's pinned images BEFORE checkout,
  using the target's own compose file, so a missing image changes nothing
  (uvicorn --reload would otherwise run new code on old images). It then
  checks out, writes the pins, recreates, and removes superseded src- tags.
- New "Release images" workflow (v* tags + manual dispatch) builds any
  src- image a release ref is missing; it skips ones already published.

The live v1 tag is not moved.

Refs #19

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 18:09:29 -04:00
Logan CusanoandClaude Opus 5 9d86304b8a Revert the CI full-fetch workaround and drop unreachable workflows
CI / lint (push) Failing after 17s
CI / test (push) Successful in 49s
Build op25 / build (push) Successful in 1h29m25s
Shallow clones were never a Gitea packing bug. An intruder had set
uploadpack.packObjectsHook in Gitea's HOME gitconfig, pointing at a
non-executable dropper, so every upload-pack died mid-pack. That hook is
gone and --depth=1 clones are verified working, so fetch-depth: 0 buys
nothing but slower CI. See INCIDENT-2026-08-11.md.

op25-container/.gitea/workflows/* never ran: Gitea only executes
workflows under .gitea/workflows at the repo root, and op25-container is
a subdirectory of this repo, not a repo of its own. The live OP25 image
build is .gitea/workflows/build-op25.yml.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 13:00:02 -04:00
Logan CusanoandClaude Opus 5 5ff1089551 Use a full fetch in CI: Gitea fails to pack a shallow clone
CI / test (push) Failing after 30s
CI / lint (push) Failing after 39s
actions/checkout defaults to depth=1, and Gitea aborted generating that pack
with a bad pack header protocol error on every retry, failing the run before
any image was built. Same fix already applied on the server repo; applied here
to all four workflows so the edge-node, op25 and icecast images can build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 10:09:48 -04:00
Logan 7ede156d07 Add run workflow on demand
CI / lint (push) Successful in 4s
CI / test (push) Successful in 18s
2026-04-21 01:08:38 -04:00
Logan 5c3860eb28 Update secret
CI / lint (push) Successful in 5s
CI / test (push) Successful in 18s
2026-04-21 01:04:40 -04:00
Logan c5984f6318 CI Fixes 2
CI / lint (push) Failing after 4s
CI / test (push) Successful in 18s
2026-04-21 00:51:12 -04:00
Logan 2b8578a1c4 CI Fixes
CI / test (push) Failing after 4s
CI / lint (push) Failing after 3s
2026-04-21 00:45:27 -04:00
Logan 01496ea9e7 Bump version, add builds, add setup
CI / lint (push) Failing after 42s
CI / test (push) Failing after 45s
Build edge-node / build (push) Failing after 1m42s
2026-04-20 00:14:50 -04:00