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

Merged
benvin merged 1 commits from benvin/gocache into main 2026-10-03 00:10:22 +10:00
Member

Build/test steps ran on stale golang:1.25 / old almalinux9-gobuilder pin
with no shared compiler cache, so every CI run recompiled from scratch.

  • build, pre-commit, test steps: image -> gobuilder:0.1.2-alma9
  • wire GOCACHEPROG to go-cache-plugin against the shared S3 cache bucket
  • add GOCACHE_* env (abs cache-dir, metrics on) + AWS creds from org secrets
  • leave lint (golangci-lint image lacks the binary) and docker buildx steps untouched
Build/test steps ran on stale golang:1.25 / old almalinux9-gobuilder pin with no shared compiler cache, so every CI run recompiled from scratch. - build, pre-commit, test steps: image -> gobuilder:0.1.2-alma9 - wire GOCACHEPROG to go-cache-plugin against the shared S3 cache bucket - add GOCACHE_* env (abs cache-dir, metrics on) + AWS creds from org secrets - leave lint (golangci-lint image lacks the binary) and docker buildx steps untouched
unkin-agent added 1 commit 2026-10-02 23:50:17 +10:00
ci: switch Go steps to gobuilder, enable S3 build cache
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
9aac54a4d6
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, pre-commit, test: image -> gobuilder:0.1.2-alma9
- add GOCACHE_* env + AWS creds from org secrets, absolute cache-dir
- lint step (golangci-lint, no gobuilder binary) and docker buildx left untouched
benvin merged commit 7e2d5f7115 into main 2026-10-03 00:10:22 +10:00
benvin deleted branch benvin/gocache 2026-10-03 00:10:23 +10:00
Sign in to join this conversation.