Skip to content

Commit 78b3874

Browse files
committed
gc: Update build description and add streams
For the garbage collection run, let's add the dry_run switch to the build_description. Also expand the GC to testing-devel and next-devel for cloud_uploads.
1 parent 81304c0 commit 78b3874

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gc-policy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
testing-devel:
2+
cloud-uploads: 2y
3+
next-devel:
4+
cloud-uploads: 2y
15
branched:
26
cloud-uploads: 1y
37
rawhide:

jobs/garbage-collection.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ properties([
2222
])
2323
])
2424

25-
def build_description = "[${params.STREAM}]"
2625
def cosa_img = 'quay.io/coreos-assembler/coreos-assembler:main'
2726
// def container_env = pipeutils.get_env_vars_for_stream(pipecfg, params.STREAM)
2827
// Let's keep container_env as empty map temporarily to prune on disabled streams
2928
def container_env = [:]
3029
def s3_stream_dir = pipeutils.get_s3_streams_dir(pipecfg, params.STREAM)
3130
def dry_run = params.DRY_RUN ? "--dry-run" : ""
31+
def build_description = "[${params.STREAM}] ${params.DRY_RUN ? '[dry-run]' : ''}"
3232

3333
lock(resource: "gc-${params.STREAM}") {
3434
cosaPod(image: cosa_img, env: container_env,

0 commit comments

Comments
 (0)