9 properties-content: "GO_ROOT={go-root}"
10 - shell: !include-raw-escape: ../shell/go-test.sh
16 - lf_go_common: &lf_go_common
19 project-type: freestyle
22 ######################
23 # Default parameters #
24 ######################
30 git-url: "$GIT_URL/$PROJECT"
31 github-url: "https://github.com"
33 submodule-recursive: true
35 submodule-disable: false
41 disabled: "{disable-job}"
44 - lf-infra-properties:
45 build-days-to-keep: "{build-days-to-keep}"
48 - lf-infra-parameters:
55 build-timeout: "{build-timeout}"
56 jenkins-ssh-credential: "{jenkins-ssh-credential}"
65 - lf_go_verify: &lf_go_verify
70 gerrit_verify_triggers:
71 - patchset-created-event:
73 exclude-trivial-rebase: false
74 exclude-no-code-change: false
75 - draft-published-event
76 - comment-added-contains-event:
77 comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
79 gerrit_trigger_file_paths:
80 - compare-type: REG_EXP
83 # github_included_regions MUST match gerrit_trigger_file_paths
84 github_included_regions:
92 name: "{project-name}-go-verify-{stream}"
95 # yamllint disable-line rule:key-duplicates
99 - lf-infra-gerrit-scm:
100 jenkins-ssh-credential: "{jenkins-ssh-credential}"
102 refspec: "$GERRIT_REFSPEC"
103 branch: "$GERRIT_BRANCH"
104 submodule-disable: "{submodule-disable}"
105 submodule-recursive: "{submodule-recursive}"
106 submodule-timeout: "{submodule-timeout}"
107 choosing-strategy: gerrit
111 server-name: "{gerrit-server-name}"
112 trigger-on: "{obj:gerrit_verify_triggers}"
114 - project-compare-type: ANT
115 project-pattern: "{project}"
117 - branch-compare-type: ANT
118 branch-pattern: "**/{branch}"
119 file-paths: "{obj:gerrit_trigger_file_paths}"
122 name: "{project-name}-go-verify-{stream}"
125 # yamllint disable-line rule:key-duplicates
130 url: "{github-url}/{github-org}/{project}"
133 - lf-infra-github-scm:
134 url: "{git-clone-url}{github-org}/{project}"
135 refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
137 submodule-recursive: "{submodule-recursive}"
138 submodule-timeout: "{submodule-timeout}"
139 submodule-disable: "{submodule-disable}"
140 choosing-strategy: default
141 jenkins-ssh-credential: "{jenkins-ssh-credential}"
144 - github-pull-request:
145 trigger-phrase: "^(recheck|reverify)$"
146 only-trigger-phrase: true
147 status-context: "Go Verify"
152 white-list: "{obj:github_pr_allowlist}"
153 admin-list: "{obj:github_pr_admin_list}"
154 white-list-target-branches: