blob: f816e4ccedfa82c03706255cc80f3109ddc6fd64 [file] [log] [blame]
Sylvain Desbureaux5657eda2020-11-26 10:25:39 +01001---
2- job-template: &helm-verify2
3 name: "{project-name}-{stream}-verify-helm2"
4 concurrent: true
5 branch: master
6 submodule-recursive: true
7 build_script: ""
8 post_build_script: ""
9 pre_build_script: ""
10 submodule-disable: false
11 submodule-timeout: 10
12
13 project-type: freestyle
14 node: "{build-node}"
15
16 properties:
17 - lf-infra-properties:
18 build-days-to-keep: "{build-days-to-keep}"
19
20 parameters:
21 - lf-infra-parameters:
22 branch: "{branch}"
23 project: "{project}"
24 stream: "{stream}"
25 lftools-version: "{lftools-version}"
26
27 wrappers:
28 - lf-infra-wrappers:
29 build-timeout: "{build-timeout}"
30 jenkins-ssh-credential: "{jenkins-ssh-credential}"
31
32 publishers:
33 - lf-infra-publish
34
35 scm:
36 - gerrit-trigger-scm:
37 refspec: "$GERRIT_REFSPEC"
38 choosing-strategy: "gerrit"
39 submodule-recursive: "{submodule-recursive}"
40
41 triggers:
42 - gerrit-trigger-helm-patch-submitted:
43 status-context: "{project}-Helm-Verify"
44 server: "{server-name}"
45 project: "{project}"
46 branch: "{branch}"
47 files: "{files}"
48
49 builders:
50 - lf-infra-pre-build
51 - shell: !include-raw-escape: shell/helm2-repo-init.sh
52 - shell: !include-raw-escape: shell/helm2-verify.sh
53
54- job-template:
55 <<: *helm-verify2
56 name: "{project-name}-{subproject}-{stream}-verify-helm2"
57
58 builders:
59 - lf-infra-pre-build
60 - shell: !include-raw-escape: shell/helm2-repo-init.sh
61 - shell: "cd kubernetes/ ; make common ; make {subproject}"