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
This commit is contained in:
Oliver Smith 2023-04-03 11:03:48 +02:00
parent b126b77e81
commit d9f32325e2
4 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>.

View File

@ -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>