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: I01feaef57f6b376844dabc2eed080010632a776c
This commit is contained in:
James E. Blair 2017-10-28 10:00:26 -07:00
parent df98773573
commit fa896e2125

View File

@ -8,8 +8,8 @@
This performs basic host and general project setup tasks common This performs basic host and general project setup tasks common
to all types of unit test jobs. to all types of unit test jobs.
pre-run: playbooks/unittests/pre pre-run: playbooks/unittests/pre.yaml
post-run: playbooks/unittests/post post-run: playbooks/unittests/post.yaml
- job: - job:
name: tox name: tox
@ -45,9 +45,9 @@
Override tox requirements that have corresponding zuul git repos Override tox requirements that have corresponding zuul git repos
on the node by installing the git versions into the tox virtualenv. on the node by installing the git versions into the tox virtualenv.
run: playbooks/tox/run run: playbooks/tox/run.yaml
pre-run: playbooks/tox/pre pre-run: playbooks/tox/pre.yaml
post-run: playbooks/tox/post post-run: playbooks/tox/post.yaml
vars: vars:
tox_environment: tox_environment:
NOSE_WITH_HTML_OUTPUT: 1 NOSE_WITH_HTML_OUTPUT: 1
@ -93,7 +93,7 @@
Uses tox with the ``docs`` environment. Uses tox with the ``docs`` environment.
vars: vars:
tox_envlist: docs tox_envlist: docs
post-run: playbooks/tox/docs-post post-run: playbooks/tox/docs-post.yaml
success-url: html/ success-url: html/
- job: - job:
@ -123,7 +123,7 @@
Run code coverage tests. Run code coverage tests.
Uses tox with the ``cover`` environment. Uses tox with the ``cover`` environment.
post-run: playbooks/tox/cover-post post-run: playbooks/tox/cover-post.yaml
vars: vars:
tox_envlist: cover tox_envlist: cover
@ -142,7 +142,7 @@
description: | description: |
Build a source tarball and wheel for uploading Build a source tarball and wheel for uploading
run: playbooks/python/sdist.yaml run: playbooks/python/sdist.yaml
post-run: playbooks/python/tarball-post post-run: playbooks/python/tarball-post.yaml
- job: - job:
name: python-upload-pypi name: python-upload-pypi
@ -152,22 +152,21 @@
Requires a variable ``pypi_info`` be set which is a dict containing Requires a variable ``pypi_info`` be set which is a dict containing
at least a ``username`` and ``password`` attribute. at least a ``username`` and ``password`` attribute.
post-run: playbooks/python/upload-pypi post-run: playbooks/python/upload-pypi.yaml
- job: - job:
name: trigger-readthedocs name: trigger-readthedocs
description: description: Send a trigger to the readthedocs url to tell it to build docs
Send a trigger to the readthedocs url to tell it to build docs
nodeset: nodeset:
nodes: [] nodes: []
run: playbooks/python/readthedocs run: playbooks/python/readthedocs.yaml
- job: - job:
name: multinode name: multinode
description: | description: |
Do additional setup needed for multi-node jobs such as setting up Do additional setup needed for multi-node jobs such as setting up
overlay networks and setting up known-hosts and ssh keys overlay networks and setting up known-hosts and ssh keys
pre-run: playbooks/multinode/pre pre-run: playbooks/multinode/pre.yaml
- job: - job:
name: javascript-base name: javascript-base
@ -185,8 +184,8 @@
: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
post-run: playbooks/javascript/post post-run: playbooks/javascript/post.yaml
- job: - job:
name: build-javascript-tarball name: build-javascript-tarball
@ -206,4 +205,4 @@
Path to operate in. Path to operate in.
run: playbooks/javascript/tarball run: playbooks/javascript/tarball.yaml