blob: 2db7a78c606184adc856eac1bb0e418e40ff8c93 [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
12 label: f29
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
17 description: |
18 Run project's ./ci/build.sh script.
19 run: playbooks/run-test-command/run.yaml
20 vars:
21 test_command: "ci/build.sh"
22 perform_extra_work: false
23 nodeset:
24 nodes:
25 - name: w
26 label: f31
Jan Kundráte61754b2019-02-26 20:32:46 +010027 timeout: 900
Jan Kundrátfbc591e2019-02-26 17:52:58 +010028
29- job:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020030 name: promote-artifacts
Jan Kundrátfbc591e2019-02-26 17:52:58 +010031 parent: publish-artifacts-tenant
32 description: |
33 Retrieve all artifacts built by the last matching run in the check
34 pipeline, and promote them into a permanent location in the log server.
35 This is intended to be run within a promote pipeline.
Jan Kundráte61754b2019-02-26 20:32:46 +010036 nodeset:
Jan Kundrát3f9aa4b2019-06-05 23:25:38 +020037 nodes: []
Jan Kundráte61754b2019-02-26 20:32:46 +010038
39- job:
40 name: f29-gcc
41 description: |
42 Build on Fedora 29 with GCC.
43 parent: run-ci-build-sh
Jan Kundrát6c3f1e32020-04-07 12:35:12 +020044 vars:
45 perform_extra_work: true
Jan Kundrát6fd186a2020-04-08 02:46:52 +020046
47- job:
48 name: f29-gcc-cover
49 description: |
Jan Kundrát473cdf52020-04-14 13:34:33 +020050 Build on Fedora 29 with GCC and code coverage.
Jan Kundrát6fd186a2020-04-08 02:46:52 +020051 parent: f29-gcc
Jan Kundrát473cdf52020-04-14 13:34:33 +020052 post-run: playbooks/coverage-diff/upload-one-report.yaml
53 provides: coverage-f29-gcc-new
Jan Kundrát6fd186a2020-04-08 02:46:52 +020054 vars:
Jan Kundrát3a016432020-04-07 22:47:49 +020055 coverage_xml_dir: "{{ ansible_user_dir }}/build"
56
57- job:
Jan Kundrát473cdf52020-04-14 13:34:33 +020058 name: f29-gcc-cover-previous
Jan Kundrát3a016432020-04-07 22:47:49 +020059 description: |
Jan Kundrát473cdf52020-04-14 13:34:33 +020060 Build previous version of sources on Fedora 29 with GCC and code coverage.
61 parent: f29-gcc-cover
62 pre-run: playbooks/coverage-diff/checkout-previous.yaml
63 provides: coverage-f29-gcc-old
64 voting: false
Jan Kundrát3a016432020-04-07 22:47:49 +020065 vars:
66 coverage_xml_dir: "{{ ansible_user_dir }}/build"
Jan Kundrát473cdf52020-04-14 13:34:33 +020067
68- job:
69 name: cpp-coverage-diff
70 description: |
71 Report how coverage changed compared to the previous state of the repo.
72 nodeset:
73 nodes:
74 - name: w
75 label: f29
76 timeout: 120
77 pre-run: playbooks/coverage-diff/prepare.yaml
78 run: playbooks/coverage-diff/generate.yaml
79 post-run: playbooks/coverage-diff/upload-diff.yaml
80 success-url: coverage-diff.html
81 failure-url: coverage-diff.html
82 requires:
83 - coverage-f29-gcc-old
84 - coverage-f29-gcc-new
85 dependencies:
86 - f29-gcc-cover
87 - f29-gcc-cover-previous
88 vars:
89 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
90 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
91 coverage_job_name_previous: f29-gcc-cover-previous
92 coverage_job_name_current: f29-gcc-cover
Jan Kundráte61754b2019-02-26 20:32:46 +010093
Jan Kundrát770ef6e2020-04-20 16:19:58 +020094# TODO: this should be renamed and replace cpp-coverage-diff once we no longer have Fedora 29
95- job:
96 name: f31-cpp-coverage-diff
97 description: |
98 Report how coverage changed compared to the previous state of the repo.
99 nodeset:
100 nodes:
101 - name: w
102 label: f31-small
103 timeout: 120
104 pre-run: playbooks/coverage-diff/prepare.yaml
105 run: playbooks/coverage-diff/generate.yaml
106 post-run: playbooks/coverage-diff/upload-diff.yaml
107 success-url: coverage-diff.html
108 failure-url: coverage-diff.html
109 requires:
110 - coverage-f31-gcc-old
111 - coverage-f31-gcc-new
112 dependencies:
113 - f31-gcc-cover
114 - f31-gcc-cover-previous
115 vars:
116 previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
117 coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
118 coverage_job_name_previous: f31-gcc-cover-previous
119 coverage_job_name_current: f31-gcc-cover
120
Jan Kundráte61754b2019-02-26 20:32:46 +0100121- job:
122 name: f29-gcc-asan
123 description: |
124 Build on Fedora 29 with GCC and ASAN sanitizer.
125 parent: run-ci-build-sh
126
127- job:
128 name: f29-gcc-asan-ubsan
129 description: |
130 Build on Fedora 29 with GCC and ASAN+UBSAN sanitizers.
131 parent: run-ci-build-sh
132
133- job:
134 name: f29-clang
135 description: |
136 Build on Fedora 29 with clang.
137 parent: run-ci-build-sh
138
139- job:
140 name: f29-clang-asan
141 description: |
142 Build on Fedora 29 with clang and ASAN sanitizer.
143 parent: run-ci-build-sh
144
145- job:
146 name: f29-clang-asan-ubsan
147 description: |
148 Build on Fedora 29 with clang and ASAN+UBSAN sanitizers.
149 parent: run-ci-build-sh
Jan Kundrátfd2386f2019-02-27 17:41:23 +0100150
151- job:
Jan Kundrát354353b2019-03-11 14:12:21 +0100152 name: f29-clang-tsan
153 description: |
154 Build on Fedora 29 with clang and TSAN thread sanitizer.
155 parent: run-ci-build-sh
156
157- job:
Jan Kundrátfd2386f2019-02-27 17:41:23 +0100158 name: clang-format
159 description: |
160 Lint the current change via git-clang-format
161 run: playbooks/clang-format/run.yaml
162 failure-url: git-clang-format.patch
163 nodeset:
164 nodes:
Jan Kundrát770ef6e2020-04-20 16:19:58 +0200165 - name: bld
166 label: f31-small
Jan Kundrátfd2386f2019-02-27 17:41:23 +0100167 timeout: 120
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200168
169- job:
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200170 name: f31-gcc
171 description: |
172 Build on Fedora 31 with GCC.
173 parent: run-ci-build-sh-f31
174 vars:
175 perform_extra_work: true
176
177- job:
178 name: f31-gcc-cover
179 description: |
180 Build on Fedora 31 with GCC and code coverage.
181 parent: f31-gcc
182 post-run: playbooks/coverage-diff/upload-one-report.yaml
183 provides: coverage-f31-gcc-new
184 vars:
185 coverage_xml_dir: "{{ ansible_user_dir }}/build"
186
187- job:
188 name: f31-gcc-cover-previous
189 description: |
190 Build previous version of sources on Fedora 31 with GCC and code coverage.
191 parent: f31-gcc-cover
192 pre-run: playbooks/coverage-diff/checkout-previous.yaml
193 provides: coverage-f31-gcc-old
194 voting: false
195 vars:
196 coverage_xml_dir: "{{ ansible_user_dir }}/build"
197
198- job:
199 name: f31-gcc-asan
200 description: |
201 Build on Fedora 31 with GCC and ASAN sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200202 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200203
204- job:
205 name: f31-gcc-asan-ubsan
206 description: |
207 Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200208 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200209
210- job:
211 name: f31-clang
212 description: |
213 Build on Fedora 31 with clang.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200214 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200215
216- job:
217 name: f31-clang-asan
218 description: |
219 Build on Fedora 31 with clang and ASAN sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200220 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200221
222- job:
223 name: f31-clang-asan-ubsan
224 description: |
225 Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200226 parent: run-ci-build-sh-f31
Jan Kundrátf1ee8582020-04-19 21:21:38 +0200227
228- job:
229 name: f31-clang-tsan
230 description: |
231 Build on Fedora 31 with clang and TSAN thread sanitizer.
Jan Kundráta4e3c1c2020-04-20 16:16:25 +0200232 parent: run-ci-build-sh-f31