Revert "jobs: tweak build-discarder values"

This reverts commit 719ff97608.

The disk consumption of jenkins has grown by almost 500GB
since we merged this patch.  Clearly this is not expected, and we'd
have ran out of disk space in a few weeks.

I personally think the current allocation of 1.5TB of disk space to
jenkins should be more than sufficient; we just need to manage it
better.

Closes: OS#5980
Change-Id: I6b744a8b84a3e1255a8d51f73d1721ccfd028ac1
This commit is contained in:
Harald Welte 2023-03-28 13:32:23 +02:00
parent 703be698bf
commit a052c13c12
14 changed files with 40 additions and 1 deletions

View File

@ -22,6 +22,7 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 30
parameters: parameters:
- string: - string:
name: BRANCH name: BRANCH

View File

@ -19,6 +19,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
{type} package job of CI for patches sent to {type} package job of CI for patches sent to
<a href="https://gerrit.osmocom.org">gerrit</a> <a href="https://gerrit.osmocom.org">gerrit</a>

View File

@ -16,6 +16,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Lint job of CI for patches sent to <a href="https://gerrit.osmocom.org">gerrit</a>. Lint job of CI for patches sent to <a href="https://gerrit.osmocom.org">gerrit</a>.
</br></br> </br></br>

View File

@ -15,6 +15,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Run <code>struct_endianness.py</code> from libosmocore.git on patches Run <code>struct_endianness.py</code> from libosmocore.git on patches
sent to <a href="https://gerrit.osmocom.org">gerrit</a>. sent to <a href="https://gerrit.osmocom.org">gerrit</a>.

View File

@ -15,6 +15,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Send start and result comments to <a href="https://gerrit.osmocom.org">gerrit</a>. Send start and result comments to <a href="https://gerrit.osmocom.org">gerrit</a>.
</br></br> </br></br>

View File

@ -16,6 +16,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Pending gerrit code reviews of Pending gerrit code reviews of
<a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a> <a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a>

View File

@ -627,6 +627,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Pipeline of CI for patches sent to Pipeline of CI for patches sent to
<a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a> <a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a>
@ -677,6 +680,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Build job of CI for patches sent to Build job of CI for patches sent to
<a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a> <a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a>

View File

@ -16,6 +16,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Automatic jenkins test job of Automatic jenkins test job of
<a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a> <a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a>

View File

@ -517,6 +517,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: | description: |
Automatic jenkins test job of Automatic jenkins test job of
<a href="{git_base_url}/{repos}">{repos}</a> <a href="{git_base_url}/{repos}">{repos}</a>

View File

@ -35,7 +35,10 @@
queue-scanning: DISABLED queue-scanning: DISABLED
use-build-blocker: false use-build-blocker: false
- build-discarder: - build-discarder:
artifact-days-to-keep: -1
artifact-num-to-keep: -1
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
- rebuild: - rebuild:
auto-rebuild: false auto-rebuild: false
rebuild-disabled: false rebuild-disabled: false

View File

@ -116,6 +116,9 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
wrappers: wrappers:
- ansicolor: - ansicolor:
colormap: xterm colormap: xterm

View File

@ -384,7 +384,10 @@
only-if-success: false only-if-success: false
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 120 days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
wrappers: wrappers:
- ansicolor: - ansicolor:
colormap: xterm colormap: xterm

View File

@ -18,6 +18,7 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
scm: scm:
- git: - git:
url: https://gerrit.osmocom.org/osmo-ci url: https://gerrit.osmocom.org/osmo-ci

View File

@ -15,6 +15,7 @@
properties: properties:
- build-discarder: - build-discarder:
days-to-keep: 30 days-to-keep: 30
num-to-keep: 120
scm: scm:
- git: - git:
url: https://gerrit.osmocom.org/python/osmo-python-tests url: https://gerrit.osmocom.org/python/osmo-python-tests