From 2c57e9a2fb048d9f9b6fa1574dbb7ed958273fed Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 3 Apr 2023 11:22:21 +0200 Subject: [PATCH] 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 --- jobs/osmo-gsm-manuals-trigger.yml | 4 ++++ jobs/osmo-gsm-tester-trigger.yml | 4 ++++ jobs/osmocom-api.yml | 4 ++++ jobs/osmocom-build-tags-against-master.yml | 4 ++++ jobs/osmocom-depcheck.yml | 4 ++++ jobs/osmocom-list-commits.yml | 4 ++++ jobs/osmocom-obs-check-builders.yml | 4 ++++ jobs/osmocom-obs-wireshark.yml | 4 ++++ jobs/osmocom-obs.yml | 4 ++++ jobs/osmocom-release-manuals.yml | 4 ++++ jobs/osmocom-release-tarballs.yml | 4 ++++ jobs/registry-rebuild-upload-fpga-build.yml | 4 ++++ jobs/registry-rebuild-upload-titan.yml | 4 ++++ jobs/registry-triggers.yml | 4 ++++ jobs/registry-update-base-images.yml | 4 ++++ jobs/repo-install-test.yml | 4 ++++ 16 files changed, 64 insertions(+) diff --git a/jobs/osmo-gsm-manuals-trigger.yml b/jobs/osmo-gsm-manuals-trigger.yml index 0fca5a70..29882e39 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.

Related: OS#4912 + 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 07edcf4c..216dabc4 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 cb5fecb7..238340c3 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 https://downloads.osmocom.org/api/latest/ + 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 91c3f64b..2e87c69a 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* (OS#3765) + 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 27d2b944..5e20f953 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 0541002f..43ce1713 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. The latest list is here. + 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 f378ec1c..01fdba5a 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 7bf7ccd2..9d4d04e6 100644 --- a/jobs/osmocom-obs-wireshark.yml +++ b/jobs/osmocom-obs-wireshark.yml @@ -11,6 +11,10 @@ description: | See OS#2537 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 25e48c35..b0e0e620 100644 --- a/jobs/osmocom-obs.yml +++ b/jobs/osmocom-obs.yml @@ -24,6 +24,10 @@ description: | See Wiki: binary packages 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 19a87659..06283772 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 (OS#5902). + 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 458cd6da..17b7c586 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 (OS#3870).

Publishes to: https://ftp.osmocom.org/releases + 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 79fb9b26..c4b750ac 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 1ba5a776..84f80761 100644 --- a/jobs/registry-rebuild-upload-titan.yml +++ b/jobs/registry-rebuild-upload-titan.yml @@ -24,6 +24,10 @@ + 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 823062b4..0395976a 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 d8686558..3dec830a 100644 --- a/jobs/registry-update-base-images.yml +++ b/jobs/registry-update-base-images.yml @@ -12,6 +12,10 @@ + 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 8b25ee03..51720919 100644 --- a/jobs/repo-install-test.yml +++ b/jobs/repo-install-test.yml @@ -27,6 +27,10 @@
  • OS#4563: extend for centos
  • OS#5365: run in qemu + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 30 parameters: - string: name: BRANCH_CI