8e4838dc91
Use Zuul's filtering mechanisms to only run the bifrost CI job in the check pipeline when changes are made to the bifrost role. This should reduce load on the CI system. Also adds a periodic pipeline containing the bifrost job. Change-Id: Ie7293d40616c91d2376f4cc85a8e87a130607d99
187 lines
4.0 KiB
YAML
187 lines
4.0 KiB
YAML
---
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- kolla-ansible-centos-source
|
|
- kolla-ansible-ubuntu-source
|
|
- kolla-ansible-oraclelinux-source
|
|
- kolla-ansible-ubuntu-source-ceph
|
|
- kolla-ansible-centos-source-ceph
|
|
- kolla-ansible-oraclelinux-source-ceph
|
|
- kolla-ansible-bifrost-centos-source:
|
|
files: ^ansible\/roles\/bifrost\/.*
|
|
- openstack-tox-lower-constraints
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-lower-constraints
|
|
periodic:
|
|
jobs:
|
|
- kolla-ansible-bifrost-centos-source
|
|
|
|
- nodeset:
|
|
name: kolla-ansible-centos
|
|
nodes:
|
|
- name: primary
|
|
label: centos-7
|
|
|
|
- nodeset:
|
|
name: kolla-ansible-xenial
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-xenial
|
|
|
|
- nodeset:
|
|
name: kolla-ansible-xenial-multi
|
|
nodes:
|
|
- name: primary
|
|
label: ubuntu-xenial
|
|
- name: secondary1
|
|
label: ubuntu-xenial
|
|
- name: secondary2
|
|
label: ubuntu-xenial
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary1
|
|
- secondary2
|
|
|
|
- nodeset:
|
|
name: kolla-ansible-centos-multi
|
|
nodes:
|
|
- name: primary
|
|
label: centos-7
|
|
- name: secondary1
|
|
label: centos-7
|
|
- name: secondary2
|
|
label: centos-7
|
|
groups:
|
|
- name: switch
|
|
nodes:
|
|
- primary
|
|
- name: peers
|
|
nodes:
|
|
- secondary1
|
|
- secondary2
|
|
|
|
- job:
|
|
name: kolla-ansible-base
|
|
pre-run: tests/pre.yml
|
|
run: tests/run.yml
|
|
post-run: tests/post.yml
|
|
attempts: 1
|
|
timeout: 5400
|
|
required-projects:
|
|
- openstack/kolla
|
|
- openstack/requirements
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*
|
|
- ^test-requirements.txt$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
scenario: aio
|
|
roles:
|
|
- zuul: openstack-infra/zuul-jobs
|
|
|
|
- job:
|
|
name: kolla-ansible-bifrost-base
|
|
parent: kolla-ansible-base
|
|
vars:
|
|
scenario: bifrost
|
|
install_type: source
|
|
|
|
- job:
|
|
name: kolla-ansible-centos-source
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-centos
|
|
voting: false
|
|
vars:
|
|
base_distro: centos
|
|
install_type: source
|
|
|
|
- job:
|
|
name: kolla-ansible-ubuntu-source
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-xenial
|
|
voting: false
|
|
vars:
|
|
base_distro: ubuntu
|
|
install_type: source
|
|
|
|
- job:
|
|
name: kolla-ansible-oraclelinux-source
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-centos
|
|
voting: false
|
|
vars:
|
|
base_distro: oraclelinux
|
|
install_type: source
|
|
|
|
- job:
|
|
name: kolla-ansible-centos-binary
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-centos
|
|
voting: false
|
|
vars:
|
|
base_distro: centos
|
|
install_type: binary
|
|
|
|
- job:
|
|
name: kolla-ansible-ubuntu-binary
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-xenial
|
|
voting: false
|
|
vars:
|
|
base_distro: ubuntu
|
|
install_type: binary
|
|
|
|
- job:
|
|
name: kolla-ansible-oraclelinux-binary
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-centos
|
|
voting: false
|
|
vars:
|
|
base_distro: oraclelinux
|
|
install_type: binary
|
|
|
|
- job:
|
|
name: kolla-ansible-ubuntu-source-ceph
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-xenial-multi
|
|
voting: false
|
|
vars:
|
|
base_distro: ubuntu
|
|
install_type: source
|
|
scenario: ceph
|
|
|
|
- job:
|
|
name: kolla-ansible-centos-source-ceph
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-centos-multi
|
|
voting: false
|
|
vars:
|
|
base_distro: centos
|
|
install_type: source
|
|
scenario: ceph
|
|
|
|
- job:
|
|
name: kolla-ansible-oraclelinux-source-ceph
|
|
parent: kolla-ansible-base
|
|
nodeset: kolla-ansible-centos-multi
|
|
voting: false
|
|
vars:
|
|
base_distro: oraclelinux
|
|
install_type: source
|
|
scenario: ceph
|
|
|
|
- job:
|
|
name: kolla-ansible-bifrost-centos-source
|
|
parent: kolla-ansible-bifrost-base
|
|
nodeset: kolla-ansible-centos
|
|
voting: false
|
|
vars:
|
|
base_distro: centos
|