blob: 3e99cddb10a944b05e5dd6f039a921516d900847 [file] [log] [blame]
Jan Kundráte3c17462019-01-25 16:45:28 +01001- job:
2 name: run-ci-build-sh
3 description: |
4 Run project's ./ci/build.sh script.
5 run: playbooks/run-test-command/run.yaml
6 vars:
7 test_command: "ci/build.sh"
Jan Kundrát6c3f1e32020-04-07 12:35:12 +02008 perform_extra_work: false
Jan Kundráte61754b2019-02-26 20:32:46 +01009 nodeset:
10 nodes:
11 - name: w
Jan Kundrátde425202020-05-16 13:07:24 +020012 label: f31
Jan Kundrátd04e41b2020-04-20 23:33:06 +020013 timeout: 900
Jan Kundráta4e3c1c2020-04-20 16:16:25 +020014
15- job:
16 name: run-ci-build-sh-f31
Jan Kundrát9a616d52020-05-16 13:09:55 +020017 parent: run-ci-build-sh
Jan Kundrátfbc591e2019-02-26 17:52:58 +010018
19- job:
Jan Kundrát4ef70502020-10-17 02:09:18 +020020 name: run-ci-build-sh-f32
21 parent: run-ci-build-sh
22 nodeset:
23 nodes:
24 - name: w
25 label: f32
26
27- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020028 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010029 parent: publish-artifacts-tenant
30 description: |
31 Retrieve all artifacts built by the last matching run in the check
32 pipeline, and promote them into a permanent location in the log server.
33 This is intended to be run within a promote pipeline.
Jan Kundráte61754b2019-02-26 20:32:46 +010034 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020035 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010036
Jan Kundrát770ef6e2020-04-20 16:19:58 +020037# TODO: this should be renamed and replace cpp-coverage-diff once we no longer have Fedora 29
38- job:
39 name: f31-cpp-coverage-diff
40 description: |
41 Report how coverage changed compared to the previous state of the repo.
42 nodeset:
43 nodes:
44 - name: w
45 label: f31-small
46 timeout: 120
47 pre-run: playbooks/coverage-diff/prepare.yaml
48 run: playbooks/coverage-diff/generate.yaml
49 post-run: playbooks/coverage-diff/upload-diff.yaml
50 success-url: coverage-diff.html
51 failure-url: coverage-diff.html
52 requires:
53 - coverage-f31-gcc-old
54 - coverage-f31-gcc-new
55 dependencies:
56 - f31-gcc-cover
57 - f31-gcc-cover-previous
58 vars:
59 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
60 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
61 coverage_job_name_previous: f31-gcc-cover-previous
62 coverage_job_name_current: f31-gcc-cover
63
Jan Kundráte61754b2019-02-26 20:32:46 +010064- job:
Jan Kundrátfd2386f2019-02-27 17:41:23 +010065 name: clang-format
66 description: |
67 Lint the current change via git-clang-format
68 run: playbooks/clang-format/run.yaml
69 failure-url: git-clang-format.patch
70 nodeset:
71 nodes:
Jan Kundrát770ef6e2020-04-20 16:19:58 +020072 - name: bld
73 label: f31-small
Jan Kundrátfd2386f2019-02-27 17:41:23 +010074 timeout: 120
Jan Kundrátf1ee8582020-04-19 21:21:38 +020075
76- job:
Jan Kundrátf1ee8582020-04-19 21:21:38 +020077 name: f31-gcc
78 description: |
79 Build on Fedora 31 with GCC.
80 parent: run-ci-build-sh-f31
81 vars:
82 perform_extra_work: true
83
84- job:
85 name: f31-gcc-cover
86 description: |
87 Build on Fedora 31 with GCC and code coverage.
88 parent: f31-gcc
89 post-run: playbooks/coverage-diff/upload-one-report.yaml
90 provides: coverage-f31-gcc-new
91 vars:
92 coverage_xml_dir: "{{ ansible_user_dir }}/build"
93
94- job:
95 name: f31-gcc-cover-previous
96 description: |
97 Build previous version of sources on Fedora 31 with GCC and code coverage.
98 parent: f31-gcc-cover
99 pre-run: playbooks/coverage-diff/checkout-previous.yaml
100 provides: coverage-f31-gcc-old
101 voting: false
102 vars:
103 coverage_xml_dir: "{{ ansible_user_dir }}/build"
104
105- job:
106 name: f31-gcc-asan
107 description: |
108 Build on Fedora 31 with GCC and ASAN sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200109 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200110
111- job:
112 name: f31-gcc-asan-ubsan
113 description: |
114 Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200115 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200116
117- job:
118 name: f31-clang
119 description: |
120 Build on Fedora 31 with clang.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200121 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200122
123- job:
124 name: f31-clang-asan
125 description: |
126 Build on Fedora 31 with clang and ASAN sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200127 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200128
129- job:
130 name: f31-clang-asan-ubsan
131 description: |
132 Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200133 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200134
135- job:
136 name: f31-clang-tsan
137 description: |
138 Build on Fedora 31 with clang and TSAN thread sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200139 parent: run-ci-build-sh-f31
Jan Kundrát4ef70502020-10-17 02:09:18 +0200140
141# Fedora 32
142- job:
143 name: f32-gcc
144 description: |
145 Build on Fedora 31 with GCC.
146 parent: run-ci-build-sh-f32
147 vars:
148 perform_extra_work: true
149
150- job:
151 name: f32-gcc-cover
152 description: |
153 Build on Fedora 31 with GCC and code coverage.
154 parent: f32-gcc
155 post-run: playbooks/coverage-diff/upload-one-report.yaml
156 provides: coverage-f32-gcc-new
157 vars:
158 coverage_xml_dir: "{{ ansible_user_dir }}/build"
159
160- job:
161 name: f32-gcc-cover-previous
162 description: |
163 Build previous version of sources on Fedora 31 with GCC and code coverage.
164 parent: f32-gcc-cover
165 pre-run: playbooks/coverage-diff/checkout-previous.yaml
166 provides: coverage-f32-gcc-old
167 voting: false
168 vars:
169 coverage_xml_dir: "{{ ansible_user_dir }}/build"
170
171- job:
172 name: f32-gcc-asan
173 description: |
174 Build on Fedora 31 with GCC and ASAN sanitizer.
175 parent: run-ci-build-sh-f32
176
177- job:
178 name: f32-gcc-asan-ubsan
179 description: |
180 Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
181 parent: run-ci-build-sh-f32
182
183- job:
184 name: f32-clang
185 description: |
186 Build on Fedora 31 with clang.
187 parent: run-ci-build-sh-f32
188
189- job:
190 name: f32-clang-asan
191 description: |
192 Build on Fedora 31 with clang and ASAN sanitizer.
193 parent: run-ci-build-sh-f32
194
195- job:
196 name: f32-clang-asan-ubsan
197 description: |
198 Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
199 parent: run-ci-build-sh-f32
200
201- job:
202 name: f32-clang-tsan
203 description: |
204 Build on Fedora 31 with clang and TSAN thread sanitizer.
205 parent: run-ci-build-sh-f32
Jan Kundrát70681c42020-10-17 20:10:30 +0200206
207- job:
208 name: f32-cpp-coverage-diff
209 description: |
210 Report how coverage changed compared to the previous state of the repo.
211 nodeset:
212 nodes:
213 - name: w
214 label: f32-small
215 timeout: 120
216 pre-run: playbooks/coverage-diff/prepare.yaml
217 run: playbooks/coverage-diff/generate.yaml
218 post-run: playbooks/coverage-diff/upload-diff.yaml
219 success-url: coverage-diff.html
220 failure-url: coverage-diff.html
221 requires:
222 - coverage-f32-gcc-old
223 - coverage-f32-gcc-new
224 dependencies:
225 - f32-gcc-cover
226 - f32-gcc-cover-previous
227 vars:
228 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
229 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
230 coverage_job_name_previous: f32-gcc-cover-previous
231 coverage_job_name_current: f32-gcc-cover