Skip to content

Commit

Permalink
fix(jenkins/release/jenkins): use another ci cache bucket
Browse files Browse the repository at this point in the history
the previous can not be GC well.

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo committed Aug 3, 2024
1 parent 55db20c commit 5af71f0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/prod/jenkins/pre/cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ spec:
- --keep-size-g=1000
envFrom:
- secretRef:
name: ci-pipeline-cache
name: ci-pipeline-cache2
- configMapRef:
name: ci-pipeline-cache
name: ci-pipeline-cache2
resources:
requests:
memory: "128Mi"
Expand Down
11 changes: 11 additions & 0 deletions apps/prod/jenkins/pre/obc/obc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ spec:
maxSize: 2000G
bucketName: ci-pipeline-cache
storageClassName: ceph-bucket
---
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
name: ci-pipeline-cache2
namespace: apps
spec:
additionalConfig:
maxSize: 2000G
bucketName: ci-pipeline-cache2
storageClassName: ceph-bucket
4 changes: 2 additions & 2 deletions apps/prod/jenkins/pre/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ spec:
postBuild:
substituteFrom:
- kind: Secret
name: ci-pipeline-cache
name: ci-pipeline-cache2
- kind: ConfigMap
name: ci-pipeline-cache
name: ci-pipeline-cache2

0 comments on commit 5af71f0

Please sign in to comment.