tripleo-ci/zuul.d/build-containers.yaml
Marios Andreou b813597a5a Remove all rocky related jobs/conditionals tests after rocky End of Life
Rocky is now EOL since [1][2] so this removes all the rocky related jobs
or conditionals.
Moves tripleo-ci-centos-7-undercloud-containers to deprecated jobs as it
is still in use in other repos so we can't remove yet.
Related reviews in topic branch tripleo-ci-reduce-rocky [3].

[1] https://review.opendev.org/c/openstack/releases/+/774244
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020912.html
[3] https://review.opendev.org/q/topic:tripleo-ci-reduce-rocky

Change-Id: Ibe2fd5c7792d55236c09dbf9cf88e23e1c5a5673
2021-03-26 13:47:18 +02:00

184 lines
5.5 KiB
YAML

---
# zuul.d/build-containers.yaml
# Zuul layout for TripleO Build Containers jobs.
- project-template:
name: tripleo-ci-build-containers-jobs
check:
jobs:
- tripleo-build-containers-centos-7-buildah-train:
files: &build_container_files
- ^playbooks/tripleo-buildcontainers/.*$
- ^roles/build-containers/.*$
- zuul.d/layout.yaml
- zuul.d/build-containers.yaml
- tripleo-build-containers-centos-7-buildah-stein:
files: *build_container_files
gate:
queue: tripleo
jobs:
- tripleo-build-containers-centos-7-buildah-stein:
files: *build_container_files
- tripleo-build-containers-centos-7-buildah-train:
files: *build_container_files
- project-template:
name: tripleo-build-containers-jobs
check:
jobs:
- tripleo-build-containers-centos-7-buildah
gate:
queue: tripleo
jobs:
- tripleo-build-containers-centos-7-buildah
- project-template:
name: tripleo-build-containers-jobs-train
check:
jobs:
- tripleo-build-containers-centos-7-train
gate:
queue: tripleo
jobs:
- tripleo-build-containers-centos-7-train
- project-template:
name: tripleo-build-containers-jobs-stein
check:
jobs:
- tripleo-build-containers-centos-7-buildah-stein
gate:
queue: tripleo
jobs:
- tripleo-build-containers-centos-7-buildah-stein
- job:
name: tripleo-build-containers-centos-7-base
parent: tripleo-build-containers-base-with-files
nodeset: single-centos-7-node
branches: ^(?!stable/(pike|queens)).*$
voting: true
- job:
name: tripleo-build-containers-centos-7
parent: tripleo-build-containers-base-with-files
nodeset: single-centos-7-node
branches: ^(stable/(stein|train)).*$
voting: true
- job:
name: tripleo-build-containers-centos-7-train
parent: tripleo-build-containers-centos-7-base
override-checkout: stable/train
vars:
branch_override: stable/train
- job:
name: tripleo-build-containers-centos-7-stein
parent: tripleo-build-containers-centos-7-base
override-checkout: stable/stein
vars:
branch_override: stable/stein
- job:
name: tripleo-build-containers-centos-7-buildah
description: |
container build job (buildah cli/backend)
parent: tripleo-build-containers-centos-7
vars:
use_buildah: true
- job:
name: tripleo-build-containers-centos-7-buildah-train
parent: tripleo-build-containers-centos-7-base
override-checkout: stable/train
vars:
branch_override: stable/train
use_buildah: true
- job:
name: tripleo-build-containers-centos-7-buildah-stein
parent: tripleo-build-containers-centos-7-base
override-checkout: stable/stein
vars:
branch_override: stable/stein
use_buildah: true
- job:
name: tripleo-build-containers-centos-8
parent: tripleo-build-containers-base-with-files
nodeset: single-centos-8-node
branches: ^(?!stable/(pike|queens|stein)).*$
voting: true
required-projects:
- opendev.org/openstack/ansible-role-container-registry
- opendev.org/openstack/kolla
- opendev.org/openstack/python-tripleoclient
- opendev.org/openstack/requirements
- opendev.org/openstack/tripleo-common
- opendev.org/openstack/tripleo-repos
vars:
use_buildah: true
kolla_base: centos
kolla_base_pull: true
buildcontainers_override_repos: current-tripleo
kolla_base_image: centos
kolla_base_tag: 8
push_containers: false
push_containers_podman: false
# Branchful job to run on CI branchless repos which have master only
- job:
name: tripleo-build-containers-centos-8-ussuri
parent: tripleo-build-containers-centos-8
branches: master
override-checkout: stable/ussuri
vars:
branch_override: stable/ussuri
- job:
name: tripleo-build-containers-centos-8-train
parent: tripleo-build-containers-centos-8
branches: master
override-checkout: stable/train
vars:
branch_override: stable/train
# This job definition holds the required projects
# for tripleo-build-containers-ubi-8-base. The required projects are
# separated out to allow for this job to be shadowed in another repo
# and the required projects overwritten for other environments
- job:
name: tripleo-build-containers-ubi-8-base-required-projects
parent: tripleo-build-containers-base-with-files
abstract: true
roles:
- zuul: opendev.org/openstack/tripleo-ansible
required-projects:
- opendev.org/openstack/ansible-role-container-registry
- opendev.org/openstack/kolla
- opendev.org/openstack/python-tripleoclient
- opendev.org/openstack/requirements
- opendev.org/openstack/tripleo-ansible
- opendev.org/openstack/tripleo-common
- opendev.org/openstack/tripleo-repos
- job:
name: tripleo-build-containers-ubi-8-base
parent: tripleo-build-containers-ubi-8-base-required-projects
nodeset: single-centos-8-node
vars:
use_buildah: true
use_kolla: false
buildcontainers_override_repos: current-tripleo
push_containers: false
push_containers_podman: false
# containers-ubi-8 is exercised via the content-provider jobs
# excluding train as tripleo-repos + train + current is blocked
- job:
name: tripleo-build-containers-ubi-8
parent: tripleo-build-containers-ubi-8-base
branches: ^(?!stable/(pike|queens|stein|train|ussuri)).*$
voting: true