Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: oom |
| 4 | project-name: oom |
| 5 | project: oom |
| 6 | mvn-settings: oom-settings |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 7 | mvn-global-settings: global-settings |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 8 | archive-artifacts: '' |
Jessica Wagantall | 8478247 | 2020-03-18 13:15:20 -0700 | [diff] [blame] | 9 | build-node: ubuntu1804-helm-2c-1g |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 10 | pre_build_script: !include-raw-escape: shell/helm-repo-init.sh |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 11 | oom_build_script: | |
| 12 | #!/bin/bash |
| 13 | set -e -o pipefail |
| 14 | cd kubernetes/ |
Gary Wu | ddb3416 | 2019-06-26 08:08:11 -0700 | [diff] [blame] | 15 | if [ "$GERRIT_BRANCH" != "staging" ]; then |
| 16 | if grep -r -n -E ':\s*onap/.*:.*(STAGING|SNAPSHOT|latest).*'; then |
| 17 | echo "[ERROR] Only release images are allowed in helm charts." |
| 18 | exit 1 |
| 19 | fi |
Gary Wu | d6f0943 | 2019-05-29 07:30:34 -0700 | [diff] [blame] | 20 | fi |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 21 | make all |
| 22 | subproject_build_script: | |
| 23 | #!/bin/bash |
| 24 | cd kubernetes/ |
Gary Wu | ddb3416 | 2019-06-26 08:08:11 -0700 | [diff] [blame] | 25 | if [ "$GERRIT_BRANCH" != "staging" ]; then |
| 26 | if grep -r -n -E ':\s*onap/.*:.*(STAGING|SNAPSHOT|latest).*'; then |
| 27 | echo "[ERROR] Only release images are allowed in helm charts." |
| 28 | exit 1 |
| 29 | fi |
Gary Wu | d6f0943 | 2019-05-29 07:30:34 -0700 | [diff] [blame] | 30 | fi |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 31 | make common |
Jeremy Phelps | 2ff4153 | 2018-11-29 11:55:02 -0600 | [diff] [blame] | 32 | make {subproject} |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 33 | oom_post_build_script: !include-raw-escape: shell/publish_helm_charts.sh |
| 34 | |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 35 | stream: |
| 36 | - 'master': |
| 37 | branch: 'master' |
Sylvain Desbureaux | 6f6e2c8 | 2020-05-11 09:15:11 +0200 | [diff] [blame] | 38 | - 'frankfurt': |
| 39 | branch: 'frankfurt' |
Cédric Ollivier | 4305c20 | 2019-07-16 19:30:53 +0200 | [diff] [blame] | 40 | - 'dublin': |
| 41 | branch: 'dublin' |
Jeremy Phelps | 2ff4153 | 2018-11-29 11:55:02 -0600 | [diff] [blame] | 42 | - 'casablanca': |
| 43 | branch: 'casablanca' |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 44 | |
| 45 | subproject: |
| 46 | - 'aaf': |
| 47 | files: 'kubernetes/aaf/**' |
| 48 | - 'aai': |
| 49 | files: 'kubernetes/aai/**' |
| 50 | - 'appc': |
| 51 | files: 'kubernetes/appc/**' |
| 52 | - 'clamp': |
| 53 | files: 'kubernetes/clamp/**' |
| 54 | - 'cli': |
| 55 | files: 'kubernetes/cli/**' |
| 56 | - 'common': |
| 57 | files: 'kubernetes/common/**' |
| 58 | - 'consul': |
| 59 | files: 'kubernetes/consul/**' |
| 60 | - 'dcaegen2': |
| 61 | files: 'kubernetes/dcaegen2/**' |
| 62 | - 'dmaap': |
| 63 | files: 'kubernetes/dmaap/**' |
| 64 | - 'esr': |
| 65 | files: 'kubernetes/esr/**' |
| 66 | - 'log': |
| 67 | files: 'kubernetes/log/**' |
| 68 | - 'msb': |
| 69 | files: 'kubernetes/msb/**' |
| 70 | - 'multicloud': |
| 71 | files: 'kubernetes/multicloud/**' |
| 72 | - 'nbi': |
| 73 | files: 'kubernetes/nbi/**' |
| 74 | - 'oof': |
| 75 | files: 'kubernetes/oof/**' |
| 76 | - 'policy': |
| 77 | files: 'kubernetes/policy/**' |
| 78 | - 'portal': |
| 79 | files: 'kubernetes/portal/**' |
| 80 | - 'readiness': |
| 81 | files: 'kubernetes/readiness/**' |
| 82 | - 'robot': |
| 83 | files: 'kubernetes/robot/**' |
| 84 | - 'sdc': |
| 85 | files: 'kubernetes/sdc/**' |
| 86 | - 'sdnc': |
| 87 | files: 'kubernetes/sdnc/**' |
| 88 | - 'sniro-emulator': |
| 89 | files: 'kubernetes/sniro-emulator/**' |
| 90 | - 'so': |
| 91 | files: 'kubernetes/so/**' |
| 92 | - 'uui': |
| 93 | files: 'kubernetes/uui/**' |
| 94 | - 'vfc': |
| 95 | files: 'kubernetes/vfc/**' |
| 96 | - 'vid': |
| 97 | files: 'kubernetes/vid/**' |
| 98 | - 'vnfsdk': |
| 99 | files: 'kubernetes/vnfsdk/**' |
| 100 | |
| 101 | jobs: |
| 102 | - '{project-name}-{stream}-verify-helm': |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 103 | build_script: '{oom_build_script}' |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 104 | files: '**' |
| 105 | - '{project-name}-{stream}-merge-helm': |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 106 | build_script: '{oom_build_script}' |
| 107 | post_build_script: !include-raw-escape: shell/publish_helm_charts.sh |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 108 | files: '**' |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 109 | - '{project-name}-{stream}-stage-helm': |
| 110 | build_script: '{oom_build_script}' |
| 111 | post_build_script: !include-raw-escape: shell/publish_helm_charts.sh |
| 112 | files: '**' |
| 113 | |
| 114 | # Below jobs disabled until future need. |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 115 | - '{project-name}-{subproject}-{stream}-verify-helm': |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 116 | build_script: '{subproject_build_script}' |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 117 | - '{project-name}-{subproject}-{stream}-merge-helm': |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 118 | build_script: '{subproject_build_script}' |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 119 | - '{project-name}-{stream}-update-helm-weekly': |
Jeremy Phelps | 3cffa43 | 2018-08-15 16:26:12 -0500 | [diff] [blame] | 120 | build_script: '{oom_build_script}' |
Jeremy Phelps | 08126d8 | 2018-08-07 11:08:48 -0500 | [diff] [blame] | 121 | files: '**' |