Split zuul.yaml into separate files in zuul.d

In preparation for migration, split the content into multiple files.

Change-Id: I053eaa95c9cf2e6606f9c787857dd0bb59b836f9
This commit is contained in:
Monty Taylor 2017-09-25 08:49:19 -05:00
parent 3a6de3d85e
commit 11452cfc58
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
4 changed files with 323 additions and 322 deletions

View File

@ -372,325 +372,3 @@
- openstack/puppet-vitrage
- openstack/puppet-watcher
- openstack/puppet-zaqar
- nodeset:
name: centos-7
nodes:
- name: centos-7
label: centos-7
- nodeset:
name: debian-jessie
nodes:
- name: debian-jessie
label: debian-jessie
- nodeset:
name: fedora-26
nodes:
- name: fedora-26
label: fedora-26
- nodeset:
name: opensuse-423
nodes:
- name: opensuse-423
label: opensuse-423
- nodeset:
name: tripleo-centos-7
nodes:
- name: tripleo-centos-7
label: tripleo-centos-7
- nodeset:
name: ubuntu-trusty
nodes:
- name: ubuntu-trusty
label: ubuntu-trusty
- nodeset:
name: ubuntu-xenial
nodes:
- name: ubuntu-xenial
label: ubuntu-xenial
- nodeset:
name: centos-7-2-node
nodes:
- name: primary
label: centos-7
- name: secondary
label: centos-7
groups:
- name: subnodes
nodes:
- secondary
- nodeset:
name: centos-7-3-node
nodes:
- name: primary
label: centos-7
- name: secondary-1
label: centos-7
- name: secondary-2
label: centos-7
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- nodeset:
name: centos-7-4-node
nodes:
- name: primary
label: centos-7
- name: secondary-1
label: centos-7
- name: secondary-2
label: centos-7
- name: secondary-3
label: centos-7
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- secondary-3
- nodeset:
name: ubuntu-xenial-2-node
nodes:
- name: primary
label: ubuntu-xenial
- name: subnodes
label: ubuntu-xenial
- nodeset:
name: ubuntu-xenial-3-node
nodes:
- name: primary
label: ubuntu-xenial
- name: secondary-1
label: ubuntu-xenial
- name: secondary-2
label: ubuntu-xenial
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- project-template:
name: publish-openstack-python-docs
post:
jobs:
- publish-openstack-python-docs
- project-template:
name: publish-openstack-python-docs-infra
check:
jobs:
- build-openstack-sphinx-docs
gate:
jobs:
- build-openstack-sphinx-docs
post:
jobs:
- publish-openstack-python-docs-infra
- project-template:
name: publish-to-pypi
description: |
Publish a Python package to PyPI, then send release announcement
emails and propose updates to upper-constraints as needed.
pre-release:
jobs:
- release-openstack-python
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
release:
jobs:
- release-openstack-python
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
- project-template:
name: publish-xstatic-to-pypi
description: |
Publish an XStatic Python package to PyPI, then send release announcement
emails and propose updates to upper-constraints as needed.
pre-release:
jobs:
- xstatic-check-version
- release-openstack-python:
dependencies:
- xstatic-check-version
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
release:
jobs:
- xstatic-check-version
- release-openstack-python:
dependencies:
- xstatic-check-version
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
- project-template:
name: publish-to-pypi-quietly
description: |
Publish a Python package to PyPI but do not send announce emails or
propose upper-constraints updates.
pre-release:
jobs:
- release-openstack-python
release:
jobs:
- release-openstack-python
- project-template:
name: release-openstack-server
description: |
Release OpenStack server projects.
pre-release:
jobs:
- publish-openstack-python-tarball
- announce-release:
dependencies:
- publish-openstack-python-tarball
release:
jobs:
- publish-openstack-python-tarball
- announce-release:
dependencies:
- publish-openstack-python-tarball
- project-template:
name: openstack-python-jobs
check:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-pep8
- openstack-tox-py27
gate:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-pep8
- openstack-tox-py27
post:
jobs:
- publish-openstack-python-branch-tarball
- project-template:
name: openstack-python34-jobs
check:
jobs:
- openstack-tox-py34
gate:
jobs:
- openstack-tox-py34
- project-template:
name: openstack-python35-jobs
check:
jobs:
- openstack-tox-py35
gate:
jobs:
- openstack-tox-py35
- project-template:
name: openstack-python35-jobs-nonvoting
check:
jobs:
- openstack-tox-py35:
voting: false
- project-template:
name: openstack-pypy-jobs
check:
jobs:
- openstack-tox-pypy
gate:
jobs:
- openstack-tox-pypy
- project-template:
name: openstack-pypy-jobs-nonvoting
check:
jobs:
- openstack-tox-pypy:
voting: false
- project-template:
name: openstack-python-jobs-trusty
check:
jobs:
- build-openstack-sphinx-docs:
nodeset: ubuntu-trusty
- openstack-tox-pep8:
nodeset: ubuntu-trusty
- openstack-tox-py27:
nodeset: ubuntu-trusty
gate:
jobs:
- build-openstack-sphinx-docs:
nodeset: ubuntu-trusty
- openstack-tox-pep8:
nodeset: ubuntu-trusty
- openstack-tox-py27:
nodeset: ubuntu-trusty
- project-template:
name: docs-on-readthedocs
post:
jobs:
- trigger-readthedocs
pre-release:
jobs:
- trigger-readthedocs
release:
jobs:
- trigger-readthedocs
- project:
name: openstack-infra/openstack-zuul-jobs
check:
jobs:
- base-integration-centos-7
- base-integration-debian-jessie
- base-integration-fedora-26:
voting: false
- base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial
- base-integration-opensuse423
- build-openstack-sphinx-docs
- tox-linters
gate:
jobs:
- base-integration-centos-7
- base-integration-debian-jessie
- base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial
- base-integration-opensuse423
- build-openstack-sphinx-docs
- tox-linters

