blob: e70dac9c66f8362c647d03cfff239b9ef8896e50 [file] [log] [blame]
Sylvain Desbureaux4655b062021-02-24 16:35:24 +01001---
2- project:
3 name: oom-legacy
4 project-name: oom-legacy
5 project: oom-legacy
6 mvn-settings: oom-settings
7 mvn-global-settings: global-settings
8 archive-artifacts: ""
9 build-node: ubuntu1804-helm-2c-1g
10 pre_build_script: !include-raw-escape: shell/helm-repo-init.sh
11 oom_build_script: |
12 #!/bin/bash
13 source helm.prop
14 set -e -o pipefail
15 cd kubernetes/
16 make HELM_BIN=$HELM_BIN all
17 subproject_build_script: |
18 #!/bin/bash
19 cd kubernetes/
20 make HELM_BIN=$HELM_BIN common
21 make HELM_BIN=$HELM_BIN {subproject}
22
23 helm_bin:
24 - helm3.5
25 - helm3.3
26
27 exclude:
28 - stream: guilin
29 helm_bin: helm3.5
30 - stream: frankfurt
31 helm_bin: helm3.5
32 - stream: frankfurt
33 helm_bin: helm3.3
34 - stream: dublin
35 helm_bin: helm3.5
36 - stream: dublin
37 helm_bin: helm3.3
38 - stream: casablanca
39 helm_bin: helm3.5
40 - stream: casablanca
41 helm_bin: helm3.3
42
43 stream:
44 - "guilin":
45 branch: "guilin"
46 - "frankfurt":
47 branch: "frankfurt"
48 - "dublin":
49 branch: "dublin"
50 - "casablanca":
51 branch: "casablanca"
52
53 subproject:
54 - "aai":
55 files: "kubernetes/aai/**"
56 - "robot":
57 files: "kubernetes/robot/**"
58
59 jobs:
60 - "{project-name}-{stream}-image-verify":
61 files: "**"
62 - "{project-name}-{stream}-verify-helm2":
63 files: "**"
64 build-timeout: 360
65 - "{project-name}-{stream}-verify-{helm_bin}":
66 build_script: "{oom_build_script}"
67 files: "**"
68 build-timeout: 360
69 - "{project-name}-{stream}-merge-helm":
70 build_script: "{oom_build_script}"
71 files: "**"
72 - "{project-name}-{stream}-release-helm":
73 build_script: "{oom_build_script}"
74 post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
75 files: "**"
76
77 # Below jobs disabled until future need.
78 - "{project-name}-{subproject}-{stream}-verify-helm2":
79 build_script: "{subproject_build_script}"
80 - "{project-name}-{subproject}-{stream}-merge-helm":
81 build_script: "{subproject_build_script}"
82 - "{project-name}-{stream}-update-helm-weekly":
83 build_script: "{oom_build_script}"
84 files: "**"