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
This commit is contained in:
Andreas Jaeger 2019-08-21 19:00:58 +02:00
parent bb7bc41730
commit 3f18ae40de
2 changed files with 8 additions and 8 deletions

View File

@ -13,9 +13,3 @@
- zuul.d/playbooks/run.yml
timeout: 1800
voting: true
- job:
files:
- ^doc/.*
- ^README.rst
name: tripleo-ansible-docs
parent: openstack-tox-docs

View File

@ -6,7 +6,10 @@
check:
jobs:
- openstack-tox-linters
- tripleo-ansible-docs
- openstack-tox-docs: &tripleo-docs
files:
- ^doc/.*
- ^README.rst
- tripleo-ci-centos-7-containers-multinode: &containers_multinode
files:
- ^tripleo_ansible/roles/tripleo-hieradata/.*
@ -49,7 +52,7 @@
gate:
jobs:
- openstack-tox-linters
- tripleo-ansible-docs
- 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
@ -60,3 +63,6 @@
jobs:
- publish-openstack-python-branch-tarball
- publish-openstack-tox-docs
promote:
jobs:
- promote-openstack-tox-docs: *tripleo-docs