From 3b228cdd0941928e4221f7fd5ea8fcca2ad4fcfd Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 12 Aug 2022 14:30:01 -0400 Subject: [PATCH] jjb: bump base builds to keep to 10 Set the builds to keep to 10 but only keep the latest 2 artifacts. Change-Id: I621d91b2262e7ca05dbd8e95965620bc34affd0b Signed-off-by: Michael Jeanson --- jobs/babeltrace.yaml | 3 ++- jobs/barectf.yaml | 3 ++- jobs/binutils-gdb.yaml | 1 + jobs/librseq.yaml | 3 ++- jobs/liburcu.yaml | 3 ++- jobs/lttng-analyses.yaml | 3 ++- jobs/lttng-ivc.yaml | 3 ++- jobs/lttng-modules.yaml | 3 ++- jobs/lttng-ust-benchmarks.yaml | 3 ++- jobs/lttng-ust-java-tests.yaml | 3 ++- jobs/lttng-ust.yaml | 3 ++- jobs/system-tests.yaml | 1 + 12 files changed, 22 insertions(+), 10 deletions(-) diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index be15883..517889b 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -44,7 +44,8 @@ properties-content: | PROJECT_NAME=babeltrace - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 729ba40..180e6a9 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -38,7 +38,8 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/binutils-gdb.yaml b/jobs/binutils-gdb.yaml index b54e6f7..037ec27 100644 --- a/jobs/binutils-gdb.yaml +++ b/jobs/binutils-gdb.yaml @@ -36,6 +36,7 @@ PROJECT_NAME=gdb - build-discarder: num-to-keep: 10 + artifact-num-to-keep: 2 ## Anchors diff --git a/jobs/librseq.yaml b/jobs/librseq.yaml index 1235351..385b662 100644 --- a/jobs/librseq.yaml +++ b/jobs/librseq.yaml @@ -46,7 +46,8 @@ properties-content: | PROJECT_NAME=librseq - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 8e08915..5259304 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -56,7 +56,8 @@ properties-content: | PROJECT_NAME=liburcu - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml index e06a60c..98ff15e 100644 --- a/jobs/lttng-analyses.yaml +++ b/jobs/lttng-analyses.yaml @@ -38,7 +38,8 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/lttng-ivc.yaml b/jobs/lttng-ivc.yaml index 4f2db2f..0383f07 100644 --- a/jobs/lttng-ivc.yaml +++ b/jobs/lttng-ivc.yaml @@ -28,7 +28,8 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 834989d..39d0340 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -182,7 +182,8 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/lttng-ust-benchmarks.yaml b/jobs/lttng-ust-benchmarks.yaml index 5ea926c..c58dba8 100644 --- a/jobs/lttng-ust-benchmarks.yaml +++ b/jobs/lttng-ust-benchmarks.yaml @@ -34,7 +34,8 @@ properties-content: | PROJECT_NAME=lttng-ust-benchmarks - build-discarder: - num-to-keep: 7 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/lttng-ust-java-tests.yaml b/jobs/lttng-ust-java-tests.yaml index 7f4ca4c..b82cccd 100644 --- a/jobs/lttng-ust-java-tests.yaml +++ b/jobs/lttng-ust-java-tests.yaml @@ -29,7 +29,8 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index ce31121..ec413e1 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -40,7 +40,8 @@ properties-content: | PROJECT_NAME=lttng-ust - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} diff --git a/jobs/system-tests.yaml b/jobs/system-tests.yaml index ee48c82..bb7c6cf 100644 --- a/jobs/system-tests.yaml +++ b/jobs/system-tests.yaml @@ -146,6 +146,7 @@ properties: - build-discarder: num-to-keep: 10 + artifact-num-to-keep: 2 - throttle: max-total: 2 option: 'category' -- 2.34.1