openstack-ansible/zuul.d/project-templates.yaml
Dmitriy Rabotyagov 5d94b5b6c1 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
2020-04-13 16:16:19 +03:00

191 lines
6.1 KiB
YAML

# Copyright 2018, VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- project-template:
name: openstack-ansible-deploy-base-jobs
check:
jobs:
- openstack-ansible-linters
- openstack-ansible-varstest-aio
- openstack-tox-docs
gate:
jobs:
- openstack-ansible-linters
- openstack-ansible-varstest-aio
- openstack-tox-docs
periodic:
jobs:
- openstack-ansible-deploy-translations-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_nspawn-ubuntu-bionic
- openstack-ansible-deploy-aio_qdrouterd-ubuntu-bionic
- openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-bionic
- openstack-ansible-deploy_with_ansible_next-aio-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-aio_lxc-jobs
check:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-7
- openstack-ansible-deploy-aio_lxc-debian-buster
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_lxc-centos-7
- openstack-ansible-deploy-aio_lxc-debian-buster
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic
periodic:
jobs:
- openstack-ansible-deploy-aio_lxc-ubuntu-bionic
- openstack-ansible-upgrade-aio_lxc-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_lxc-opensuse-15
- project-template:
name: openstack-ansible-deploy-aio_distro_lxc-jobs
experimental:
jobs:
- openstack-ansible-deploy-aio_distro_lxc-centos-7
- openstack-ansible-deploy-aio_distro_lxc-opensuse-15
- openstack-ansible-deploy-aio_distro_lxc-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-aio_metal-jobs
check:
jobs:
- openstack-ansible-deploy-aio_metal-debian-buster
- openstack-ansible-deploy-aio_metal-centos-7
- openstack-ansible-deploy-aio_metal-opensuse-15
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
- openstack-ansible-upgrade-aio_metal-centos-7:
voting: false
- openstack-ansible-upgrade-aio_metal-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_metal-debian-buster
- openstack-ansible-deploy-aio_metal-centos-7
- openstack-ansible-deploy-aio_metal-opensuse-15
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
periodic:
jobs:
- openstack-ansible-deploy-aio_metal-opensuse-15
- project-template:
name: openstack-ansible-deploy-aio_telemetry_metal-jobs
check:
jobs:
- openstack-ansible-deploy-aio_telemetry_metal-centos-7
- openstack-ansible-deploy-aio_telemetry_metal-debian-buster
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_telemetry_metal-centos-7
- openstack-ansible-deploy-aio_telemetry_metal-debian-buster
- openstack-ansible-deploy-aio_telemetry_metal-ubuntu-bionic
experimental:
jobs:
- openstack-ansible-deploy-aio_telemetry_metal-opensuse-15
- project-template:
name: openstack-ansible-deploy-aio_distro_metal-jobs
check:
jobs:
- openstack-ansible-deploy-aio_distro_metal-centos-7
- openstack-ansible-deploy-aio_distro_metal-opensuse-15:
voting: false
- openstack-ansible-deploy-aio_distro_metal-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_distro_metal-centos-7
- openstack-ansible-deploy-aio_distro_metal-ubuntu-bionic
periodic:
jobs:
- openstack-ansible-deploy-aio_distro_metal-opensuse-15
- project-template:
name: openstack-ansible-deploy-aio_nspawn-jobs
check:
jobs:
- openstack-ansible-deploy-aio_nspawn-centos-7:
voting: false
- openstack-ansible-deploy-aio_nspawn-opensuse-15:
voting: false
- openstack-ansible-deploy-aio_nspawn-ubuntu-bionic:
voting: false
gate:
jobs: []
- project-template:
name: openstack-ansible-deploy-ceph-jobs
check:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-bionic
periodic:
jobs:
- openstack-ansible-deploy-aio_ceph-ubuntu-bionic
- openstack-ansible-upgrade-aio_ceph-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-proxy-jobs
check:
jobs:
- openstack-ansible-deploy-aio_proxy-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_proxy-ubuntu-bionic
- project-template:
name: openstack-ansible-deploy-distro_ceph-jobs
experimental:
jobs:
- openstack-ansible-deploy-aio_distro_ceph-opensuse-15
- project-template:
name: openstack-ansible-linters-jobs
check:
jobs:
- openstack-ansible-linters-ubuntu-bionic
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