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
tools
zuul-tests.d
ansible-lint-rules.yamlbuild-roles-jobs.yamlcloud-roles-jobs.yamlcontainer-roles-jobs.yamldhall.yamlgeneral-roles-jobs.yamlgo-jobs.yamlhaskell.yamljava-jobs.yamljobs.yamljs-roles-jobs.yamllaunchpad-roles-jobs.yamllogs-jobs.yamlpacker-jobs.yamlpuppet-roles-jobs.yamlpython-jobs.yamlpython-roles-jobs.yamlrust-jobs.yamlterraform-jobs-roles.yaml
@ -132,6 +132,15 @@ def handle_file(fn):
|
||||
# (i.e. check is the same as gate); this gives nicer YAML output
|
||||
# using dictionary anchors
|
||||
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:
|
||||
yaml.dump(outdata, stream=f)
|
||||
|
||||
|
@ -14,3 +14,5 @@
|
||||
- zuul-jobs-test-ansible-lint-rules
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -16,3 +16,5 @@
|
||||
- zuul-jobs-test-ensure-bazel
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -18,3 +18,5 @@
|
||||
- zuul-jobs-test-ensure-devstack
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -416,3 +416,5 @@
|
||||
- zuul-jobs-test-ensure-podman-ubuntu-bionic
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -15,3 +15,5 @@
|
||||
- zuul-jobs-test-dhall-diff
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -680,7 +680,7 @@
|
||||
- zuul-jobs-test-upload-git-mirror
|
||||
- zuul-jobs-test-shake-build
|
||||
gate:
|
||||
jobs:
|
||||
jobs: &id001
|
||||
- zuul-jobs-test-add-authorized-keys
|
||||
- zuul-jobs-test-add-gpgkey
|
||||
- zuul-jobs-test-add-sshkey
|
||||
@ -718,3 +718,5 @@
|
||||
- zuul-jobs-test-upload-artifactory
|
||||
- zuul-jobs-test-upload-git-mirror
|
||||
- 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-focal
|
||||
gate:
|
||||
jobs:
|
||||
jobs: &id001
|
||||
- zuul-jobs-test-golang-go-centos-7
|
||||
- zuul-jobs-test-golang-go-centos-8
|
||||
- zuul-jobs-test-golang-go-debian-stretch
|
||||
@ -141,3 +141,5 @@
|
||||
- zuul-jobs-test-golang-go-ubuntu-bionic
|
||||
- zuul-jobs-test-golang-go-ubuntu-xenial
|
||||
- zuul-jobs-test-golang-go-ubuntu-focal
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -54,3 +54,5 @@
|
||||
- zuul-jobs-test-hlint
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -12,3 +12,5 @@
|
||||
- zuul-jobs-test-ensure-java
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -21,3 +21,5 @@
|
||||
- zuul-jobs-tox-linters
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -52,3 +52,5 @@
|
||||
- zuul-jobs-test-fetch-javascript-tarball-synchronize
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -22,3 +22,5 @@
|
||||
- zuul-jobs-test-add-launchpad-credentials
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -26,3 +26,5 @@
|
||||
- zuul-jobs-test-upload-logs-s3
|
||||
gate:
|
||||
jobs: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -133,7 +133,7 @@
|
||||
- zuul-jobs-test-packer-ubuntu-xenial
|
||||
- zuul-jobs-test-packer-ubuntu-focal
|
||||
gate:
|
||||
jobs:
|
||||
jobs: &id001
|
||||
- zuul-jobs-test-packer-centos-7
|
||||
- zuul-jobs-test-packer-centos-8
|
||||
- zuul-jobs-test-packer-debian-stretch
|
||||
@ -143,3 +143,5 @@
|
||||
- zuul-jobs-test-packer-ubuntu-bionic
|
||||
- zuul-jobs-test-packer-ubuntu-xenial
|
||||
- zuul-jobs-test-packer-ubuntu-focal
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -18,3 +18,5 @@
|
||||
- zuul-jobs-test-ensure-pdk-dependencies
|
||||
gate:
|
||||
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-synchronize
|
||||
gate:
|
||||
jobs:
|
||||
jobs: &id001
|
||||
- zuul-jobs-test-ensure-pip-centos-7
|
||||
- zuul-jobs-test-ensure-pip-centos-8
|
||||
- zuul-jobs-test-ensure-pip-debian-stretch
|
||||
@ -527,3 +527,5 @@
|
||||
- zuul-jobs-test-fetch-sphinx-output-synchronize
|
||||
- zuul-jobs-test-fetch-sphinx-tarball-with-zuul-output
|
||||
- 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-focal
|
||||
gate:
|
||||
jobs:
|
||||
jobs: &id001
|
||||
- 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-debian-stretch
|
||||
@ -266,3 +266,5 @@
|
||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-bionic
|
||||
- zuul-jobs-test-ensure-python-pyenv-ubuntu-xenial
|
||||
- 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-focal
|
||||
gate:
|
||||
jobs:
|
||||
jobs: &id001
|
||||
- zuul-jobs-test-rust-centos-7
|
||||
- zuul-jobs-test-rust-centos-8
|
||||
- zuul-jobs-test-rust-debian-stretch
|
||||
@ -138,3 +138,5 @@
|
||||
- zuul-jobs-test-rust-ubuntu-bionic
|
||||
- zuul-jobs-test-rust-ubuntu-xenial
|
||||
- zuul-jobs-test-rust-ubuntu-focal
|
||||
periodic-weekly:
|
||||
jobs: *id001
|
||||
|
@ -246,7 +246,7 @@
|
||||
|
||||
- project:
|
||||
check: &id001
|
||||
jobs:
|
||||
jobs: &id002
|
||||
- zuul-jobs-test-terraform-centos-7
|
||||
- zuul-jobs-test-terraform-centos-8
|
||||
- zuul-jobs-test-terraform-debian-stretch
|
||||
@ -266,3 +266,5 @@
|
||||
- zuul-jobs-test-terraform-role-ubuntu-xenial
|
||||
- zuul-jobs-test-terraform-role-ubuntu-focal
|
||||
gate: *id001
|
||||
periodic-weekly:
|
||||
jobs: *id002
|
||||
|
Loading…
Reference in New Issue
Block a user