tripleo-ansible/zuul.d/layout.yaml
Andreas Jaeger 3f18ae40de Switch to promote docs job
We now use a promote job for publishing that avoids building again the
documents after merge. use this here as well.

We can only use the promote jobs when the job run in gate, so use the
same file conditions. To make those easier to sync, get rid of the
special tripleo job and use openstack-tox-docs directly.

For further details about promote jobs, see
http://lists.openstack.org/pipermail/openstack-discuss/2019-August/008610.html

Change-Id: I31fa0d59ce2715abe6c36ecfbca8f6a70aaa60e2
2019-08-21 19:00:58 +02:00

69 lines
2.7 KiB
YAML

---
- project:
templates:
- tripleo-ansible-molecule-jobs
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-linters
- openstack-tox-docs: &tripleo-docs
files:
- ^doc/.*
- ^README.rst
- tripleo-ci-centos-7-containers-multinode: &containers_multinode
files:
- ^tripleo_ansible/roles/tripleo-hieradata/.*
- ^tripleo_ansible/roles/tripleo-upgrade-hiera/.*
irrelevant-files: &irrelevant_scenario_files
- .*.md$
- .*.rst$
- .*.txt$
- ^tripleo_ansible/.*molecule.*
- ^tripleo_ansible/.*meta.*
- tripleo-ci-centos-7-scenario001-standalone: &scenario001
files:
- ^tripleo_ansible/roles/tripleo-hieradata/.*
- ^tripleo_ansible/roles/tripleo-upgrade-hiera/.*
irrelevant-files: *irrelevant_scenario_files
- tripleo-ci-centos-7-scenario002-standalone: &scenario002
files:
- ^tripleo_ansible/roles/tripleo-hieradata/.*
- ^tripleo_ansible/roles/tripleo-upgrade-hiera/.*
irrelevant-files: *irrelevant_scenario_files
- tripleo-ci-centos-7-scenario003-standalone: &scenario003
files:
- ^tripleo_ansible/roles/tripleo-create-admin/.*
- ^tripleo_ansible/roles/tripleo-hieradata/.*
- ^tripleo_ansible/roles/tripleo-upgrade-hiera/.*
irrelevant-files: *irrelevant_scenario_files
- tripleo-ci-centos-7-scenario004-standalone: &scenario004
files:
- ^tripleo_ansible/.*
irrelevant-files: *irrelevant_scenario_files
- tripleo-ci-centos-7-scenario010-standalone: &scenario010
files:
- ^tripleo_ansible/.*octavia.*
irrelevant-files: *irrelevant_scenario_files
- tripleo-ci-centos-7-standalone-upgrade: &standalone_upgrade
files:
- ^tripleo_ansible/roles/tripleo-hieradata/.*
- ^tripleo_ansible/roles/tripleo-upgrade-hiera/.*
irrelevant-files: *irrelevant_scenario_files
gate:
jobs:
- openstack-tox-linters
- openstack-tox-docs: *tripleo-docs
- tripleo-ci-centos-7-containers-multinode: *containers_multinode
- tripleo-ci-centos-7-scenario001-standalone: *scenario001
- tripleo-ci-centos-7-scenario002-standalone: *scenario002
- tripleo-ci-centos-7-scenario003-standalone: *scenario003
- tripleo-ci-centos-7-scenario004-standalone: *scenario004
- tripleo-ci-centos-7-scenario010-standalone: *scenario010
post:
jobs:
- publish-openstack-python-branch-tarball
- publish-openstack-tox-docs
promote:
jobs:
- promote-openstack-tox-docs: *tripleo-docs