Fix update of the deploy guide

Our deploy guide don't get updated and contain almost "static" tag
while OSA checkout as deploy-guide publishing gets updated
only when it's files are changed [1]
So we replace default template with our own, which is also triggered
when we bump roles in a-r-r.

[1] https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/project-templates.yaml#L1389-L1395

Change-Id: I99e5c5698d2067709203c1a4e7e6b54f09dcbe34
This commit is contained in:
Dmitriy Rabotyagov 2020-04-13 16:16:19 +03:00
parent 600b23b1ad
commit 5d94b5b6c1
2 changed files with 25 additions and 1 deletions

View File

@ -164,3 +164,27 @@
gate:
jobs:
- openstack-ansible-linters-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-guide-jobs
description: |
Build the deploy-guide document and publish the result
using a promote job.
check:
jobs:
- build-openstack-deploy-guide:
files: &deploy-guide-triggers
- ^deploy-guide/.*
- ansible-role-requirements.yml
- bindep.txt
- doc/requirements.txt
- test-requirements.txt
- tox.ini
gate:
jobs:
- build-openstack-deploy-guide:
files: *deploy-guide-triggers
promote:
jobs:
- promote-deploy-guide:
files: *deploy-guide-triggers

View File

@ -14,7 +14,7 @@
- project:
templates:
- deploy-guide-jobs
- openstack-ansible-deploy-guide-jobs
- openstack-ansible-deploy-base-jobs
- openstack-ansible-deploy-aio_lxc-jobs
- openstack-ansible-deploy-aio_distro_lxc-jobs