summaryrefslogtreecommitdiff
path: root/doc/source/examples/zuul-config/zuul.d/jobs2.yaml
diff options
context:
space:
mode:
authorDavid Shrewsbury <dshrewsb@redhat.com>2020-01-08 15:28:35 -0500
committerDavid Shrewsbury <dshrewsb@redhat.com>2020-01-14 12:47:23 -0500
commite6d8b210cc416ed494b0b0248404e3e6d7ce337c (patch)
tree551d187f801bc05c47136858fed9c598cc7a1ec8 /doc/source/examples/zuul-config/zuul.d/jobs2.yaml
parent1729696c8172107f86d5d49017ff087d59fdf236 (diff)
downloadzuul-e6d8b210cc416ed494b0b0248404e3e6d7ce337c.tar.gz
Documentation reorg
Reorganizing docs as recommended in: https://www.divio.com/blog/documentation/ This is simply a reorganization of the existing documents and changes no content EXCEPT to correct the location of sphinx doc references. Expect followup changes to change document names (to reflect the new structure) and to move content from existing guides (e.g., to move the pipeline/project/job structure definitions out of the "Project Configuration" reference guide into their own reference documents for easier locatability). All documents are now located in either the "overview", "tutorials", "discussions", or "references" subdirectories to reflect the new structure presented to the user. Code examples and images are moved to "examples" and "images" root-level directories. Developer specific documents are located in the "references/developer" directory. Change-Id: I538ffd7409941c53bf42fe64b7acbc146023c1e3
Diffstat (limited to 'doc/source/examples/zuul-config/zuul.d/jobs2.yaml')
-rw-r--r--doc/source/examples/zuul-config/zuul.d/jobs2.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/source/examples/zuul-config/zuul.d/jobs2.yaml b/doc/source/examples/zuul-config/zuul.d/jobs2.yaml
new file mode 100644
index 000000000..8b70ffeca
--- /dev/null
+++ b/doc/source/examples/zuul-config/zuul.d/jobs2.yaml
@@ -0,0 +1,22 @@
+- job:
+ name: base
+ parent: null
+ description: |
+ The recommended base job.
+
+ All jobs ultimately inherit from this. It runs a pre-playbook
+ which copies all of the job's prepared git repos on to all of
+ the nodes in the nodeset.
+
+ It also sets a default timeout value (which may be overidden).
+ pre-run: playbooks/base/pre.yaml
+ post-run:
+ - playbooks/base/post-ssh.yaml
+ - playbooks/base/post-logs.yaml
+ roles:
+ - zuul: zuul/zuul-jobs
+ timeout: 1800
+ nodeset:
+ nodes:
+ - name: ubuntu-bionic
+ label: ubuntu-bionic