ci: switch Go steps to gobuilder, enable S3 build cache #23

Merged
benvin merged 1 commits from benvin/gocache into main 2026-10-02 23:51:57 +10:00
Member

Replaces golang:1.25 and the stale almalinux9-gobuilder pin with
gobuilder:0.1.2-alma9 on every step that runs the Go toolchain, and
wires the baked-in go-cache-plugin to the shared S3 build cache.

  • build/test/release: build+test steps -> gobuilder image + cache env
  • pre-commit: switch pin + cache (hooks run go vet/go test)
  • lint step and rpm/upload/release steps unchanged (no Go toolchain,
    or no cache plugin available on their image)
Replaces golang:1.25 and the stale almalinux9-gobuilder pin with gobuilder:0.1.2-alma9 on every step that runs the Go toolchain, and wires the baked-in go-cache-plugin to the shared S3 build cache. - build/test/release: build+test steps -> gobuilder image + cache env - pre-commit: switch pin + cache (hooks run go vet/go test) - lint step and rpm/upload/release steps unchanged (no Go toolchain, or no cache plugin available on their image)
unkin-agent added 1 commit 2026-10-02 23:41:46 +10:00
ci: switch Go steps to gobuilder, enable S3 build cache
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
0056be8a65
golang:1.25 and the stale almalinux9-gobuilder pin are replaced by
gobuilder:0.1.2-alma9 on every step that invokes the Go toolchain, with
GOCACHEPROG wired to the baked-in go-cache-plugin against the shared
S3 cache bucket.

- build.yaml/test.yaml/release.yaml: build+test steps use gobuilder,
  cache env added
- pre-commit.yaml: switch pin, add cache (hooks run go vet/go test)
- lint step (test.yaml) and rpm/upload/release steps left untouched
benvin merged commit 4f95e2f59c into main 2026-10-02 23:51:57 +10:00
benvin deleted branch benvin/gocache 2026-10-02 23:51:57 +10:00
Sign in to join this conversation.