6 - lf_rtd_common: &lf_rtd_common
10 # Default parameters #
11 ######################
13 gerrit_trigger_file_paths:
14 - compare-type: REG_EXP
16 - compare-type: REG_EXP
18 - compare-type: REG_EXP
20 - compare-type: REG_EXP
21 pattern: '.*\/conf.py'
23 # github_included_regions MUST match gerrit_trigger_file_paths
24 github_included_regions:
34 project-type: freestyle
38 - lf-infra-properties:
42 - lf-infra-parameters:
45 refspec: "refs/heads/{branch}"
50 build-timeout: "{build-timeout}"
51 jenkins-ssh-credential: "{jenkins-ssh-credential}"
60 - lf_rtd_merge: &lf_rtd_merge
63 ######################
64 # Default parameters #
65 ######################
71 git-url: https://github.com
72 github-url: "https://github.com"
75 submodule-recursive: true
77 gerrit_merge_triggers:
79 - comment-added-contains-event:
80 comment-contains-value: '^Patch Set\s+\d+:\s+remerge\s*$'
86 disabled: "{disable-job}"
90 - lf-rtd-trigger-build:
91 rtd-build-url: "{rtd-build-url}"
92 rtd-token: "{rtd-token}"
95 name: "{project-name}-rtd-merge-{stream}"
98 # yamllint disable-line rule:key-duplicates
103 server-name: "{gerrit-server-name}"
104 trigger-on: "{obj:gerrit_merge_triggers}"
106 - project-compare-type: "ANT"
107 project-pattern: "{project-pattern}"
109 - branch-compare-type: "ANT"
110 branch-pattern: "**/{branch}"
111 - branch-compare-type: "ANT"
112 branch-pattern: "refs/tags/**"
113 file-paths: "{obj:gerrit_trigger_file_paths}"
116 name: "{project-name}-rtd-merge-{stream}"
119 # yamllint disable-line rule:key-duplicates
123 - lf-infra-properties:
124 build-days-to-keep: "{build-days-to-keep}"
126 url: "{github-url}/{github-org}/{project}"
133 - github-pull-request:
134 trigger-phrase: "^remerge$"
135 only-trigger-phrase: true
136 status-context: "RTD Merge"
141 white-list: "{obj:github_pr_allowlist}"
142 admin-list: "{obj:github_pr_admin_list}"
143 included-regions: "{obj:github_included_regions}"
144 white-list-target-branches:
151 - lf_rtd_verify: &lf_rtd_verify
154 ######################
155 # Default parameters #
156 ######################
159 build-days-to-keep: 7
162 doc-dir: docs/_build/html
163 git-url: "$GIT_URL/$PROJECT"
164 github-url: "https://github.com"
165 project-pattern: "**"
166 python-version: python3
168 submodule-recursive: true
169 submodule-timeout: 10
170 submodule-disable: false
171 gerrit-skip-vote: false
173 gerrit_verify_triggers:
174 - patchset-created-event:
176 exclude-trivial-rebase: false
177 exclude-no-code-change: false
178 - draft-published-event
179 - comment-added-contains-event:
180 comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
182 #####################
183 # Job Configuration #
184 #####################
186 disabled: "{disable-job}"
192 python-version: "{python-version}"
195 name: "{project-name}-rtd-verify-{stream}"
196 id: gerrit-rtd-verify
199 # yamllint disable-line rule:key-duplicates
203 - lf-infra-gerrit-scm:
204 branch: "$GERRIT_BRANCH"
205 jenkins-ssh-credential: "{jenkins-ssh-credential}"
207 refspec: "" # Leave blank!! A later script will handle fetching
208 submodule-recursive: "{submodule-recursive}"
209 submodule-timeout: "{submodule-timeout}"
210 submodule-disable: "{submodule-disable}"
211 choosing-strategy: default
215 server-name: "{gerrit-server-name}"
216 trigger-on: "{obj:gerrit_verify_triggers}"
218 - project-compare-type: "ANT"
219 project-pattern: "{project-pattern}"
221 - branch-compare-type: "ANT"
222 branch-pattern: "**/{branch}"
223 file-paths: "{obj:gerrit_trigger_file_paths}"
225 successful: "{gerrit-skip-vote}"
226 failed: "{gerrit-skip-vote}"
227 unstable: "{gerrit-skip-vote}"
228 notbuilt: "{gerrit-skip-vote}"
231 name: "{project-name}-rtd-verify-{stream}"
232 id: github-rtd-verify
235 # yamllint disable-line rule:key-duplicates
239 - lf-infra-properties:
240 build-days-to-keep: "{build-days-to-keep}"
242 url: "{github-url}/{github-org}/{project}"
245 - lf-infra-github-scm:
246 url: "{git-clone-url}{github-org}/{project}"
247 refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
249 submodule-recursive: "{submodule-recursive}"
250 submodule-timeout: "{submodule-timeout}"
251 submodule-disable: "{submodule-disable}"
252 choosing-strategy: default
253 jenkins-ssh-credential: "{jenkins-ssh-credential}"
256 - github-pull-request:
257 trigger-phrase: "^(recheck|reverify)$"
258 only-trigger-phrase: false
259 status-context: "RTD Verify"
262 included-regions: "{obj:github_included_regions}"
263 white-list-target-branches: