Bump restic to 0.19.1 and rest-server to 0.14.0, with a real backup round-trip test #2

Manually merged
Code-Liberation-Front merged 2 commits from zbuddy/bump-restic into main 2026-11-13 15:57:14 -05:00 AGit
Owner

Stacked on #1: until that merges, this also shows its two commits. Adds make roundtrip (a real backup and restore against the image, run in CI and the release gate), then bumps both binaries. Trivy HIGH/CRITICAL: restic 56 to 23, rest-server 40 to 38 (0.14.0 is its latest release).

Stacked on #1: until that merges, this also shows its two commits. Adds make roundtrip (a real backup and restore against the image, run in CI and the release gate), then bumps both binaries. Trivy HIGH/CRITICAL: restic 56 to 23, rest-server 40 to 38 (0.14.0 is its latest release).
Same license as Jumpdeck. The image label refers to it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019agRhNZsxRG4NUMR1zDUr9
Move CI and image publishing from GitHub to Forgejo
Some checks failed
ci / actionlint (push) Successful in 11s
ci / actionlint (pull_request) Successful in 8s
ci / unit + API tests (pull_request) Successful in 29s
ci / image build + smoke + Trivy + multi-arch build (pull_request) Successful in 3m16s
ci / unit + API tests (push) Has been cancelled
ci / image build + smoke + Trivy + multi-arch build (push) Has been cancelled
28b3ffdaae
The workflows used GitHub's hosted runner, marketplace actions and ghcr.io,
so none of them ran here. They now follow Jumpdeck's: the `docker` runner
label, a plain-git checkout, and every job a make target.

- ci.yml: tests, image build, smoke test, Trivy, multi-arch build, actionlint
- release.yml: on a v* tag, the same gate, then the amd64 + arm64 image
  pushed to this instance's registry as :<tag> and :latest with SBOM and
  provenance, and a Forgejo release from the annotated tag's message
- Makefile, scripts/tools.sh (pinned buildx and actionlint),
  scripts/docker-smoke.sh
- the image reports the release tag as its version (ARG VERSION), not a
  constant in config.py
- image references and project links point at git.pandanas.net
- pytest finds the package when run as `pytest` (pythonpath), which the
  README's command and CI both do

The Trivy gate covers the Debian packages and the Python dependencies. The
bundled restic 0.17.3 and rest-server 0.13.0 binaries have HIGH/CRITICAL
findings that only a newer upstream release fixes; they are reported in the
job log without failing it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019agRhNZsxRG4NUMR1zDUr9
The unit tests never run restic. `make roundtrip` starts one container as
its own buddy and, through the web API, creates a buddy account,
initializes the repository, backs up twice with retention, lists and
browses snapshots, restores (a whole snapshot and one file from the older
one), checks the repository, and checks that the buddy's storage holds no
plaintext. CI and the release gate run it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019agRhNZsxRG4NUMR1zDUr9
Bump restic to 0.19.1 and rest-server to 0.14.0
Some checks failed
ci / actionlint (push) Successful in 9s
ci / actionlint (pull_request) Successful in 10s
ci / unit + API tests (pull_request) Successful in 27s
ci / image build + smoke + round trip + Trivy + multi-arch build (pull_request) Successful in 3m15s
ci / unit + API tests (push) Successful in 27s
release / unit + API tests (push) Successful in 24s
release / image + release (push) Failing after 1m20s
ci / image build + smoke + round trip + Trivy + multi-arch build (push) Successful in 2m39s
cab57114ee
Both are the latest upstream releases. The round trip passes on the old
and the new pair.

Trivy, HIGH/CRITICAL with a fix available:
  restic       56 -> 23 (2 critical -> 0)
  rest-server  40 -> 38 (1 critical stays)

rest-server 0.14.0 dates from May 2025 and is built with Go 1.24.3; there
is no newer release, so most of its findings remain.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019agRhNZsxRG4NUMR1zDUr9
Sign in to join this conversation.
No reviewers
No labels
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
Code-Liberation-Front/Meerkat!2
No description provided.