summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-helm-verify-helm2.yaml
blob: f816e4ccedfa82c03706255cc80f3109ddc6fd64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
- job-template: &helm-verify2
    name: "{project-name}-{stream}-verify-helm2"
    concurrent: true
    branch: master
    submodule-recursive: true
    build_script: ""
    post_build_script: ""
    pre_build_script: ""
    submodule-disable: false
    submodule-timeout: 10

    project-type: freestyle
    node: "{build-node}"

    properties:
      - lf-infra-properties:
          build-days-to-keep: "{build-days-to-keep}"

    parameters:
      - lf-infra-parameters:
          branch: "{branch}"
          project: "{project}"
          stream: "{stream}"
          lftools-version: "{lftools-version}"

    wrappers:
      - lf-infra-wrappers:
          build-timeout: "{build-timeout}"
          jenkins-ssh-credential: "{jenkins-ssh-credential}"

    publishers:
      - lf-infra-publish

    scm:
      - gerrit-trigger-scm:
          refspec: "$GERRIT_REFSPEC"
          choosing-strategy: "gerrit"
          submodule-recursive: "{submodule-recursive}"

    triggers:
      - gerrit-trigger-helm-patch-submitted:
          status-context: "{project}-Helm-Verify"
          server: "{server-name}"
          project: "{project}"
          branch: "{branch}"
          files: "{files}"

    builders:
      - lf-infra-pre-build
      - shell: !include-raw-escape: shell/helm2-repo-init.sh
      - shell: !include-raw-escape: shell/helm2-verify.sh

- job-template:
    <<: *helm-verify2
    name: "{project-name}-{subproject}-{stream}-verify-helm2"

    builders:
      - lf-infra-pre-build
      - shell: !include-raw-escape: shell/helm2-repo-init.sh
      - shell: "cd kubernetes/ ; make common ; make {subproject}"