Skip to content

Commit dac5578

Browse files
committed
Update base job
1 parent ac627fb commit dac5578

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

zuul.d/jobs.yaml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,38 @@
33
name: base
44
parent: null
55
description: |
6-
The recommended base job.
6+
The base job for StackHPC's installation of Zuul.
77
88
All jobs ultimately inherit from this. It runs a pre-playbook
99
which copies all of the job's prepared git repos on to all of
10-
the nodes in the nodeset.
10+
the nodes in the nodeset. It runs a post-playbook which copies
11+
all of the files in the logs/ subdirectory of the executor
12+
work directory to the logserver.
13+
14+
It also sets default timeout and nodeset values (which may be
15+
overidden).
16+
17+
Responds to these variables:
18+
19+
.. zuul:jobvar:: base_serial
20+
:default: Omitted
21+
22+
This sets the serial keyword in the pre and post playbooks
23+
which can be an integer or percentage.
24+
25+
See ansible documentation for more information:
26+
http://docs.ansible.com/ansible/latest/playbooks_delegation.html
1127
12-
It also sets a default timeout value (which may be overidden).
1328
pre-run: playbooks/base/pre.yaml
1429
post-run:
30+
- name: playbooks/base/post.yaml
1531
- name: playbooks/base/cleanup.yaml
1632
cleanup: true
1733
- playbooks/base/post-logs.yaml
1834
roles:
1935
- zuul: zuul/zuul-jobs
2036
timeout: 1800
37+
post-timeout: 1800
2138
nodeset:
2239
nodes:
2340
- name: ubuntu-jammy

0 commit comments

Comments
 (0)