110
zuul.d/nodesets.yaml Normal file
View File

@ -0,0 +1,110 @@
# Shared nodesets specific to the OpenStack Project
- nodeset:
name: centos-7
nodes:
- name: centos-7
label: centos-7
- nodeset:
name: debian-jessie
nodes:
- name: debian-jessie
label: debian-jessie
- nodeset:
name: fedora-26
nodes:
- name: fedora-26
label: fedora-26
- nodeset:
name: opensuse-423
nodes:
- name: opensuse-423
label: opensuse-423
- nodeset:
name: tripleo-centos-7
nodes:
- name: tripleo-centos-7
label: tripleo-centos-7
- nodeset:
name: ubuntu-trusty
nodes:
- name: ubuntu-trusty
label: ubuntu-trusty
- nodeset:
name: ubuntu-xenial
nodes:
- name: ubuntu-xenial
label: ubuntu-xenial
- nodeset:
name: centos-7-2-node
nodes:
- name: primary
label: centos-7
- name: secondary
label: centos-7
groups:
- name: subnodes
nodes:
- secondary
- nodeset:
name: centos-7-3-node
nodes:
- name: primary
label: centos-7
- name: secondary-1
label: centos-7
- name: secondary-2
label: centos-7
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- nodeset:
name: centos-7-4-node
nodes:
- name: primary
label: centos-7
- name: secondary-1
label: centos-7
- name: secondary-2
label: centos-7
- name: secondary-3
label: centos-7
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- secondary-3
- nodeset:
name: ubuntu-xenial-2-node
nodes:
- name: primary
label: ubuntu-xenial
- name: subnodes
label: ubuntu-xenial
- nodeset:
name: ubuntu-xenial-3-node
nodes:
- name: primary
label: ubuntu-xenial
- name: secondary-1
label: ubuntu-xenial
- name: secondary-2
label: ubuntu-xenial
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2

View File

