blob: 33cafe4a16f31eb081babbe35c72d0e3c8a4ad97 [file] [log] [blame]
SF initial configuratora26c41e2022-10-06 13:33:13 +03001# This file is managed by ansible, do not edit directly
2---
3- job:
4 name: base
5 parent: null
6 description: The base job.
7 pre-run: playbooks/base/pre.yaml
8 post-run:
9 - playbooks/base/post.yaml
10 roles:
11 - zuul: sf-jobs
12 - zuul: zuul/zuul-jobs
13 extra-vars:
14 zuul_use_fetch_output: true
15 timeout: 1800
16 attempts: 3
17 secrets:
18 - site_sflogs
19 nodeset:
20 nodes:
21 - name: container
22 label: runc-centos
23
24- semaphore:
25 name: semaphore-config-update
26 max: 1
27
28- job:
29 name: config-check
30 parent: base
31 final: true
32 allowed-projects:
33 - config
34 description: Validate the config repo.
35 run: playbooks/config/check.yaml
36 post-run: playbooks/config/check-fetch-artifacts.yaml
37 secrets:
38 - service_user
39 vars:
40 zuul_log_url: "https://spfactory.storpool.com/logs"
41 gateway_url: "https://spfactory.storpool.com"
42 tenant_config: False
43 nodeset:
44 nodes: []
45
46- job:
47 name: config-update
48 parent: base
49 final: true
50 allowed-projects:
51 - config
52 description: Deploy config repo update.
53 run: playbooks/config/config-update.yaml
54 secrets:
55 - site_install_server
56 semaphore: semaphore-config-update
57 nodeset:
58 nodes: []
59
60- project:
61 name: config
62 check:
63 jobs:
64 - config-check
65 gate:
66 jobs:
67 - config-check
68 post:
69 jobs:
70 - config-update
71
72
73- project:
74 name: sf-jobs
75 check:
76 jobs:
77 - linters:
78 vars:
79 linters: [flake8, yamllint]
80 gate:
81 jobs:
82 - linters:
83 vars:
84 linters: [flake8, yamllint]
85
86
87- job:
88 name: wait-for-changes-ahead
89 parent: null
90 timeout: 7200
91 nodeset:
92 nodes: []
93 vars:
94 zuul_web_url: "https://spfactory.storpool.com/zuul"
95 description: |
96 This job wait for the queue ahead to be empty.
97
98 Responds to these variables:
99
100 .. zuul:jobvar:: zuul_web_url
101
102 The zuul web api url.
103
104 .. zuul:jobvar:: wait_timeout
105 :default: 120
106
107 Wait timeout in minutes.
108
109 run: playbooks/wait-for-changes-ahead.yaml