Minor cleanup to zuulv3 example
This normalizes the whitespace, removes an extraneous yaml document marker, and replaces the too-specific node name in the example with 'all' which is what most jobs should use unless they have a reason not to. Change-Id: Ie2f414d271bc1ee649b50e24cc3aa6bc80c973c6
This commit is contained in:
parent
9d525be8f1
commit
7101d2bafe
|
@ -294,7 +294,7 @@ going.
|
|||
.. code-block:: yaml
|
||||
|
||||
- job:
|
||||
name: <projectname>-functional
|
||||
name: <projectname>-functional
|
||||
|
||||
The actual magic behind the ``<projectname>-functional`` job is
|
||||
found in the Ansible playbook that implements it. See the next step
|
||||
|
@ -319,13 +319,12 @@ going.
|
|||
|
||||
.. code-block:: yaml
|
||||
|
||||
---
|
||||
- hosts: ubuntu-xenial
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Run functional test script
|
||||
command: run-functional-tests.sh
|
||||
args:
|
||||
chdir: "src/{{ zuul.project.canonical_name }}"
|
||||
- name: Run functional test script
|
||||
command: run-functional-tests.sh
|
||||
args:
|
||||
chdir: "src/{{ zuul.project.canonical_name }}"
|
||||
|
||||
This playbook will execute on our host named ``ubuntu-xenial``,
|
||||
which we get for free from the Zuul base job. If you need more
|
||||
|
|
Loading…
Reference in New Issue