Zuul: add file extension to playbook path

Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: Ib5f7a658101261736c9eef02bbc6cc71c1b240d6
This commit is contained in:
James E. Blair 2017-10-28 10:18:08 -07:00 committed by Andreas Jaeger
parent 4154646ff2
commit c60bbc5ad7
2 changed files with 1615 additions and 1619 deletions

View File

@ -13,7 +13,7 @@
- openstack-infra/project-config - openstack-infra/project-config
roles: roles:
- zuul: openstack-infra/zuul-jobs - zuul: openstack-infra/zuul-jobs
run: tests/base run: tests/base.yaml
files: files:
- ^roles/configure-mirror/.* - ^roles/configure-mirror/.*
- ^roles/configure-unbound/.* - ^roles/configure-unbound/.*
@ -64,7 +64,7 @@
- openstack-infra/project-config - openstack-infra/project-config
roles: roles:
- zuul: openstack-infra/zuul-jobs - zuul: openstack-infra/zuul-jobs
run: tests/multinode run: tests/multinode.yaml
files: files:
- ^roles/configure-mirror/.* - ^roles/configure-mirror/.*
- ^roles/configure-unbound/.* - ^roles/configure-unbound/.*
@ -192,14 +192,14 @@
It runs the prepare-docs-for-afs role so that AFS stamp files It runs the prepare-docs-for-afs role so that AFS stamp files
can be examined if desired, and also validates htaccess files can be examined if desired, and also validates htaccess files
using the whereto tool. using the whereto tool.
run: playbooks/sphinx-docs/run run: playbooks/sphinx-docs/run.yaml
success-url: html/ success-url: html/
required-projects: required-projects:
- name: openstack/requirements - name: openstack/requirements
roles: roles:
- zuul: openstack-infra/zuul-jobs - zuul: openstack-infra/zuul-jobs
vars: vars:
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt" tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt'
tox_envlist: venv tox_envlist: venv
tox_extra_args: -vv python setup.py build_sphinx tox_extra_args: -vv python setup.py build_sphinx
@ -209,7 +209,7 @@
description: | description: |
Run zuul's py35 unittests on patches to zuul-jobs Run zuul's py35 unittests on patches to zuul-jobs
vars: vars:
zuul_work_dir: "src/git.openstack.org/openstack-infra/zuul" zuul_work_dir: src/git.openstack.org/openstack-infra/zuul
required-projects: required-projects:
- name: openstack-infra/zuul - name: openstack-infra/zuul
override-branch: feature/zuulv3 override-branch: feature/zuulv3
@ -224,7 +224,7 @@
required-projects: required-projects:
- name: openstack/requirements - name: openstack/requirements
vars: vars:
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt" tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt'
- job: - job:
name: openstack-tox-py27 name: openstack-tox-py27
@ -317,7 +317,7 @@
- ^releasenotes/.*$ - ^releasenotes/.*$
success-url: cover/ success-url: cover/
vars: vars:
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt" tox_constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt'
- job: - job:
name: openstack-tox-bashate name: openstack-tox-bashate
@ -368,17 +368,17 @@
parent: publish-openstack-artifacts parent: publish-openstack-artifacts
description: | description: |
Publish the results of the tox-tarball job to tarballs.openstack.org. Publish the results of the tox-tarball job to tarballs.openstack.org.
pre-run: playbooks/python-tarball/pre pre-run: playbooks/python-tarball/pre.yaml
run: playbooks/python-tarball/run run: playbooks/python-tarball/run.yaml
post-run: playbooks/python-tarball/post post-run: playbooks/python-tarball/post.yaml
- job: - job:
name: build-openstack-python-tarball name: build-openstack-python-tarball
parent: python-sdist parent: python-sdist
description: | description: |
Build a tarball using tox but do not upload it anywhere. Build a tarball using tox but do not upload it anywhere.
pre-run: playbooks/python-tarball/pre pre-run: playbooks/python-tarball/pre.yaml
run: playbooks/python-tarball/run run: playbooks/python-tarball/run.yaml
- job: - job:
name: publish-openstack-javascript-tarball name: publish-openstack-javascript-tarball
@ -397,26 +397,23 @@
:default: {{ zuul.project.src_dir }} :default: {{ zuul.project.src_dir }}
Path to operate in. Path to operate in.
pre-run: playbooks/javascript/pre pre-run: playbooks/javascript/pre.yaml
run: playbooks/javascript/tarball run: playbooks/javascript/tarball.yaml
post-run: post-run:
- playbooks/javascript/post - playbooks/javascript/post.yaml
- playbooks/javascript/post-tarball - playbooks/javascript/post-tarball.yaml
- job: - job:
name: announce-release name: announce-release
description: description: Send a release announcement after publishing a project
Send a release announcement after publishing a project pre-run: playbooks/release/pre.yaml
pre-run: playbooks/release/pre run: playbooks/release/announce.yaml
run: playbooks/release/announce
required-projects: required-projects:
- openstack-infra/release-tools - openstack-infra/release-tools
- job: - job:
name: xstatic-check-version name: xstatic-check-version
description: description: Check version used by xstatic packages
Check version used by xstatic packages run: playbooks/xstatic/check-version.yaml
run: playbooks/xstatic/check-version
- job: - job:
name: build-openstack-releasenotes name: build-openstack-releasenotes
@ -424,8 +421,8 @@
description: | description: |
Build releasenotes, with optional translation support, using reno. Build releasenotes, with optional translation support, using reno.
success-url: html/ success-url: html/
run: playbooks/releasenotes/run run: playbooks/releasenotes/run.yaml
post-run: playbooks/releasenotes/post post-run: playbooks/releasenotes/post.yaml
# Release notes always build on master. # Release notes always build on master.
override-branch: master override-branch: master
timeout: 1800 timeout: 1800
@ -443,7 +440,7 @@
Build api-ref document. This is only run on master branch of a Build api-ref document. This is only run on master branch of a
project. project.
success-url: html/ success-url: html/
post-run: playbooks/build-api-ref/post post-run: playbooks/build-api-ref/post.yaml
timeout: 1800 timeout: 1800
vars: vars:
tox_envlist: api-ref tox_envlist: api-ref
@ -464,7 +461,7 @@
Build api-guide document. This is only run for changes on master Build api-guide document. This is only run for changes on master
branch of a project. branch of a project.
success-url: html/ success-url: html/
post-run: playbooks/build-api-guide/post post-run: playbooks/build-api-guide/post.yaml
timeout: 1800 timeout: 1800
vars: vars:
tox_envlist: api-guide tox_envlist: api-guide
@ -483,7 +480,7 @@
description: | description: |
Build deploy-guide document. Build deploy-guide document.
success-url: html/ success-url: html/
post-run: playbooks/build-deploy-guide/post post-run: playbooks/build-deploy-guide/post.yaml
timeout: 1800 timeout: 1800
vars: vars:
tox_envlist: deploy-guide tox_envlist: deploy-guide
@ -499,7 +496,7 @@
description: | description: |
Build install-guide document. Build install-guide document.
success-url: html/ success-url: html/
post-run: playbooks/build-deploy-guide/post post-run: playbooks/build-deploy-guide/post.yaml
timeout: 1800 timeout: 1800
vars: vars:
tox_envlist: install-guide tox_envlist: install-guide
@ -520,7 +517,7 @@
description: | description: |
Build placement-api-ref document. This job runs only on master branch. Build placement-api-ref document. This job runs only on master branch.
success-url: html/ success-url: html/
post-run: playbooks/build-placement-api-ref/post post-run: playbooks/build-placement-api-ref/post.yaml
timeout: 1800 timeout: 1800
# We only publish the master branch, so no need to run # We only publish the master branch, so no need to run
# for changes on other branches. # for changes on other branches.
@ -537,7 +534,7 @@
name: legacy-base name: legacy-base
description: | description: |
Base job for autoconverted legacy jobs Base job for autoconverted legacy jobs
pre-run: playbooks/legacy/pre pre-run: playbooks/legacy/pre.yaml
nodeset: legacy-ubuntu-xenial nodeset: legacy-ubuntu-xenial
- job: - job:
@ -549,7 +546,7 @@
may be used by jobs which have been automatically converted as may be used by jobs which have been automatically converted as
part of the migration to Zuul v3. part of the migration to Zuul v3.
nodeset: devstack-single-node nodeset: devstack-single-node
pre-run: playbooks/legacy/pre pre-run: playbooks/legacy/pre.yaml
required-projects: required-projects:
- openstack-dev/devstack - openstack-dev/devstack
- openstack-infra/devstack-gate - openstack-infra/devstack-gate
@ -601,7 +598,7 @@
each other. each other.
roles: roles:
- zuul: openstack-infra/zuul-jobs - zuul: openstack-infra/zuul-jobs
pre-run: playbooks/legacy/multinode-networking/pre pre-run: playbooks/legacy/multinode-networking/pre.yaml
- job: - job:
name: legacy-puppet-openstack-integration name: legacy-puppet-openstack-integration
@ -611,7 +608,7 @@
This job runs provides the base required projects for This job runs provides the base required projects for
puppet-openstack-integration jobs. puppet-openstack-integration jobs.
nodeset: devstack-single-node nodeset: devstack-single-node
pre-run: playbooks/legacy/pre pre-run: playbooks/legacy/pre.yaml
required-projects: required-projects:
- openstack/puppet-aodh - openstack/puppet-aodh
- openstack/puppet-barbican - openstack/puppet-barbican
@ -660,7 +657,7 @@
description: | description: |
Base job for autoconverted legacy jobs that publish artifacts Base job for autoconverted legacy jobs that publish artifacts
nodeset: devstack-single-node nodeset: devstack-single-node
pre-run: playbooks/legacy/pre pre-run: playbooks/legacy/pre.yaml
- job: - job:
name: project-config-gerrit name: project-config-gerrit
@ -766,10 +763,10 @@
vars: vars:
tox_envlist: infra-docs tox_envlist: infra-docs
files: files:
- 'bindep.txt' - bindep.txt
- 'docs-site/.*' - docs-site/.*
- 'other-requirements.txt' - other-requirements.txt
- 'tox.ini' - tox.ini
- job: - job:
name: project-config-build-openafs-centos name: project-config-build-openafs-centos
@ -779,8 +776,8 @@
for our centos hosts that need access to the mirror to for our centos hosts that need access to the mirror to
consume. consume.
parent: publish-openstack-artifacts parent: publish-openstack-artifacts
run: playbooks/package-afs-centos/run run: playbooks/package-afs-centos/run.yaml
post-run: playbooks/package-afs-centos/post post-run: playbooks/package-afs-centos/post.yaml
nodeset: centos-7 nodeset: centos-7
- job: - job:

File diff suppressed because it is too large Load Diff