kolla-ansible/.zuul.yaml
Jeffrey Zhang cdd125117f Optimize zuul v3 jobs
- move check container failure from post.yml to run.yml
- add binary related jobs
- use static kolla-ansible src dir, which is helpful for kolla project
  to use.
- generate correct /etc/hosts by using private ip address and hostname
- fix the wrong api interface in global.yml file

Change-Id: Idfdee6dfe18f0fa2d4f984df59b57553122ce298
2017-10-26 09:58:29 +08:00

88 lines
1.8 KiB
YAML

- project:
name: openstack/kolla-ansible
check:
jobs:
- kolla-ansible-centos-source
- kolla-ansible-ubuntu-source
- kolla-ansible-oraclelinux-source
- nodeset:
name: kolla-ansible-centos
nodes:
- name: primary
label: centos-7
- nodeset:
name: kolla-ansible-xenial
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: kolla-ansible-base
pre-run: tests/pre
run: tests/run
post-run: tests/post
attempts: 1
timeout: 10800
required-projects:
- openstack/kolla
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^doc/.*
- 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