Add Ceph RGW bucket for the shared Go build cache #489

Merged
benvin merged 1 commits from benvin/gocache-bucket into main 2026-09-26 20:56:53 +10:00
Member

Go builds on CI and laptops each rebuild the same packages from scratch. A
GOCACHEPROG backend needs an S3 bucket plus credentials before anything can
point at it, so provision those first. The bucket lives in the woodpecker
namespace because CI is the primary consumer and reads the Secret there.

  • add Bucket and ObjectStoreUser for the shared Go build cache
  • use default (replicated) placement rather than the ec target, since a build
    cache is millions of small objects
  • purge and drop the bucket and user on delete; the cache is disposable

Nothing consumes the bucket yet.

Go builds on CI and laptops each rebuild the same packages from scratch. A GOCACHEPROG backend needs an S3 bucket plus credentials before anything can point at it, so provision those first. The bucket lives in the woodpecker namespace because CI is the primary consumer and reads the Secret there. - add Bucket and ObjectStoreUser for the shared Go build cache - use default (replicated) placement rather than the ec target, since a build cache is millions of small objects - purge and drop the bucket and user on delete; the cache is disposable Nothing consumes the bucket yet.
unkin-agent added 1 commit 2026-09-26 18:58:53 +10:00
add gocache S3 bucket for the shared Go build cache
ci/woodpecker/pr/vector-test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
73ee6683d4
Author
Member

nit: apps/base/woodpecker/gocache_bucket.yaml:9,29 — retainOnDelete: false set explicitly on both ObjectStoreUser and Bucket; it is the zero-value default and no sibling file in apps/base writes it when false (only when true) -> drop both lines.

nit: apps/base/woodpecker/gocache_bucket.yaml:9,29 — `retainOnDelete: false` set explicitly on both ObjectStoreUser and Bucket; it is the zero-value default and no sibling file in apps/base writes it when false (only when true) -> drop both lines.
benvin merged commit 5341253573 into main 2026-09-26 20:56:53 +10:00
benvin deleted branch benvin/gocache-bucket 2026-09-26 20:56:54 +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/argocd-apps#489