ci: move Go steps to gobuilder with shared S3 build cache #4

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

Why: golang:1.25 lacked estate CA trust and a build cache, so every
pre-commit/test run paid full compile cost and risked TLS failures
against internal endpoints.

  • switch pre-commit and test steps to the gobuilder image
  • wire GOCACHEPROG to go-cache-plugin against the shared S3 cache
  • add backend_options resources and serviceAccountName to both steps
  • leave buildx image-build steps untouched (compile happens in Dockerfile)
Why: golang:1.25 lacked estate CA trust and a build cache, so every pre-commit/test run paid full compile cost and risked TLS failures against internal endpoints. - switch pre-commit and test steps to the gobuilder image - wire GOCACHEPROG to go-cache-plugin against the shared S3 cache - add backend_options resources and serviceAccountName to both steps - leave buildx image-build steps untouched (compile happens in Dockerfile)
unkin-agent added 1 commit 2026-10-02 23:48:31 +10:00
ci: move Go steps to gobuilder with shared S3 build cache
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
e24b4d1667
golang:1.25 lacked the estate CA trust and a build cache, paying full
compile cost every run and risking TLS failures against internal
endpoints.

- switch pre-commit and test steps to the gobuilder image
- wire GOCACHEPROG to go-cache-plugin against the shared S3 cache
- add backend_options resources and serviceAccountName to both steps
benvin merged commit 7de9508764 into main 2026-10-02 23:56:03 +10:00
benvin deleted branch benvin/gocache 2026-10-02 23:56:03 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/forgebot#4