- Create 20Gi sccache-pvc (scw-bssd) for fast local cache hits - Mount at /mnt/sccache in CI build pods via runner helm values - Use SCCACHE_DIR instead of SCCACHE_BUCKET for check/test jobs - Kaniko builds keep S3 sccache (can't mount PVCs in Kaniko) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
332 B
YAML
17 lines
332 B
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: sccache-pvc
|
|
namespace: foxhunt
|
|
labels:
|
|
app.kubernetes.io/name: sccache
|
|
app.kubernetes.io/part-of: foxhunt
|
|
app.kubernetes.io/component: ci
|
|
spec:
|
|
storageClassName: scw-bssd
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 20Gi
|