Recipe: support digest pinning at upgrade-time #916

Open
sixsmith wants to merge 9 commits from sixsmith/abra:main into main
Member

This change adds a --pindigests flag to abra recipe upgrade. The recipe maintainer still chooses a tagged container version that is semver-like, but abra will write the tag+multiplatform digest to compose.yml.

TODO

  • add unit tests
This change adds a `--pindigests` flag to `abra recipe upgrade`. The recipe maintainer still chooses a tagged container version that is semver-like, but abra will write the tag+multiplatform digest to `compose.yml`. TODO - [ ] add unit tests
Author
Member

Fixes #892

Fixes #892
sixsmith added 5 commits 2026-09-10 04:14:19 +00:00
* also run `go mod vendor`
* handle digests for the recipe subcommand
* add make parameter to pass args
sixsmith force-pushed main from 1f8b51ab40 to 0f7d991709 2026-09-10 04:14:19 +00:00 Compare
sixsmith marked the pull request as ready for review 2026-09-10 04:16:27 +00:00
Owner

Just to get it into the issue also:

thanks! flying by review: can you add some integration tests also? i see you covered the upgrade path, but not the standard deploy and also rollback/downgrade? those should all have a working integration test imho

Just to get it into the issue also: > thanks! flying by review: can you add some integration tests also? i see you covered the upgrade path, but not the standard deploy and also rollback/downgrade? those should all have a working integration test imho
sixsmith added 1 commit 2026-10-10 01:52:02 +00:00
- formatter.RemoveSha
- make pindigests TRUE by default
- more strict matching of digests
- unit and integration tests
sixsmith added 1 commit 2026-10-10 01:56:13 +00:00
sixsmith added 1 commit 2026-10-10 01:59:09 +00:00
sixsmith added 1 commit 2026-10-10 05:23:58 +00:00
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://git.coopcloud.tech/sixsmith/abra main:sixsmith-main
git checkout sixsmith-main
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#916