ci: move Go steps to gobuilder, enable S3 build cache #11

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

Go CI steps lacked TLS trust for the estate S3 cache endpoint and
rebuilt the module cache from scratch every run.

  • pre-commit.yaml, test.yaml: golang:1.25 -> gobuilder:0.1.2-alma9
  • add GOCACHE_/AWS_ env wiring the shared S3-backed GOCACHEPROG
  • cache-dir set absolute to avoid relative-path vet failures
  • add k8s resources + serviceAccountName per Woodpecker convention
  • docker-build/release steps untouched (compile inside Dockerfile)
Go CI steps lacked TLS trust for the estate S3 cache endpoint and rebuilt the module cache from scratch every run. - pre-commit.yaml, test.yaml: golang:1.25 -> gobuilder:0.1.2-alma9 - add GOCACHE_*/AWS_* env wiring the shared S3-backed GOCACHEPROG - cache-dir set absolute to avoid relative-path vet failures - add k8s resources + serviceAccountName per Woodpecker convention - docker-build/release steps untouched (compile inside Dockerfile)
unkin-agent added 1 commit 2026-10-02 23:45:56 +10:00
ci: move 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
9b3ce84250
Switches pre-commit and test to the estate gobuilder image for TLS
trust to s3.ceph.unkin.net and a prebuilt go-cache-plugin, then wires
the shared S3-backed GOCACHEPROG.

- pre-commit.yaml, test.yaml: golang:1.25 -> gobuilder:0.1.2-alma9
- add GOCACHE_* / AWS_* env (org secrets) with absolute cache-dir
- set kubernetes resources + default serviceAccountName per step
- docker-build/release steps unchanged (compile inside Dockerfile)
benvin merged commit b377120662 into main 2026-10-02 23:51:38 +10:00
benvin deleted branch benvin/gocache 2026-10-02 23:51:39 +10:00
Sign in to join this conversation.