kolla/.zuul.yaml
Jeffrey Zhang e6036f52ed Use separate publish jobs in periodic pipeline
The secrets can not be inherited.

Change-Id: Ie0f99f470a419c57865eb8b0a14e465ae228c799
2017-12-06 06:03:54 +00:00

214 lines
6.1 KiB
YAML

- project:
name: openstack/kolla
check:
jobs:
- kolla-build-centos-binary
- kolla-build-centos-source
- kolla-build-ubuntu-binary
- kolla-build-ubuntu-source
- kolla-build-oraclelinux-binary
- kolla-build-oraclelinux-source
- kolla-ansible-centos-source:
required-projects:
- openstack/kolla-ansible
- openstack/requirements
- kolla-ansible-centos-binary:
required-projects:
- openstack/kolla-ansible
- openstack/requirements
- kolla-ansible-ubuntu-source:
required-projects:
- openstack/kolla-ansible
- openstack/requirements
- kolla-ansible-ubuntu-binary:
required-projects:
- openstack/kolla-ansible
- openstack/requirements
- kolla-ansible-oraclelinux-source:
required-projects:
- openstack/kolla-ansible
- openstack/requirements
- kolla-ansible-oraclelinux-binary:
required-projects:
- openstack/kolla-ansible
- openstack/requirements
gate:
jobs:
- kolla-build-centos-source
- kolla-build-ubuntu-source
- kolla-build-oraclelinux-source
periodic:
jobs:
- kolla-publish-centos-source
- kolla-publish-centos-binary
- kolla-publish-ubuntu-source
- kolla-publish-ubuntu-binary
- kolla-publish-oraclelinux-source
- kolla-publish-oraclelinux-binary
- secret:
name: kolla_dockerhub_creds
data:
password: !encrypted/pkcs1-oaep
- QLe52Ymma5HJg3K2kgeSEMp7TwarkH8AbEiwcnDTqZ276BUF9wrt+5gPJRfVU1BYty2lq
CCzhawJJ09TV0WU2SEUKlicWoXQ/hcbYWNlOHVL6/gm9UxZP/GC8d1eyQfbCS7UUHfiHF
BP5Vbrn5vmK6DHhaVc9cEdXpcrA9cghLINpH6EeLE6ujD9gH5Apol30Qvj0IcpildWCYC
1rJqc8e/6BwOcLiPhli+A/bbpWxUzJgnFqogEiHLPvUTRyHDA8aCLv9Q6uryzaA0pzt7I
VY4JcNeM3J43QSTa6G7FxCGDiNOhEDvS31EyoxGZCdD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set:
name: kolla-centos
nodes:
- name: primary
label: centos-7
- nodeset:
name: kolla-ubuntu
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: kolla-base
parent: base
timeout: 10200
pre-run: tests/playbooks/pre.yml
run: tests/playbooks/run.yml
post-run: tests/playbooks/post.yml
attempts: 1
required-projects:
- openstack/kolla-ansible
- openstack/requirements
irrelevant-files:
- ^.*\.rst$
- ^doc/.*
vars:
publisher: false
- job:
name: kolla-build-centos-binary
parent: kolla-base
nodeset: kolla-centos
voting: false
vars:
action: build
base_distro: centos
install_type: binary
- job:
name: kolla-publish-centos-binary
parent: kolla-build-centos-binary
post-run: tests/playbooks/publish.yml
vars:
publisher: true
secrets:
- kolla_dockerhub_creds
- job:
name: kolla-build-centos-source
parent: kolla-base
nodeset: kolla-centos
vars:
action: build
base_distro: centos
install_type: source
- job:
name: kolla-publish-centos-source
parent: kolla-build-centos-source
post-run: tests/playbooks/publish.yml
vars:
publisher: true
secrets:
- kolla_dockerhub_creds
- job:
name: kolla-build-ubuntu-binary
parent: kolla-base
nodeset: kolla-ubuntu
voting: false
vars:
action: build
base_distro: ubuntu
install_type: binary
- job:
name: kolla-publish-ubuntu-binary
parent: kolla-build-ubuntu-binary
post-run: tests/playbooks/publish.yml
vars:
publisher: true
secrets:
- kolla_dockerhub_creds
- job:
name: kolla-build-ubuntu-source
parent: kolla-base
nodeset: kolla-ubuntu
vars:
action: build
base_distro: ubuntu
install_type: source
- job:
name: kolla-publish-ubuntu-source
parent: kolla-build-ubuntu-source
post-run: tests/playbooks/publish.yml
vars:
publisher: true
secrets:
- kolla_dockerhub_creds
- job:
name: kolla-build-oraclelinux-binary
parent: kolla-base
nodeset: kolla-centos
voting: false
vars:
action: build
base_distro: oraclelinux
install_type: binary
- job:
name: kolla-publish-oraclelinux-binary
parent: kolla-build-oraclelinux-binary
post-run: tests/playbooks/publish.yml
vars:
publisher: true
secrets:
- kolla_dockerhub_creds
- job:
name: kolla-build-oraclelinux-source
parent: kolla-base
nodeset: kolla-centos
vars:
action: build
base_distro: oraclelinux
install_type: source
- job:
name: kolla-publish-oraclelinux-source
parent: kolla-build-oraclelinux-source
post-run: tests/playbooks/publish.yml
vars:
publisher: true
secrets:
- kolla_dockerhub_creds