ci(release): build and publish the SQLite image variant (#92) #93
No reviewers
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter!93
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/92-sqlite-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
PR #93 makes release CI build a db × platform matrix and publish one manifest per database, and gives the release notes a pull line for both images. Its publish_release test fails on main and passes on the branch (C31). metadata-action run locally gives the agreed tags (C32), and CI, including the new image builds for both variants, is green (C33). mix precommit passes with 1313 tests.
Fixes #92
Red, then green
bash -c 'source ~/.rmenv; eval "$(mise activate bash --shims)"; env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_92 mix test test/release/publish_release_test.exs'e350dc2): exit 15fc4c41): exit 0Checks
/home/peak/work/lamplighter-v1-4/checks/meta92.sh /home/peak/work/lamplighter-v1-4/wt-92, exit 05fc4c41is green: tests on Postgres and SQLite, plus the new image jobs that docker-build both variants (LAMPLIGHTER_DB=postgres and sqlite) without pushing. (Upper Wolfjaw):curl -sS -H "Authorization: token $FORGEJO_TOKEN" https://git.knope.dev/api/v1/repos/jfro/lamplighter/commits/5fc4c41/status | jq -e '.state=="success" and ([.statuses[].context]|map(select(test("image \\((postgres|sqlite)\\)")))|length==2)', exit 0bash -c 'source ~/.rmenv; eval "$(mise activate bash --shims)"; cd /home/peak/work/lamplighter-v1-4/wt-92 && env -u FORGEJO_TOKEN MIX_TEST_PARTITION=_92 mix test test/release/publish_release_test.exs', exit 0Shipping it
latesttoday, the plainsqlitetag also moves on pre-release tags (for example v2026.12.2-rc.1), because raw tags don't skip pre-releases. The first release builds SQLite without a cache, so it will be slower.Prover
Passed (Sonnet): I read the diff (matrix, per-db cache and digest scoping, tags, Dockerfile arg) and re-ran the release tests; it changes only workflows and docs, so it goes live nowhere. Untested: a real v* tag run (arm64 SQLite build, push, manifests).
Every command above was run by Fortysix's Basecamp itself, on the branch named.