blob: 5a7d377a11c5a7a6b6531e1452311cb8d0618d21 [file] [log] [blame]
Jeremy Phelps08126d82018-08-07 11:08:48 -05001---
2- project:
3 name: oom
4 project-name: oom
5 project: oom
6 mvn-settings: oom-settings
Jeremy Phelps3cffa432018-08-15 16:26:12 -05007 mvn-global-settings: global-settings
Jeremy Phelps08126d82018-08-07 11:08:48 -05008 archive-artifacts: ''
9 build-node: ubuntu1604-helm-2c-1g
10 pre_build_script: !include-raw-escape: shell/helm-repo-init.sh
Jeremy Phelps3cffa432018-08-15 16:26:12 -050011 oom_build_script: |
12 #!/bin/bash
13 set -e -o pipefail
14 cd kubernetes/
Gary Wud6f09432019-05-29 07:30:34 -070015 if grep -r -n -E ':\s*onap/.*:.*(STAGING|SNAPSHOT|latest).*'; then
16 echo "[ERROR] Only release images are allowed in helm charts."
17 exit 1
18 fi
Jeremy Phelps3cffa432018-08-15 16:26:12 -050019 make all
20 subproject_build_script: |
21 #!/bin/bash
22 cd kubernetes/
Gary Wud6f09432019-05-29 07:30:34 -070023 if grep -r -n -E ':\s*onap/.*:.*(STAGING|SNAPSHOT|latest).*'; then
24 echo "[ERROR] Only release images are allowed in helm charts."
25 exit 1
26 fi
Jeremy Phelps3cffa432018-08-15 16:26:12 -050027 make common
Jeremy Phelps2ff41532018-11-29 11:55:02 -060028 make {subproject}
Jeremy Phelps3cffa432018-08-15 16:26:12 -050029 oom_post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
30
Jeremy Phelps08126d82018-08-07 11:08:48 -050031 stream:
32 - 'master':
33 branch: 'master'
Jeremy Phelps2ff41532018-11-29 11:55:02 -060034 - 'casablanca':
35 branch: 'casablanca'
Jeremy Phelps08126d82018-08-07 11:08:48 -050036
37 subproject:
38 - 'aaf':
39 files: 'kubernetes/aaf/**'
40 - 'aai':
41 files: 'kubernetes/aai/**'
42 - 'appc':
43 files: 'kubernetes/appc/**'
44 - 'clamp':
45 files: 'kubernetes/clamp/**'
46 - 'cli':
47 files: 'kubernetes/cli/**'
48 - 'common':
49 files: 'kubernetes/common/**'
50 - 'consul':
51 files: 'kubernetes/consul/**'
52 - 'dcaegen2':
53 files: 'kubernetes/dcaegen2/**'
54 - 'dmaap':
55 files: 'kubernetes/dmaap/**'
56 - 'esr':
57 files: 'kubernetes/esr/**'
58 - 'log':
59 files: 'kubernetes/log/**'
60 - 'msb':
61 files: 'kubernetes/msb/**'
62 - 'multicloud':
63 files: 'kubernetes/multicloud/**'
64 - 'nbi':
65 files: 'kubernetes/nbi/**'
66 - 'oof':
67 files: 'kubernetes/oof/**'
68 - 'policy':
69 files: 'kubernetes/policy/**'
70 - 'portal':
71 files: 'kubernetes/portal/**'
72 - 'readiness':
73 files: 'kubernetes/readiness/**'
74 - 'robot':
75 files: 'kubernetes/robot/**'
76 - 'sdc':
77 files: 'kubernetes/sdc/**'
78 - 'sdnc':
79 files: 'kubernetes/sdnc/**'
80 - 'sniro-emulator':
81 files: 'kubernetes/sniro-emulator/**'
82 - 'so':
83 files: 'kubernetes/so/**'
84 - 'uui':
85 files: 'kubernetes/uui/**'
86 - 'vfc':
87 files: 'kubernetes/vfc/**'
88 - 'vid':
89 files: 'kubernetes/vid/**'
90 - 'vnfsdk':
91 files: 'kubernetes/vnfsdk/**'
92
93 jobs:
94 - '{project-name}-{stream}-verify-helm':
Jeremy Phelps3cffa432018-08-15 16:26:12 -050095 build_script: '{oom_build_script}'
Jeremy Phelps08126d82018-08-07 11:08:48 -050096 files: '**'
97 - '{project-name}-{stream}-merge-helm':
Jeremy Phelps3cffa432018-08-15 16:26:12 -050098 build_script: '{oom_build_script}'
99 post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
Jeremy Phelps08126d82018-08-07 11:08:48 -0500100 files: '**'
Jeremy Phelps3cffa432018-08-15 16:26:12 -0500101 - '{project-name}-{stream}-stage-helm':
102 build_script: '{oom_build_script}'
103 post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
104 files: '**'
105
106 # Below jobs disabled until future need.
Jeremy Phelps08126d82018-08-07 11:08:48 -0500107 - '{project-name}-{subproject}-{stream}-verify-helm':
Jeremy Phelps3cffa432018-08-15 16:26:12 -0500108 build_script: '{subproject_build_script}'
Jeremy Phelps08126d82018-08-07 11:08:48 -0500109 - '{project-name}-{subproject}-{stream}-merge-helm':
Jeremy Phelps3cffa432018-08-15 16:26:12 -0500110 build_script: '{subproject_build_script}'
Jeremy Phelps08126d82018-08-07 11:08:48 -0500111 - '{project-name}-{stream}-update-helm-weekly':
Jeremy Phelps3cffa432018-08-15 16:26:12 -0500112 build_script: '{oom_build_script}'
Jeremy Phelps08126d82018-08-07 11:08:48 -0500113 files: '**'