osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/32189 )


Change subject: jobs: add build-discarder to all
......................................................................

jobs: add build-discarder to all

Adjust all jobs that don't have a build-discarder yet and add it there.

Related: OS#5980
Change-Id: I531ae52ec7337288e3d82151391224f308ab5f9e
---
M jobs/osmo-gsm-manuals-trigger.yml
M jobs/osmo-gsm-tester-trigger.yml
M jobs/osmocom-api.yml
M jobs/osmocom-build-tags-against-master.yml
M jobs/osmocom-depcheck.yml
M jobs/osmocom-list-commits.yml
M jobs/osmocom-obs-check-builders.yml
M jobs/osmocom-obs-wireshark.yml
M jobs/osmocom-obs.yml
M jobs/osmocom-release-manuals.yml
M jobs/osmocom-release-tarballs.yml
M jobs/registry-rebuild-upload-fpga-build.yml
M jobs/registry-rebuild-upload-titan.yml
M jobs/registry-triggers.yml
M jobs/registry-update-base-images.yml
M jobs/repo-install-test.yml
16 files changed, 76 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/89/32189/1

diff --git a/jobs/osmo-gsm-manuals-trigger.yml 
b/jobs/osmo-gsm-manuals-trigger.yml
index 0fca5a7..29882e3 100644
--- a/jobs/osmo-gsm-manuals-trigger.yml
+++ b/jobs/osmo-gsm-manuals-trigger.yml
@@ -15,6 +15,10 @@
       Roll out osmo-gsm-manuals to relevant build environments.<br>
       <br>
       Related: <a href="https://osmocom.org/issues/4912";>OS#4912</a>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     scm:
       - git:
           url: https://gerrit.osmocom.org/osmo-gsm-manuals
diff --git a/jobs/osmo-gsm-tester-trigger.yml b/jobs/osmo-gsm-tester-trigger.yml
index 07edcf4..216dabc 100644
--- a/jobs/osmo-gsm-tester-trigger.yml
+++ b/jobs/osmo-gsm-tester-trigger.yml
@@ -8,6 +8,10 @@
 - job:
     name: 'osmo-gsm-tester_build-trigger-all'
     description: 'Manually kick off all osmo-gsm-tester_build-osmo-* builds at 
once.'
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     project-type: freestyle
     node: osmo-gsm-tester-build
     publishers:
diff --git a/jobs/osmocom-api.yml b/jobs/osmocom-api.yml
index cb5fecb..238340c 100644
--- a/jobs/osmocom-api.yml
+++ b/jobs/osmocom-api.yml
@@ -3,6 +3,10 @@
     description: This job builds the doxygen API documentation for latest 
libosmo*
       and uploads it to <a href="https://downloads.osmocom.org/api/latest/";
       >https://downloads.osmocom.org/api/latest/</a>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     name: Osmocom_API
     node: osmocom-master
     project-type: freestyle
diff --git a/jobs/osmocom-build-tags-against-master.yml 
b/jobs/osmocom-build-tags-against-master.yml
index 91c3f64..2e87c69 100644
--- a/jobs/osmocom-build-tags-against-master.yml
+++ b/jobs/osmocom-build-tags-against-master.yml
@@ -11,6 +11,10 @@
     description: |
         Build old releases of programs/libraries against "master of the day" 
