7 name: lf-infra-clm-python
10 properties-content: "CLM_PROJECT_NAME={clm-project-name}"
11 - shell: !include-raw-escape: ../shell/nexus-iq-cli.sh
14 name: lf-infra-pypi-tag-release
16 - config-file-provider:
18 - file-id: sigul-config
19 variable: SIGUL_CONFIG
20 - file-id: sigul-password
21 variable: SIGUL_PASSWORD
24 - file-id: signing-pubkey
25 variable: SIGNING_PUBKEY
26 - shell: !include-raw: ../shell/sigul-configuration.sh
27 - shell: !include-raw: ../shell/sigul-install.sh
28 - shell: !include-raw: ../shell/pypi-tag-release.sh
31 name: lf-infra-pypi-upload
33 - config-file-provider:
36 target: "$HOME/.pypirc"
38 properties-content: "REPOSITORY={pypi-repo}"
39 - shell: !include-raw-escape: ../shell/pypi-upload.sh
42 name: lf-infra-tox-install
45 properties-content: "PYTHON={python-version}"
46 - shell: !include-raw-escape: ../shell/tox-install.sh
49 name: lf-infra-tox-run
52 properties-content: "PARALLEL={parallel}"
53 - shell: !include-raw-escape: ../shell/tox-run.sh
59 - lf_python_common: &lf_python_common
60 name: lf-python-common
62 ######################
63 # Default parameters #
64 ######################
73 project-type: freestyle
77 - lf-infra-properties:
78 build-days-to-keep: "{build-days-to-keep}"
81 - lf-infra-parameters:
88 build-timeout: "{build-timeout}"
89 jenkins-ssh-credential: "{jenkins-ssh-credential}"
98 - lf_python_clm_xc: &lf_python_xc_clm
99 name: lf-python-xc-clm
101 ######################
102 # Default parameters #
103 ######################
106 build-days-to-keep: 30 # 30 days for troubleshooting purposes
109 git-url: "$GIT_URL/$PROJECT"
110 github-url: "https://github.com"
111 java-version: openjdk8
112 nexus-iq-cli-version: 1.44.0-01
113 nexus-iq-namespace: "" # Recommend a trailing dash when set. Example: odl-
114 pre-build-script: "# pre-build script goes here"
116 submodule-recursive: true
117 submodule-timeout: 10
118 submodule-disable: false
120 gerrit_trigger_file_paths:
124 # github_included_regions MUST match gerrit_trigger_file_paths
125 github_included_regions:
128 #####################
129 # Job Configuration #
130 #####################
132 disabled: "{disable-job}"
135 - lf-infra-parameters:
140 name: NEXUS_IQ_CLI_VERSION
141 default: "{nexus-iq-cli-version}"
142 description: Nexus IQ CLI package to download and use.
145 - credentials-binding:
146 - username-password-separated:
147 credential-id: nexus-iq-xc-clm
149 password: CLM_PASSWORD
151 - lf-update-java-alternatives:
152 java-version: "{java-version}"
153 - shell: "{pre-build-script}"
154 - lf-infra-clm-python:
155 clm-project-name: "{nexus-iq-namespace}{project-name}"
158 name: "{project-name}-python-clm-{stream}"
159 id: gerrit-python-xc-clm
160 <<: *lf_python_common
161 # yamllint disable-line rule:key-duplicates
162 <<: *lf_python_xc_clm
164 ######################
165 # Default parameters #
166 ######################
169 - comment-added-contains-event:
170 comment-contains-value: '^Patch Set\s+\d+:\s+run-clm\s*$'
172 #####################
173 # Job Configuration #
174 #####################
177 - lf-infra-gerrit-scm:
178 jenkins-ssh-credential: "{jenkins-ssh-credential}"
180 refspec: "$GERRIT_REFSPEC"
181 branch: "$GERRIT_BRANCH"
182 submodule-recursive: "{submodule-recursive}"
183 submodule-timeout: "{submodule-timeout}"
184 submodule-disable: "{submodule-disable}"
185 choosing-strategy: default
188 # Build weekly on Saturdays
191 server-name: "{gerrit-server-name}"
192 trigger-on: "{obj:gerrit_clm_triggers}"
194 - project-compare-type: ANT
195 project-pattern: "{project}"
197 - branch-compare-type: ANT
198 branch-pattern: "**/{branch}"
199 file-paths: "{obj:gerrit_trigger_file_paths}"
207 name: "{project-name}-python-clm-{stream}"
208 id: github-python-xc-clm
209 <<: *lf_python_common
210 # yamllint disable-line rule:key-duplicates
211 <<: *lf_python_xc_clm
214 - lf-infra-properties:
215 build-days-to-keep: "{build-days-to-keep}"
217 url: "{github-url}/{github-org}/{project}"
220 - lf-infra-github-scm:
221 url: "{git-clone-url}{github-org}/{project}"
223 branch: "refs/heads/{branch}"
224 submodule-recursive: "{submodule-recursive}"
225 submodule-timeout: "{submodule-timeout}"
226 submodule-disable: "{submodule-disable}"
227 choosing-strategy: default
228 jenkins-ssh-credential: "{jenkins-ssh-credential}"
231 # Build weekly on Saturdays
233 - github-pull-request:
234 trigger-phrase: "^run-clm$"
235 only-trigger-phrase: false
236 status-context: "CLM"
239 white-list-target-branches:
241 included-regions: "{obj:github_included_regions}"
243 #########################
244 # Python Sonar with Tox #
245 #########################
247 - lf_tox_sonar: &lf_tox_sonar
250 ######################
251 # Default parameters #
252 ######################
254 branch: master # Sonar should always be run on master branch
255 build-days-to-keep: 7
257 cron: "H H * * *" # run daily
259 git-url: "$GIT_URL/$PROJECT"
260 github-url: "https://github.com"
261 java-version: openjdk8
262 mvn-global-settings: global-settings
264 mvn-settings: "{mvn-settings}"
267 pre-build-script: "# pre-build script goes here"
268 python-version: python3
269 sonar-mvn-goal: "sonar:sonar"
271 submodule-recursive: true
272 submodule-timeout: 10
273 submodule-disable: false
275 gerrit_trigger_file_paths:
276 - compare-type: REG_EXP
279 # github_included_regions MUST match gerrit_trigger_file_paths
280 github_included_regions:
283 #####################
284 # Job Configuration #
285 #####################
287 disabled: "{disable-job}"
290 - lf-infra-parameters:
295 name: ARCHIVE_ARTIFACTS
296 default: "{archive-artifacts}"
297 description: Artifacts to archive to the logs server.
300 # Sets an env var for shell scripts to be able to call the dynamically
301 # installed maven without having to calculate the path themselves.
302 # yamllint disable-line rule:line-length
303 default: "/w/tools/hudson.tasks.Maven_MavenInstallation/{mvn-version}/bin/mvn"
304 description: "Maven selector to be used by shell scripts"
306 name: SONAR_MAVEN_GOAL
307 default: "{sonar-mvn-goal}"
309 Maven goals to pass to the Sonar call. Typically sonar:sonar
310 however to use a specific version of the sonar-maven-plugin we
311 can call "org.codehaus.mojo:sonar-maven-plugin:3.3.0.603:sonar".
315 - lf-infra-tox-install:
316 python-version: "{python-version}"
317 - shell: "{pre-build-script}"
319 parallel: "{parallel}"
320 - lf-provide-maven-settings:
321 global-settings-file: "{mvn-global-settings}"
322 settings-file: "{mvn-settings}"
323 - lf-infra-maven-sonar:
324 java-version: "{java-version}"
325 mvn-goals: "{mvn-goals}"
326 mvn-settings: "{mvn-settings}"
327 mvn-version: "{mvn-version}"
333 name: "{project-name}-tox-sonar"
335 <<: *lf_python_common
336 # yamllint disable-line rule:key-duplicates
339 ######################
340 # Default parameters #
341 ######################
343 gerrit_sonar_triggers:
344 - comment-added-contains-event:
345 comment-contains-value: '^Patch Set\s+\d+:\s+run-sonar\s*$'
347 #####################
348 # Job Configuration #
349 #####################
352 - lf-infra-gerrit-scm:
353 jenkins-ssh-credential: "{jenkins-ssh-credential}"
355 refspec: $GERRIT_REFSPEC
356 branch: $GERRIT_BRANCH
357 submodule-recursive: "{submodule-recursive}"
358 submodule-timeout: "{submodule-timeout}"
359 submodule-disable: "{submodule-disable}"
360 choosing-strategy: default
363 - timed: "{obj:cron}"
365 server-name: "{gerrit-server-name}"
366 trigger-on: "{obj:gerrit_sonar_triggers}"
368 - project-compare-type: "ANT"
369 project-pattern: "{project}"
371 - branch-compare-type: "ANT"
372 branch-pattern: "**/{branch}"
373 file-paths: "{obj:gerrit_trigger_file_paths}"
381 name: "{project-name}-tox-sonar"
383 <<: *lf_python_common
384 # yamllint disable-line rule:key-duplicates
388 - lf-infra-properties:
389 build-days-to-keep: "{build-days-to-keep}"
391 url: "{github-url}/{github-org}/{project}"
394 - lf-infra-github-scm:
395 url: "{git-clone-url}{github-org}/{project}"
396 refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
398 submodule-recursive: "{submodule-recursive}"
399 submodule-timeout: "{submodule-timeout}"
400 submodule-disable: "{submodule-disable}"
401 choosing-strategy: default
402 jenkins-ssh-credential: "{jenkins-ssh-credential}"
405 - github-pull-request:
406 trigger-phrase: "^run-sonar$"
407 only-trigger-phrase: false
408 status-context: "Python Sonar"
411 white-list-target-branches:
413 included-regions: "{obj:github_included_regions}"
419 - lf_tox_common: &lf_tox_common
422 ######################
423 # Default parameters #
424 ######################
427 build-days-to-keep: 7
430 git-url: "$GIT_URL/$GERRIT_PROJECT"
431 github-url: "https://github.com"
433 pre-build-script: "# pre-build script goes here"
434 python-version: python3
436 submodule-recursive: true
437 submodule-timeout: 10
438 submodule-disable: false
442 gerrit_trigger_file_paths:
443 - compare-type: REG_EXP
446 # github_included_regions MUST match gerrit_trigger_file_paths
447 github_included_regions:
450 #####################
451 # Job Configuration #
452 #####################
454 project-type: freestyle
457 disabled: "{disable-job}"
460 - lf-infra-properties:
461 build-days-to-keep: "{build-days-to-keep}"
464 - lf-infra-parameters:
468 - lf-infra-tox-parameters:
470 tox-envs: "{tox-envs}"
474 build-timeout: "{build-timeout}"
475 jenkins-ssh-credential: "{jenkins-ssh-credential}"
479 - lf-infra-tox-install:
480 python-version: "{python-version}"
481 - shell: "{pre-build-script}"
483 parallel: "{parallel}"
489 # Python projects typically use tox to run testing.
490 name: "{project-name}-tox-verify-{stream}"
491 id: gerrit-tox-verify
494 ######################
495 # Default parameters #
496 ######################
498 gerrit-skip-vote: false
499 gerrit_verify_triggers:
500 - patchset-created-event:
502 exclude-trivial-rebase: false
503 exclude-no-code-change: false
504 - draft-published-event
505 - comment-added-contains-event:
506 comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
508 #####################
509 # Job Configuration #
510 #####################
513 - lf-infra-gerrit-scm:
514 jenkins-ssh-credential: "{jenkins-ssh-credential}"
516 refspec: "$GERRIT_REFSPEC"
517 branch: "$GERRIT_BRANCH"
518 submodule-recursive: "{submodule-recursive}"
519 submodule-timeout: "{submodule-timeout}"
520 submodule-disable: "{submodule-disable}"
521 choosing-strategy: gerrit
525 server-name: "{gerrit-server-name}"
526 trigger-on: "{obj:gerrit_verify_triggers}"
528 - project-compare-type: ANT
529 project-pattern: "{project}"
531 - branch-compare-type: ANT
532 branch-pattern: "**/{branch}"
533 file-paths: "{obj:gerrit_trigger_file_paths}"
535 successful: "{gerrit-skip-vote}"
536 failed: "{gerrit-skip-vote}"
537 unstable: "{gerrit-skip-vote}"
538 notbuilt: "{gerrit-skip-vote}"
541 # Python projects typically use tox to run testing.
542 name: "{project-name}-tox-verify-{stream}"
543 id: github-tox-verify
547 - lf-infra-properties:
548 build-days-to-keep: "{build-days-to-keep}"
550 url: "{github-url}/{github-org}/{project}"
553 - lf-infra-github-scm:
554 url: "{git-clone-url}{github-org}/{project}"
555 refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
557 submodule-recursive: "{submodule-recursive}"
558 submodule-timeout: "{submodule-timeout}"
559 submodule-disable: "{submodule-disable}"
560 choosing-strategy: default
561 jenkins-ssh-credential: "{jenkins-ssh-credential}"
564 - github-pull-request:
565 trigger-phrase: "^(recheck|reverify)$"
566 only-trigger-phrase: false
567 status-context: "Tox Verify"
570 white-list-target-branches:
572 included-regions: "{obj:github_included_regions}"
575 # Run tox after merge of gerrit change set
576 name: "{project-name}-tox-merge-{stream}"
580 ######################
581 # Default parameters #
582 ######################
584 gerrit_merge_triggers:
585 - change-merged-event
586 - comment-added-contains-event:
587 comment-contains-value: '^Patch Set\s+\d+:\s+remerge\s*$'
589 #####################
590 # Job Configuration #
591 #####################
594 - lf-infra-gerrit-scm:
595 jenkins-ssh-credential: "{jenkins-ssh-credential}"
597 refspec: "$GERRIT_REFSPEC"
598 branch: "$GERRIT_BRANCH"
599 submodule-recursive: "{submodule-recursive}"
600 submodule-timeout: "{submodule-timeout}"
601 submodule-disable: "{submodule-disable}"
602 choosing-strategy: gerrit
606 server-name: "{gerrit-server-name}"
607 trigger-on: "{obj:gerrit_merge_triggers}"
609 - project-compare-type: ANT
610 project-pattern: "{project}"
612 - branch-compare-type: ANT
613 branch-pattern: "**/{branch}"
614 file-paths: "{obj:gerrit_trigger_file_paths}"
617 # Run tox after merge of github pull request
618 name: "{project-name}-tox-merge-{stream}"
623 - lf-infra-properties:
624 build-days-to-keep: "{build-days-to-keep}"
626 url: "{github-url}/{github-org}/{project}"
629 - lf-infra-github-scm:
630 url: "{git-clone-url}{github-org}/{project}"
632 branch: "refs/heads/{branch}"
633 submodule-recursive: "{submodule-recursive}"
634 submodule-timeout: "{submodule-timeout}"
635 submodule-disable: "{submodule-disable}"
636 choosing-strategy: default
637 jenkins-ssh-credential: "{jenkins-ssh-credential}"
640 - github-pull-request:
641 trigger-phrase: "^remerge$"
642 only-trigger-phrase: true
643 status-context: "Tox Merge"
648 white-list: "{obj:github_pr_whitelist}"
649 admin-list: "{obj:github_pr_admin_list}"
650 white-list-target-branches:
652 included-regions: "{obj:github_included_regions}"
658 - lf_pypi_common: &lf_pypi_common
661 ######################
662 # Default parameters #
663 ######################
666 build-days-to-keep: 7
670 git-url: "$GIT_URL/$GERRIT_PROJECT"
671 github-url: "https://github.com"
673 pre-build-script: "# pre-build script goes here"
674 python-version: python3
676 submodule-recursive: true
677 submodule-timeout: 10
678 submodule-disable: false
682 disabled: "{disable-job}"
684 gerrit_trigger_file_paths:
688 # github_included_regions MUST match gerrit_trigger_file_paths
689 github_included_regions:
693 - lf-infra-parameters:
697 - lf-infra-tox-parameters:
699 tox-envs: "{tox-envs}"
701 name: BUILD_BDIST_WHEEL
702 default: "{dist-binary}"
703 description: "Set to True to build a wheel"
708 If DRY_RUN is enabled artifacts are not published.
710 - lf_pypi_verify_builders: &lf_pypi_verify_builders
711 name: lf-pypi-verify-builders
715 - lf-infra-tox-install:
716 python-version: "{python-version}"
717 - shell: "{pre-build-script}"
719 parallel: "{parallel}"
720 - shell: !include-raw-escape: ../shell/pypi-dist-build.sh
722 - lf_pypi_merge_builders: &lf_pypi_merge_builders
723 name: lf-pypi-merge-builders
727 - lf-infra-tox-install:
728 python-version: "{python-version}"
729 - shell: "{pre-build-script}"
731 parallel: "{parallel}"
732 - shell: !include-raw-escape: ../shell/pypi-dist-build.sh
733 - lf-infra-pypi-upload:
734 pypi-repo: "{pypi-repo}"
736 - lf_pypi_release_verify_builders: &lf_pypi_release_verify_builders
737 name: lf-pypi-release-verify-builders
741 - lf-infra-tox-install:
742 python-version: "{python-version}"
743 - shell: "{pre-build-script}"
745 parallel: "{parallel}"
746 - shell: !include-raw-escape: ../shell/pypi-dist-build.sh
747 - lf-infra-pypi-tag-release
749 - lf_pypi_release_merge_builders: &lf_pypi_release_merge_builders
750 name: lf-pypi-release-merge-builders
754 - lf-infra-tox-install:
755 python-version: "{python-version}"
756 - shell: "{pre-build-script}"
758 parallel: "{parallel}"
759 - shell: !include-raw-escape: ../shell/pypi-dist-build.sh
760 - lf-infra-pypi-tag-release
761 - lf-infra-pypi-upload:
762 pypi-repo: "{pypi-repo}"
765 name: "{project-name}-pypi-verify-{stream}"
766 id: gerrit-pypi-verify
767 <<: *lf_python_common
768 # yamllint disable-line rule:key-duplicates
770 <<: *lf_pypi_verify_builders
772 gerrit_verify_triggers:
773 - patchset-created-event:
775 exclude-trivial-rebase: false
776 exclude-no-code-change: false
777 - draft-published-event
778 - comment-added-contains-event:
779 comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
782 - lf-infra-gerrit-scm:
783 jenkins-ssh-credential: "{jenkins-ssh-credential}"
785 refspec: "$GERRIT_REFSPEC"
786 branch: "$GERRIT_BRANCH"
787 submodule-recursive: "{submodule-recursive}"
788 submodule-timeout: "{submodule-timeout}"
789 submodule-disable: "{submodule-disable}"
790 choosing-strategy: gerrit
794 server-name: "{gerrit-server-name}"
795 trigger-on: "{obj:gerrit_verify_triggers}"
797 - project-compare-type: ANT
798 project-pattern: "{project}"
800 - branch-compare-type: ANT
801 branch-pattern: "**/{branch}"
802 file-paths: "{obj:gerrit_trigger_file_paths}"
805 name: "{project-name}-pypi-verify-{stream}"
806 id: github-pypi-verify
807 <<: *lf_python_common
808 # yamllint disable-line rule:key-duplicates
810 <<: *lf_pypi_verify_builders
814 url: "{github-url}/{github-org}/{project}"
817 - lf-infra-github-scm:
818 url: "{git-clone-url}{github-org}/{project}"
819 refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
821 submodule-recursive: "{submodule-recursive}"
822 submodule-timeout: "{submodule-timeout}"
823 submodule-disable: "{submodule-disable}"
824 choosing-strategy: default
825 jenkins-ssh-credential: "{jenkins-ssh-credential}"
828 - github-pull-request:
829 trigger-phrase: "^(recheck|reverify)$"
830 only-trigger-phrase: false
831 status-context: "PyPI Verify"
834 white-list-target-branches:
836 included-regions: "{obj:github_included_regions}"
839 name: "{project-name}-pypi-merge-{stream}"
840 id: gerrit-pypi-merge
841 <<: *lf_python_common
842 # yamllint disable-line rule:key-duplicates
844 <<: *lf_pypi_merge_builders
849 gerrit_merge_triggers:
850 - change-merged-event
851 - comment-added-contains-event:
852 comment-contains-value: '^Patch Set\s+\d+:\s+remerge\s*$'
855 - lf-infra-gerrit-scm:
856 jenkins-ssh-credential: "{jenkins-ssh-credential}"
858 refspec: "$GERRIT_REFSPEC"
859 branch: "$GERRIT_BRANCH"
860 submodule-recursive: "{submodule-recursive}"
861 submodule-timeout: "{submodule-timeout}"
862 submodule-disable: "{submodule-disable}"
863 choosing-strategy: gerrit
866 - timed: "{obj:cron}"
868 server-name: "{gerrit-server-name}"
869 trigger-on: "{obj:gerrit_merge_triggers}"
871 - project-compare-type: ANT
872 project-pattern: "{project}"
874 - branch-compare-type: ANT
875 branch-pattern: "**/{branch}"
876 file-paths: "{obj:gerrit_trigger_file_paths}"
879 name: "{project-name}-pypi-merge-{stream}"
880 id: github-pypi-merge
881 <<: *lf_python_common
882 # yamllint disable-line rule:key-duplicates
884 <<: *lf_pypi_merge_builders
891 url: "{github-url}/{github-org}/{project}"
894 - lf-infra-github-scm:
895 url: "{git-clone-url}{github-org}/{project}"
897 branch: "refs/heads/{branch}"
898 submodule-recursive: "{submodule-recursive}"
899 submodule-timeout: "{submodule-timeout}"
900 submodule-disable: "{submodule-disable}"
901 choosing-strategy: default
902 jenkins-ssh-credential: "{jenkins-ssh-credential}"
905 - timed: "{obj:cron}"
906 - github-pull-request:
907 trigger-phrase: "^remerge$"
908 only-trigger-phrase: false
909 status-context: "Merge"
914 white-list: "{obj:github_pr_whitelist}"
915 admin-list: "{obj:github_pr_admin_list}"
916 white-list-target-branches:
918 included-regions: "{obj:github_included_regions}"
920 - lf_pypi_release_common: &lf_pypi_release_common
921 name: lf-pypi-release-common
925 use-release-file: true
927 # define once and use twice; jobs MUST NOT override
928 gerrit_release_trigger_file_paths:
929 - compare-type: REG_EXP
930 pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
932 # github_release_included_regions MUST match gerrit_release_trigger_file_paths
933 github_release_included_regions:
934 - 'releases\/.*\.yaml'
935 - '.releases\/.*\.yaml'
938 - lf-infra-parameters:
942 - lf-infra-tox-parameters:
944 tox-envs: "{tox-envs}"
946 name: BUILD_BDIST_WHEEL
947 default: "{dist-binary}"
948 description: "Set to True to build a wheel"
952 description: "This is the version, example: 1.0.0"
954 name: USE_RELEASE_FILE
955 default: "{use-release-file}"
956 description: "Set to False for job built with parameters"
961 If DRY_RUN is enabled artifacts are not published.
964 name: "{project-name}-pypi-release-verify-{stream}"
965 id: gerrit-pypi-release-verify
966 <<: *lf_python_common
967 # yamllint disable-line rule:key-duplicates
969 <<: *lf_pypi_release_common
970 <<: *lf_pypi_release_verify_builders
972 gerrit_verify_triggers:
973 - patchset-created-event:
975 exclude-trivial-rebase: false
976 exclude-no-code-change: false
977 - draft-published-event
978 - comment-added-contains-event:
979 comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
982 - lf-infra-gerrit-scm:
983 jenkins-ssh-credential: "{jenkins-ssh-credential}"
985 refspec: "$GERRIT_REFSPEC"
986 branch: "$GERRIT_BRANCH"
987 submodule-recursive: "{submodule-recursive}"
988 submodule-timeout: "{submodule-timeout}"
989 submodule-disable: "{submodule-disable}"
990 choosing-strategy: gerrit
994 server-name: "{gerrit-server-name}"
995 trigger-on: "{obj:gerrit_verify_triggers}"
997 - project-compare-type: "ANT"
998 project-pattern: "{project}"
1000 - branch-compare-type: "ANT"
1001 branch-pattern: "**"
1002 file-paths: "{obj:gerrit_release_trigger_file_paths}"
1005 name: "{project-name}-pypi-release-verify-{stream}"
1006 id: github-pypi-release-verify
1007 <<: *lf_python_common
1008 # yamllint disable-line rule:key-duplicates
1010 <<: *lf_pypi_release_common
1011 <<: *lf_pypi_release_verify_builders
1015 url: "{github-url}/{github-org}/{project}"
1018 - lf-infra-github-scm:
1019 url: "{git-clone-url}{github-org}/{project}"
1021 branch: "refs/heads/{branch}"
1022 submodule-recursive: "{submodule-recursive}"
1023 submodule-timeout: "{submodule-timeout}"
1024 submodule-disable: "{submodule-disable}"
1025 choosing-strategy: default
1026 jenkins-ssh-credential: "{jenkins-ssh-credential}"
1029 - github-pull-request:
1030 trigger-phrase: "^(recheck|reverify)$"
1031 only-trigger-phrase: false
1032 status-context: "PyPI Release Verify"
1035 white-list-target-branches:
1037 included-regions: "{obj:github_release_included_regions}"
1040 name: "{project-name}-pypi-release-merge-{stream}"
1041 id: gerrit-pypi-release-merge
1042 <<: *lf_python_common
1043 # yamllint disable-line rule:key-duplicates
1045 <<: *lf_pypi_release_common
1046 <<: *lf_pypi_release_merge_builders
1048 gerrit_release_triggers:
1049 - change-merged-event
1052 - lf-infra-gerrit-scm:
1053 jenkins-ssh-credential: "{jenkins-ssh-credential}"
1054 git-url: "{git-url}"
1055 refspec: "$GERRIT_REFSPEC"
1056 branch: "$GERRIT_BRANCH"
1057 submodule-recursive: "{submodule-recursive}"
1058 submodule-timeout: "{submodule-timeout}"
1059 submodule-disable: "{submodule-disable}"
1060 choosing-strategy: gerrit
1064 server-name: "{gerrit-server-name}"
1065 trigger-on: "{obj:gerrit_release_triggers}"
1067 - project-compare-type: "ANT"
1068 project-pattern: "{project}"
1070 - branch-compare-type: "ANT"
1071 branch-pattern: "**"
1072 file-paths: "{obj:gerrit_release_trigger_file_paths}"
1075 name: "{project-name}-pypi-release-merge-{stream}"
1076 id: github-pypi-release-merge
1077 <<: *lf_python_common
1078 # yamllint disable-line rule:key-duplicates
1080 <<: *lf_pypi_release_common
1081 <<: *lf_pypi_release_merge_builders
1085 url: "{github-url}/{github-org}/{project}"
1088 - lf-infra-github-scm:
1089 url: "{git-clone-url}{github-org}/{project}"
1091 branch: "refs/heads/{branch}"
1092 submodule-recursive: "{submodule-recursive}"
1093 submodule-timeout: "{submodule-timeout}"
1094 submodule-disable: "{submodule-disable}"
1095 choosing-strategy: default
1096 jenkins-ssh-credential: "{jenkins-ssh-credential}"
1099 - github-pull-request:
1100 trigger-phrase: "^(remerge)$"
1101 only-trigger-phrase: false
1102 status-context: "PyPI Release Merge"
1105 white-list-target-branches:
1107 included-regions: "{obj:github_release_included_regions}"