summaryrefslogtreecommitdiffstats
path: root/jjb/oom/oom-helm.yaml
blob: 3c1329a44f16dd43bc1590ff8dd47ed391482bb2 (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
---
- project:
    name: oom
    project-name: oom
    project: oom
    mvn-settings: oom-settings
    mvn-global-settings: global-settings
    archive-artifacts: ""
    build-node: ubuntu1804-helm-2c-1g
    pre_build_script: !include-raw-escape: shell/helm-repo-init.sh
    oom_build_script: |
      #!/bin/bash
      source helm.prop
      set -e -o pipefail
      cd kubernetes/
      make HELM_BIN=$HELM_BIN all
    subproject_build_script: |
      #!/bin/bash
      cd kubernetes/
      make HELM_BIN=$HELM_BIN common
      make HELM_BIN=$HELM_BIN {subproject}

    stream:
      - "master":
          branch: "master"
      - "honolulu":
          branch: "honolulu"

    helm_bin:
      - helm3.5
      - helm3.3

    exclude: []
    subproject: []

    jobs:
      - "{project-name}-{stream}-image-verify":
          files: "**"
      - "{project-name}-{stream}-verify-{helm_bin}":
          build_script: "{oom_build_script}"
          files: "**"
          build-timeout: 360
      - "{project-name}-{stream}-merge-helm":
          build_script: "{oom_build_script}"
          files: "**"
      - "{project-name}-{stream}-release-helm":
          build_script: "{oom_build_script}"
          post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
          files: "**"

      # Below jobs disabled until future need.
      - "{project-name}-{subproject}-{stream}-verify-helm2":
          build_script: "{subproject_build_script}"
      - "{project-name}-{subproject}-{stream}-verify-helm":
          build_script: "{subproject_build_script}"
      - "{project-name}-{subproject}-{stream}-merge-helm":
          build_script: "{subproject_build_script}"
      - "{project-name}-{stream}-update-helm-weekly":
          build_script: "{oom_build_script}"
          files: "**"