3 name: '{project-name}-rtd-jobs'
10 name: '{project-name}-github-rtd-jobs'
20 - lf_rtd_common: &lf_rtd_common
23 ######################
24 # Default parameters #
25 ######################
27 gerrit_trigger_file_paths:
37 project-type: freestyle
41 - lf-infra-properties:
45 - lf-infra-parameters:
48 refspec: 'refs/heads/{branch}'
50 lftools-version: '{lftools-version}'
54 build-timeout: '{build-timeout}'
55 jenkins-ssh-credential: '{jenkins-ssh-credential}'
64 - lf_rtd_merge: &lf_rtd_merge
67 ######################
68 # Default parameters #
69 ######################
74 git-url: https://github.com
77 submodule-recursive: true
79 gerrit_merge_triggers:
81 - comment-added-contains-event:
82 comment-contains-value: remerge$
89 - lf-rtd-trigger-build:
90 rtd-project: '{rtd-project}'
93 name: '{project-name}-rtd-merge-{stream}'
96 # yamllint disable-line rule:key-duplicates
101 server-name: '{gerrit-server-name}'
102 trigger-on: '{obj:gerrit_merge_triggers}'
104 - project-compare-type: 'ANT'
105 project-pattern: '{project-pattern}'
107 - branch-compare-type: 'ANT'
108 branch-pattern: '**/{branch}'
109 file-paths: '{obj:gerrit_trigger_file_paths}'
112 name: '{project-name}-rtd-merge-{stream}'
115 # yamllint disable-line rule:key-duplicates
120 url: '{git-url}/{github-org}/{project}'
123 - lf-infra-github-pr-trigger:
124 trigger-phrase: '^remerge$'
125 only-trigger-phrase: false
126 status-context: 'RTD Merge'
132 github_pr_admin_list:
140 - lf_rtd_verify: &lf_rtd_verify
143 ######################
144 # Default parameters #
145 ######################
148 build-days-to-keep: 7
150 doc-dir: docs/_build/html
151 git-url: '$GIT_URL/$PROJECT'
152 project-pattern: '**'
154 submodule-recursive: true
156 gerrit_verify_triggers:
157 - patchset-created-event:
159 exclude-trivial-rebase: false
160 exclude-no-code-change: false
161 - draft-published-event
162 - comment-added-contains-event:
163 comment-contains-value: recheck$
165 #####################
166 # Job Configuration #
167 #####################
174 name: '{project-name}-rtd-verify-{stream}'
175 id: gerrit-rtd-verify
178 # yamllint disable-line rule:key-duplicates
182 - lf-infra-gerrit-scm:
183 branch: '$GERRIT_BRANCH'
184 jenkins-ssh-credential: '{jenkins-ssh-credential}'
186 refspec: '' # Leave blank!! A later script will handle fetching
187 submodule-recursive: '{submodule-recursive}'
188 choosing-strategy: default
192 server-name: '{gerrit-server-name}'
193 trigger-on: '{obj:gerrit_verify_triggers}'
195 - project-compare-type: 'ANT'
196 project-pattern: '{project-pattern}'
198 - branch-compare-type: 'ANT'
199 branch-pattern: '**/{branch}'
200 file-paths: '{obj:gerrit_trigger_file_paths}'
203 name: '{project-name}-rtd-verify-{stream}'
204 id: github-rtd-verify
207 # yamllint disable-line rule:key-duplicates
212 url: '{git-url}/{github-org}/{project}'
215 - lf-infra-github-scm:
216 url: '{git-clone-url}{github-org}/{project}'
217 refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
219 submodule-recursive: '{submodule-recursive}'
220 choosing-strategy: default
221 jenkins-ssh-credential: '{jenkins-ssh-credential}'
224 - lf-infra-github-pr-trigger:
225 trigger-phrase: '^recheck$'
226 only-trigger-phrase: false
227 status-context: 'RTD Verify'
233 github_pr_admin_list: