osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/32188 )
Change subject: jobs/gerrit: increase num-to-keep to 1000 ......................................................................
jobs/gerrit: increase num-to-keep to 1000
Increase the logs to keep for gerrit related builds, as they may exceed the previous limit of 120 within a day. All these jobs don't save build artifacts, so they should not cause a noticable size increase.
This is a much more careful version of 719ff976 ("jobs: tweak build-discarder values"), which had been reverted in a052c13c. The big problem with the previous patch was that it increased the number of jobs to keep even for jobs that had build artifacts, and so the required storage exploded.
Related: OS#5980 Change-Id: I1a4604d7a5093349aee0122e74914b06045c78b8 --- M jobs/gerrit-binpkgs.yml M jobs/gerrit-lint.yml M jobs/gerrit-pipeline-endianness.yml M jobs/gerrit-verifications.yml 4 files changed, 25 insertions(+), 5 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved
diff --git a/jobs/gerrit-binpkgs.yml b/jobs/gerrit-binpkgs.yml index 0e77920..7a4e9e9 100644 --- a/jobs/gerrit-binpkgs.yml +++ b/jobs/gerrit-binpkgs.yml @@ -19,7 +19,7 @@ properties: - build-discarder: days-to-keep: 30 - num-to-keep: 120 + num-to-keep: 1000 description: | {type} package job of CI for patches sent to <a href="https://gerrit.osmocom.org">gerrit</a> diff --git a/jobs/gerrit-lint.yml b/jobs/gerrit-lint.yml index bf24cb7..16377cd 100644 --- a/jobs/gerrit-lint.yml +++ b/jobs/gerrit-lint.yml @@ -16,7 +16,7 @@ properties: - build-discarder: days-to-keep: 30 - num-to-keep: 120 + num-to-keep: 1000 description: | Lint job of CI for patches sent to <a href="https://gerrit.osmocom.org">gerrit</a>. </br></br> diff --git a/jobs/gerrit-pipeline-endianness.yml b/jobs/gerrit-pipeline-endianness.yml index 1fd8b6c..19b9d61 100644 --- a/jobs/gerrit-pipeline-endianness.yml +++ b/jobs/gerrit-pipeline-endianness.yml @@ -15,7 +15,7 @@ properties: - build-discarder: days-to-keep: 30 - num-to-keep: 120 + num-to-keep: 1000 description: | Run <code>struct_endianness.py</code> from libosmocore.git on patches sent to <a href="https://gerrit.osmocom.org">gerrit</a>. diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml index 3745345..f32a07c 100644 --- a/jobs/gerrit-verifications.yml +++ b/jobs/gerrit-verifications.yml @@ -627,7 +627,7 @@ properties: - build-discarder: days-to-keep: 30 - num-to-keep: 120 + num-to-keep: 1000 description: | Pipeline of CI for patches sent to <a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a> @@ -678,7 +678,7 @@ properties: - build-discarder: days-to-keep: 30 - num-to-keep: 120 + num-to-keep: 1000 description: | Build job of CI for patches sent to <a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a>