Add managed jobs to periodic-weekly
To avoid getting zuul-jobs getting rotten without known, we need to run them weekly. This should solve issue where some less common job get broken and we find out much later, when we have to make other unrelated changes. Change-Id: I3a95526fdb83b8aef12ee2ee09a089990e75cb59 Depends-On: https://review.opendev.org/#/c/748706
This commit is contained in:
parent
c5c9f7d862
commit
0d886253f6
@ -132,6 +132,15 @@ def handle_file(fn):
|
|||||||
# (i.e. check is the same as gate); this gives nicer YAML output
|
# (i.e. check is the same as gate); this gives nicer YAML output
|
||||||
# using dictionary anchors
|
# using dictionary anchors
|
||||||
project['gate']['jobs'] = joblist_gate if has_non_voting else joblist_check
|
project['gate']['jobs'] = joblist_gate if has_non_voting else joblist_check
|
||||||
|
# gate jobs should also be in periodic in order to assure they do not rot
|
||||||
|
periodic_pipeline = 'periodic-weekly'
|
||||||
|
if periodic_pipeline not in project:
|
||||||
|
project[periodic_pipeline] = {}
|
||||||
|
if 'jobs' not in project[periodic_pipeline]:
|
||||||
|
project[periodic_pipeline]['jobs'] = []
|
||||||
|
project[periodic_pipeline]['jobs'] = joblist_gate \
|
||||||
|
if has_non_voting else joblist_check
|
||||||
|
|
||||||
with open(fn, 'w') as f:
|
with open(fn, 'w') as f:
|
||||||
yaml.dump(outdata, stream=f)
|
yaml.dump(outdata, stream=f)
|
||||||
|
|
||||||
|
@ -14,3 +14,5 @@
|
|||||||
- zuul-jobs-test-ansible-lint-rules
|
- zuul-jobs-test-ansible-lint-rules
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -16,3 +16,5 @@
|
|||||||
- zuul-jobs-test-ensure-bazel
|
- zuul-jobs-test-ensure-bazel
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -18,3 +18,5 @@
|
|||||||
- zuul-jobs-test-ensure-devstack
|
- zuul-jobs-test-ensure-devstack
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -416,3 +416,5 @@
|
|||||||
- zuul-jobs-test-ensure-podman-ubuntu-bionic
|
- zuul-jobs-test-ensure-podman-ubuntu-bionic
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -15,3 +15,5 @@
|
|||||||
- zuul-jobs-test-dhall-diff
|
- zuul-jobs-test-dhall-diff
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -680,7 +680,7 @@
|
|||||||
- zuul-jobs-test-upload-git-mirror
|
- zuul-jobs-test-upload-git-mirror
|
||||||
- zuul-jobs-test-shake-build
|
- zuul-jobs-test-shake-build
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs: &id001
|
||||||
- zuul-jobs-test-add-authorized-keys
|
- zuul-jobs-test-add-authorized-keys
|
||||||
- zuul-jobs-test-add-gpgkey
|
- zuul-jobs-test-add-gpgkey
|
||||||
- zuul-jobs-test-add-sshkey
|
- zuul-jobs-test-add-sshkey
|
||||||
@ -718,3 +718,5 @@
|
|||||||
- zuul-jobs-test-upload-artifactory
|
- zuul-jobs-test-upload-artifactory
|
||||||
- zuul-jobs-test-upload-git-mirror
|
- zuul-jobs-test-upload-git-mirror
|
||||||
- zuul-jobs-test-shake-build
|
- zuul-jobs-test-shake-build
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -131,7 +131,7 @@
|
|||||||
- zuul-jobs-test-golang-go-ubuntu-xenial
|
- zuul-jobs-test-golang-go-ubuntu-xenial
|
||||||
- zuul-jobs-test-golang-go-ubuntu-focal
|
- zuul-jobs-test-golang-go-ubuntu-focal
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs: &id001
|
||||||
- zuul-jobs-test-golang-go-centos-7
|
- zuul-jobs-test-golang-go-centos-7
|
||||||
- zuul-jobs-test-golang-go-centos-8
|
- zuul-jobs-test-golang-go-centos-8
|
||||||
- zuul-jobs-test-golang-go-debian-stretch
|
- zuul-jobs-test-golang-go-debian-stretch
|
||||||
@ -141,3 +141,5 @@
|
|||||||
- zuul-jobs-test-golang-go-ubuntu-bionic
|
- zuul-jobs-test-golang-go-ubuntu-bionic
|
||||||
- zuul-jobs-test-golang-go-ubuntu-xenial
|
- zuul-jobs-test-golang-go-ubuntu-xenial
|
||||||
- zuul-jobs-test-golang-go-ubuntu-focal
|
- zuul-jobs-test-golang-go-ubuntu-focal
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -54,3 +54,5 @@
|
|||||||
- zuul-jobs-test-hlint
|
- zuul-jobs-test-hlint
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -12,3 +12,5 @@
|
|||||||
- zuul-jobs-test-ensure-java
|
- zuul-jobs-test-ensure-java
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -21,3 +21,5 @@
|
|||||||
- zuul-jobs-tox-linters
|
- zuul-jobs-tox-linters
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -52,3 +52,5 @@
|
|||||||
- zuul-jobs-test-fetch-javascript-tarball-synchronize
|
- zuul-jobs-test-fetch-javascript-tarball-synchronize
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -22,3 +22,5 @@
|
|||||||
- zuul-jobs-test-add-launchpad-credentials
|
- zuul-jobs-test-add-launchpad-credentials
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -26,3 +26,5 @@
|
|||||||
- zuul-jobs-test-upload-logs-s3
|
- zuul-jobs-test-upload-logs-s3
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
- zuul-jobs-test-packer-ubuntu-xenial
|
- zuul-jobs-test-packer-ubuntu-xenial
|
||||||
- zuul-jobs-test-packer-ubuntu-focal
|
- zuul-jobs-test-packer-ubuntu-focal
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs: &id001
|
||||||
- zuul-jobs-test-packer-centos-7
|
- zuul-jobs-test-packer-centos-7
|
||||||
- zuul-jobs-test-packer-centos-8
|
- zuul-jobs-test-packer-centos-8
|
||||||
- zuul-jobs-test-packer-debian-stretch
|
- zuul-jobs-test-packer-debian-stretch
|
||||||
@ -143,3 +143,5 @@
|
|||||||
- zuul-jobs-test-packer-ubuntu-bionic
|
- zuul-jobs-test-packer-ubuntu-bionic
|
||||||
- zuul-jobs-test-packer-ubuntu-xenial
|
- zuul-jobs-test-packer-ubuntu-xenial
|
||||||
- zuul-jobs-test-packer-ubuntu-focal
|
- zuul-jobs-test-packer-ubuntu-focal
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -18,3 +18,5 @@
|
|||||||
- zuul-jobs-test-ensure-pdk-dependencies
|
- zuul-jobs-test-ensure-pdk-dependencies
|
||||||
gate:
|
gate:
|
||||||
jobs: *id001
|
jobs: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -489,7 +489,7 @@
|
|||||||
- zuul-jobs-test-fetch-sphinx-tarball-with-zuul-output
|
- zuul-jobs-test-fetch-sphinx-tarball-with-zuul-output
|
||||||
- zuul-jobs-test-fetch-sphinx-tarball-synchronize
|
- zuul-jobs-test-fetch-sphinx-tarball-synchronize
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs: &id001
|
||||||
- zuul-jobs-test-ensure-pip-centos-7
|
- zuul-jobs-test-ensure-pip-centos-7
|
||||||
- zuul-jobs-test-ensure-pip-centos-8
|
- zuul-jobs-test-ensure-pip-centos-8
|
||||||
- zuul-jobs-test-ensure-pip-debian-stretch
|
- zuul-jobs-test-ensure-pip-debian-stretch
|
||||||
@ -527,3 +527,5 @@
|
|||||||
- zuul-jobs-test-fetch-sphinx-output-synchronize
|
- zuul-jobs-test-fetch-sphinx-output-synchronize
|
||||||
- zuul-jobs-test-fetch-sphinx-tarball-with-zuul-output
|
- zuul-jobs-test-fetch-sphinx-tarball-with-zuul-output
|
||||||
- zuul-jobs-test-fetch-sphinx-tarball-synchronize
|
- zuul-jobs-test-fetch-sphinx-tarball-synchronize
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -247,7 +247,7 @@
|
|||||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-xenial
|
- zuul-jobs-test-ensure-python-pyenv-ubuntu-xenial
|
||||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-focal
|
- zuul-jobs-test-ensure-python-pyenv-ubuntu-focal
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs: &id001
|
||||||
- zuul-jobs-test-build-python-release-jobs-centos-7
|
- zuul-jobs-test-build-python-release-jobs-centos-7
|
||||||
- zuul-jobs-test-build-python-release-jobs-centos-8
|
- zuul-jobs-test-build-python-release-jobs-centos-8
|
||||||
- zuul-jobs-test-build-python-release-jobs-debian-stretch
|
- zuul-jobs-test-build-python-release-jobs-debian-stretch
|
||||||
@ -266,3 +266,5 @@
|
|||||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-bionic
|
- zuul-jobs-test-ensure-python-pyenv-ubuntu-bionic
|
||||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-xenial
|
- zuul-jobs-test-ensure-python-pyenv-ubuntu-xenial
|
||||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-focal
|
- zuul-jobs-test-ensure-python-pyenv-ubuntu-focal
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
- zuul-jobs-test-rust-ubuntu-xenial
|
- zuul-jobs-test-rust-ubuntu-xenial
|
||||||
- zuul-jobs-test-rust-ubuntu-focal
|
- zuul-jobs-test-rust-ubuntu-focal
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs: &id001
|
||||||
- zuul-jobs-test-rust-centos-7
|
- zuul-jobs-test-rust-centos-7
|
||||||
- zuul-jobs-test-rust-centos-8
|
- zuul-jobs-test-rust-centos-8
|
||||||
- zuul-jobs-test-rust-debian-stretch
|
- zuul-jobs-test-rust-debian-stretch
|
||||||
@ -138,3 +138,5 @@
|
|||||||
- zuul-jobs-test-rust-ubuntu-bionic
|
- zuul-jobs-test-rust-ubuntu-bionic
|
||||||
- zuul-jobs-test-rust-ubuntu-xenial
|
- zuul-jobs-test-rust-ubuntu-xenial
|
||||||
- zuul-jobs-test-rust-ubuntu-focal
|
- zuul-jobs-test-rust-ubuntu-focal
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id001
|
||||||
|
@ -246,7 +246,7 @@
|
|||||||
|
|
||||||
- project:
|
- project:
|
||||||
check: &id001
|
check: &id001
|
||||||
jobs:
|
jobs: &id002
|
||||||
- zuul-jobs-test-terraform-centos-7
|
- zuul-jobs-test-terraform-centos-7
|
||||||
- zuul-jobs-test-terraform-centos-8
|
- zuul-jobs-test-terraform-centos-8
|
||||||
- zuul-jobs-test-terraform-debian-stretch
|
- zuul-jobs-test-terraform-debian-stretch
|
||||||
@ -266,3 +266,5 @@
|
|||||||
- zuul-jobs-test-terraform-role-ubuntu-xenial
|
- zuul-jobs-test-terraform-role-ubuntu-xenial
|
||||||
- zuul-jobs-test-terraform-role-ubuntu-focal
|
- zuul-jobs-test-terraform-role-ubuntu-focal
|
||||||
gate: *id001
|
gate: *id001
|
||||||
|
periodic-weekly:
|
||||||
|
jobs: *id002
|
||||||
|
Loading…
Reference in New Issue
Block a user