6 Commits

Author SHA1 Message Date
unkin-agent 6fc7bb8521 README: scope the no-floating-tag line to what this repo publishes
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
The previous wording claimed nothing in the estate floats, which the workflows
themselves contradict — they pull the plugin image by a floating tag.
2026-09-28 23:53:22 +10:00
unkin-agent 0ecf51dc26 docker: do not publish a floating :latest
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
A floating tag silently substitutes the image under consumers who did not ask
for a new one — the same hazard already avoided by pinning the pre-commit step.

Alias only :<version> onto the default distro's build.
Drop the :latest references from the README, distro.env and check-distros.
2026-09-28 23:39:37 +10:00
unkin-agent 2c39a17e69 docker: alias the default tags instead of rebuilding them
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
The unsuffixed :<version> and :latest came from a second, independent buildx
step, so they resolved to a different digest than :<version>-<suffix> — nobody
had tested the bits consumers pin. Published v0.1.0 shows it: the amd64 children
share four layers and differ in the top one.

Retag the manifest the matrix step just pushed with imagetools create.
Drop the duplicate build.
2026-09-28 22:42:23 +10:00
unkin-agent 06b159694c Replace pre-commit.sh with the pre-commit framework and drop the test harness
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/pre-commit Pipeline was successful
The hand-rolled pre-commit.sh reimplemented what upstream hooks already do.
Move to pre-commit.com with the estate's usual pre-commit-hooks set plus
hadolint and shellcheck, and keep the one check with no upstream equivalent
(distros/ vs the Woodpecker matrices) as a repo: local hook.

The test harness goes; tests will be reintroduced differently.

- add .pre-commit-config.yaml and ci/check-distros.sh
- delete pre-commit.sh, test.sh and .woodpecker/test.yaml
- run uvx pre-commit run --all-files from .woodpecker/pre-commit.yaml and make pre-commit
- drop the Dockerfile test stage and the make test targets
2026-09-27 20:17:06 +10:00
unkin-agent d2040789e5 Add matrixed gobuilder image build
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
Replace the packer-images gobuilder with a Dockerfile matrix built on each
container-base distro image, on a single repo semver.

- install golang, gcc and nfpm
- bake the sha256-pinned go-cache-plugin v0.1.0 binary onto PATH
- run in-image assertions as a --target test build stage
- add pull_request build/test/pre-commit and tag-triggered docker workflows
2026-09-27 17:55:29 +10:00
gitadmin 321896e1f8 Initial commit 2026-09-27 17:29:59 +10:00