@ -0,0 +1,190 @@
# Shared project-templates specific to the OpenStack Project
- project-template:
name: publish-openstack-python-docs
post:
jobs:
- publish-openstack-python-docs
- project-template:
name: publish-openstack-python-docs-infra
check:
jobs:
- build-openstack-sphinx-docs
gate:
jobs:
- build-openstack-sphinx-docs
post:
jobs:
- publish-openstack-python-docs-infra
- project-template:
name: publish-to-pypi
description: |
Publish a Python package to PyPI, then send release announcement
emails and propose updates to upper-constraints as needed.
pre-release:
jobs:
- release-openstack-python
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
release:
jobs:
- release-openstack-python
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
- project-template:
name: publish-xstatic-to-pypi
description: |
Publish an XStatic Python package to PyPI, then send release announcement
emails and propose updates to upper-constraints as needed.
pre-release:
jobs:
- xstatic-check-version
- release-openstack-python:
dependencies:
- xstatic-check-version
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
release:
jobs:
- xstatic-check-version
- release-openstack-python:
dependencies:
- xstatic-check-version
- announce-release:
dependencies:
- release-openstack-python
- propose-update-constraints:
dependencies:
- release-openstack-python
- project-template:
name: publish-to-pypi-quietly
description: |
Publish a Python package to PyPI but do not send announce emails or
propose upper-constraints updates.
pre-release:
jobs:
- release-openstack-python
release:
jobs:
- release-openstack-python
- project-template:
name: release-openstack-server
description: |
Release OpenStack server projects.
pre-release:
jobs:
- publish-openstack-python-tarball
- announce-release:
dependencies:
- publish-openstack-python-tarball
release:
jobs:
- publish-openstack-python-tarball
- announce-release:
dependencies:
- publish-openstack-python-tarball
- project-template:
name: openstack-python-jobs
check:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-pep8
- openstack-tox-py27
gate:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-pep8
- openstack-tox-py27
post:
jobs:
- publish-openstack-python-branch-tarball
- project-template:
name: openstack-python34-jobs
check:
jobs:
- openstack-tox-py34
gate:
jobs:
- openstack-tox-py34
- project-template:
name: openstack-python35-jobs
check:
jobs:
- openstack-tox-py35
gate:
jobs:
- openstack-tox-py35
- project-template:
name: openstack-python35-jobs-nonvoting
check:
jobs:
- openstack-tox-py35:
voting: false
- project-template:
name: openstack-pypy-jobs
check:
jobs:
- openstack-tox-pypy
gate:
jobs:
- openstack-tox-pypy
- project-template:
name: openstack-pypy-jobs-nonvoting
check:
jobs:
- openstack-tox-pypy:
voting: false
- project-template:
name: openstack-python-jobs-trusty
check:
jobs:
- build-openstack-sphinx-docs:
nodeset: ubuntu-trusty
- openstack-tox-pep8:
nodeset: ubuntu-trusty
- openstack-tox-py27:
nodeset: ubuntu-trusty
gate:
jobs:
- build-openstack-sphinx-docs:
nodeset: ubuntu-trusty
- openstack-tox-pep8:
nodeset: ubuntu-trusty
- openstack-tox-py27:
nodeset: ubuntu-trusty
- project-template:
name: docs-on-readthedocs
post:
jobs:
- trigger-readthedocs
pre-release:
jobs:
- trigger-readthedocs
release:
jobs:
- trigger-readthedocs

23
zuul.d/project.yaml Normal file
View File

@ -0,0 +1,23 @@
# Project pipeline definition for openstack-zuul-jobs
- project:
name: openstack-infra/openstack-zuul-jobs
check:
jobs:
- base-integration-centos-7
- base-integration-debian-jessie
- base-integration-fedora-26:
voting: false
- base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial
- base-integration-opensuse423
- build-openstack-sphinx-docs
- tox-linters
gate:
jobs:
- base-integration-centos-7
- base-integration-debian-jessie
- base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial
- base-integration-opensuse423
- build-openstack-sphinx-docs
- tox-linters