libosmo*
         (<a href="https://osmocom.org/issues/3765";>OS#3765</a>)
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: osmocom-master
     parameters:
       - string:
diff --git a/jobs/osmocom-depcheck.yml b/jobs/osmocom-depcheck.yml
index 27d2b94..5e20f95 100644
--- a/jobs/osmocom-depcheck.yml
+++ b/jobs/osmocom-depcheck.yml
@@ -12,6 +12,10 @@
         Verifies that Osmocom programs really build with the dependency
         versions they claim to support in configure.ac.
         (Generated by job-builder)
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: osmocom-master
     parameters:
       - string:
diff --git a/jobs/osmocom-list-commits.yml b/jobs/osmocom-list-commits.yml
index 0541002..43ce171 100644
--- a/jobs/osmocom-list-commits.yml
+++ b/jobs/osmocom-list-commits.yml
@@ -11,6 +11,10 @@
     description: |
         Generate and upload a list of Osmocom git repositories and their 
latest tag and commits.
         <b>The latest list is <a 
href="https://jenkins.osmocom.org/jenkins/job/Osmocom-list-commits/lastSuccessfulBuild/artifact/commits.txt/*view*/";>here</a>.</b>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: osmocom-master
     parameters:
       - string:
diff --git a/jobs/osmocom-obs-check-builders.yml 
b/jobs/osmocom-obs-check-builders.yml
index f378ec1..01fdba5 100644
--- a/jobs/osmocom-obs-check-builders.yml
+++ b/jobs/osmocom-obs-check-builders.yml
@@ -11,6 +11,10 @@
     description: |
         Verify that the expected amount of builders are connected to
         obs.osmocom.org.
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     builders:
       - shell: |
           scripts/obs/check_builders.sh
diff --git a/jobs/osmocom-obs-wireshark.yml b/jobs/osmocom-obs-wireshark.yml
index 7bf7ccd..9d4d04e 100644
--- a/jobs/osmocom-obs-wireshark.yml
+++ b/jobs/osmocom-obs-wireshark.yml
@@ -11,6 +11,10 @@
     description: |
       See <a href="https://osmocom.org/issues/2537";>OS#2537</a>
       for more information.
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: obs
     parameters:
       - string:
diff --git a/jobs/osmocom-obs.yml b/jobs/osmocom-obs.yml
index 25e48c3..b0e0e62 100644
--- a/jobs/osmocom-obs.yml
+++ b/jobs/osmocom-obs.yml
@@ -24,6 +24,10 @@
     description: |
       See <a 
href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages";>Wiki:
 binary packages</a>
       for more information.
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: obs
     parameters:
       - string:
diff --git a/jobs/osmocom-release-manuals.yml b/jobs/osmocom-release-manuals.yml
index 19a8765..0628377 100644
--- a/jobs/osmocom-release-manuals.yml
+++ b/jobs/osmocom-release-manuals.yml
@@ -11,6 +11,10 @@
     description: |
         Build manuals for all new Osmocom releases
         (<a href="https://osmocom.org/issues/5902";>OS#5902</a>).
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     parameters:
       - string:
           name: BRANCH_CI
diff --git a/jobs/osmocom-release-tarballs.yml 
b/jobs/osmocom-release-tarballs.yml
index 458cd6d..17b7c58 100644
--- a/jobs/osmocom-release-tarballs.yml
+++ b/jobs/osmocom-release-tarballs.yml
@@ -12,6 +12,10 @@
         For each relevant Osmocom repository and its tags, build release 
tarballs (<a href="https://osmocom.org/issues/3870";>OS#3870</a>).
         <br><br>
         Publishes to: <a 
href="https://ftp.osmocom.org/releases/";>https://ftp.osmocom.org/releases</a>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     parameters:
       - string:
           name: BRANCH_DOCKER_PLAYGROUND
diff --git a/jobs/registry-rebuild-upload-fpga-build.yml 
b/jobs/registry-rebuild-upload-fpga-build.yml
index 79fb9b2..c4b750a 100644
--- a/jobs/registry-rebuild-upload-fpga-build.yml
+++ b/jobs/registry-rebuild-upload-fpga-build.yml
@@ -8,6 +8,10 @@
     name: registry-rebuild-upload-fpga-build
     description: |
         Rebuild + push fpga-build docker images in our private 
registry.osmocom.org
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: osmocom-master
     scm:
       - git:
diff --git a/jobs/registry-rebuild-upload-titan.yml 
b/jobs/registry-rebuild-upload-titan.yml
index 1ba5a77..84f8076 100644
--- a/jobs/registry-rebuild-upload-titan.yml
+++ b/jobs/registry-rebuild-upload-titan.yml
@@ -24,6 +24,10 @@
         <ul>
           <li> <a href="https://osmocom.org/issues/5017";>OS#5017</a>
         </ul>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: osmocom-master
     scm:
       - 'osmocom-docker-playground'
diff --git a/jobs/registry-triggers.yml b/jobs/registry-triggers.yml
index 823062b..0395976 100644
--- a/jobs/registry-triggers.yml
+++ b/jobs/registry-triggers.yml
@@ -12,6 +12,10 @@
     name: 'registry-trigger-{repos}'
     description: |
       Update registry.osmocom.org after changes in {repos}.
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     scm:
       - git:
          url: https://gerrit.osmocom.org/{repos}
diff --git a/jobs/registry-update-base-images.yml 
b/jobs/registry-update-base-images.yml
index d868655..3dec830 100644
--- a/jobs/registry-update-base-images.yml
+++ b/jobs/registry-update-base-images.yml
@@ -12,6 +12,10 @@
         <ul>
           <li> <a href="https://osmocom.org/issues/4839";>OS#4839</a>
         </ul>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     node: osmocom-master
     builders:
       - shell: |
diff --git a/jobs/repo-install-test.yml b/jobs/repo-install-test.yml
index 8b25ee0..5172091 100644
--- a/jobs/repo-install-test.yml
+++ b/jobs/repo-install-test.yml
@@ -27,6 +27,10 @@
           <li> <a href="https://osmocom.org/issues/4563";>OS#4563</a>: extend 
for centos
           <li> <a href="https://osmocom.org/issues/5365";>OS#5365</a>: run in 
qemu
         </ul>
+    properties:
+      - build-discarder:
+          days-to-keep: 30
+          num-to-keep: 30
     parameters:
       - string:
           name: BRANCH_CI

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/32189
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I531ae52ec7337288e3d82151391224f308ab5f9e
Gerrit-Change-Number: 32189
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to