tripleo-ci/zuul.d/upgrades-jobs-templates.yaml
2022-11-18 13:03:55 +00:00

259 lines
8.9 KiB
YAML

---
# upgrades jobs layouts - content provider jobs
# upgrade jobs for all branches
- project-template:
name: tripleo-upgrades-master-pipeline
queue: tripleo
check:
jobs:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-9-content-provider-zed
- tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates: &cs9_update_all
irrelevant-files: &multinode_ignored
- .*molecule.*
- ^.*\.md$
- ^.*\.rst$
- ^.ansible-lint$
- ^.pre-commit-config.yaml$
- ^doc/.*$
- ^docs/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- ^setup.*$
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^roles/build-containers/.*$
- ^roles/oooci-build-images/.*$
- ^playbooks/deprecated/.*$
- ^playbooks/tripleo-buildcontainers/.*$
- ^playbooks/tripleo-buildimages/.*$
- ^vars/sova-patterns.yml$
- zuul.d/layout.yaml
- zuul.d/build-containers.yaml
- zuul.d/build-image.yaml
- zuul.d/standalone-jobs.yaml
- zuul.d/undercloud-jobs.yaml
- zuul.d/multinode-jobs.yaml
# tripleo-quickstart-extras
- playbooks/quickstart-extras-standalone.yml
- roles/standalone/.*
- roles/standalone-upgrade/.*
# unit tests
- ^tripleoclient/tests/.*$
- ^tripleo_common/tests/.*$
- ^scripts/undercloud-upgrade-ephemeral-heat.py
- ^scripts/tripleo-mount-image$
- ^scripts/tripleo-unmount-image$
vars: &consumer_vars
consumer_job: true
build_container_images: false
remove_tags:
- build
dependencies:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-9-undercloud-upgrade: &cs9_undercloud_upgrade
vars: *consumer_vars
irrelevant-files: &undercloud_ignored
- .*molecule.*
- ^.*\.md$
- ^.*\.rst$
- ^.ansible-lint$
- ^.pre-commit-config.yaml$
- ^doc/.*$
- ^docs/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^setup.*$
- ^roles/build-containers/.*$
- ^roles/oooci-build-images/.*$
- ^playbooks/deprecated/.*$
- ^playbooks/tripleo-buildcontainers/.*$
- ^playbooks/tripleo-buildimages/.*$
- ^vars/sova-patterns.yml$
- zuul.d/layout.yaml
- zuul.d/build-containers.yaml
- zuul.d/build-image.yaml
- zuul.d/standalone-jobs.yaml
- zuul.d/undercloud-jobs.yaml
- zuul.d/multinode-jobs.yaml
# standalone featuresets
- ^config/general_config/featureset052.yml
- ^config/general_config/featureset056.yml
- ^config/general_config/featureset062.yml
- ^config/general_config/featureset060.yml
# ovb featuresets
- ^config/general_config/featureset001.yml
- ^config/general_config/featureset002.yml
- ^config/general_config/featureset024.yml
- ^config/general_config/featureset035.yml
- ^config/general_config/featureset039.yml
- ^config/general_config/featureset041.yml
- ^config/general_config/featureset042.yml
- ^config/general_config/featureset063.yml
# upgrade/update featuresets
- ^config/general_config/featureset037.yml
- ^config/general_config/featureset051.yml
# unit tests
- ^tripleoclient/tests/.*$
- ^tripleo_common/tests/.*$
- ^scripts/tripleo-mount-image$
- ^scripts/tripleo-unmount-image$
dependencies:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-9-content-provider-zed
gate:
jobs:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-9-content-provider-zed
- tripleo-ci-centos-9-undercloud-upgrade: *cs9_undercloud_upgrade
- tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates: *cs9_update_all
- project-template:
name: tripleo-upgrades-wallaby-pipeline
queue: tripleo
check:
jobs:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates: *cs9_update_all
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-content-provider-train
- tripleo-ci-centos-8-undercloud-ffu-wallaby: &undercloud_ffu
vars: *consumer_vars
irrelevant-files: *undercloud_ignored
dependencies:
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-content-provider-train
- tripleo-ci-centos-8-standalone-ffu-wallaby: &standalone_ffu
vars: *consumer_vars
dependencies:
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-content-provider-train
gate:
jobs:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-content-provider-train
- tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates: *cs9_update_all
- tripleo-ci-centos-8-undercloud-ffu-wallaby: *undercloud_ffu
- tripleo-ci-centos-8-standalone-ffu-wallaby: *standalone_ffu
- project-template:
name: tripleo-upgrades-train-pipeline
queue: tripleo
check:
jobs:
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train:
irrelevant-files: *multinode_ignored
vars: *consumer_vars
dependencies:
- tripleo-ci-centos-8-content-provider
gate:
jobs:
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train:
irrelevant-files: *multinode_ignored
vars: *consumer_vars
dependencies:
- tripleo-ci-centos-8-content-provider
#
# Minor update jobs
#
- job:
name: tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates-train
description: |
train tripleo minor update job for centos-8, this is not an upgrade job.
parent: tripleo-ci-base-multinode-centos-8
branches: ^stable/train$
voting: true
vars:
nodes: 1ctlr
featureset: '037'
unbound_cache_min_ttl: 900
extra_tags:
- overcloud-update
- job:
name: tripleo-ci-centos-9-scenario000-multinode-oooq-container-updates
branches: ^(?!stable/(train)).*$
parent: tripleo-ci-base-multinode-centos-9
voting: true
vars:
nodes: 1ctlr
featureset: '037'
# Note (dmsimard): This enforces a minimum TTL for DNS records, see
# https://review.opendev.org/#/c/523178/ for context
unbound_cache_min_ttl: 900
extra_tags:
- overcloud-update
#
# Undercloud upgrade jobs
- job:
name: tripleo-ci-centos-8-undercloud-ffu-wallaby
parent: tripleo-ci-base-undercloud-centos-8
branches: ^stable/wallaby$
voting: true
vars:
featureset: '065'
featureset_override:
validate_services: false
extra_tags:
- undercloud-upgrade
## CentOS 9 Undercloud Upgrade
- job:
name: tripleo-ci-centos-9-undercloud-upgrade
parent: tripleo-ci-base-undercloud-centos-9
branches: ^master$
voting: true
vars:
featureset: '050'
featureset_override:
validate_services: false
extra_tags:
- undercloud-upgrade
## CentOS 8 undercloud upgrade
- job:
name: tripleo-ci-centos-8-undercloud-upgrade
parent: tripleo-ci-base-undercloud-centos-8
branches: ^master$
voting: true
vars:
featureset: '050'
featureset_override:
validate_services: false
extra_tags:
- undercloud-upgrade
- job:
name: tripleo-ci-centos-8-standalone-ffu-wallaby
parent: tripleo-ci-centos-8-standalone
voting: false
branches: ^stable/wallaby$
vars:
playbooks:
- quickstart.yml
- multinode-standalone.yml
- multinode-standalone-upgrade.yml
featureset: '067'
featureset_override:
standalone_environment_files:
- 'environments/low-memory-usage.yaml'
- 'environments/docker-ha.yaml'
- 'environments/podman.yaml'
extra_tags:
- standalone-upgrade