-
Notifications
You must be signed in to change notification settings - Fork 9
/
jobs.yaml
56 lines (48 loc) · 1.19 KB
/
jobs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
- job:
name: base
parent: null
description: The base job
pre-run: playbooks/base/pre.yaml
post-run:
- playbooks/base/post.yaml
roles:
- zuul: zuul/zuul-jobs
extra-vars:
zuul_use_fetch_output: true
timeout: 1800
attempts: 2
secrets:
- site_sflogs
nodeset:
nodes:
- name: container
label: cloud-centos-9-stream
- job:
name: linters
description: |
Run linters.
Responds to these variables:
.. zuul:jobvar:: linters
:default: [flake8,doc8,bashate,yamllint,ansible-lint,golint]
List of linters to execute.
.. zuul:jobvar:: ansible_lint_roles_dir
Set this variable to the Ansible roles directory.
run: playbooks/linters/run.yaml
- job:
name: pre-commit
description: Install and run pre-commit
parent: base
run: playbooks/pre-commit.yaml
- job:
name: oc-cluster-up
parent: base
attempts: 1
description: Deploy Openshift v3 cluster
pre-run:
- playbooks/oc-cluster-up.yaml
nodeset:
nodes:
- name: test-node
# Can't use newer (>30) fedora because of Cgroups v2
label: cloud-centos-7