LF Jenkins CI | 2565716 | 2020-06-25 13:43:12 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: scp-ric-app-kpimon-project-view |
| 4 | project-name: scp-ric-app-kpimon |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Ron Shacham | 196d3a8 | 2020-12-11 12:23:56 -0500 | [diff] [blame] | 8 | - kpimon_common: &kpimon_common |
| 9 | # values apply to all projects |
| 10 | name: kpimon-common |
| 11 | # git repo |
LF Jenkins CI | 2565716 | 2020-06-25 13:43:12 +0000 | [diff] [blame] | 12 | project: scp/ric-app/kpimon |
Ron Shacham | 196d3a8 | 2020-12-11 12:23:56 -0500 | [diff] [blame] | 13 | # jenkins prefix |
LF Jenkins CI | 2565716 | 2020-06-25 13:43:12 +0000 | [diff] [blame] | 14 | project-name: scp-ric-app-kpimon |
Ron Shacham | 196d3a8 | 2020-12-11 12:23:56 -0500 | [diff] [blame] | 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: scp-ric-app-kpimon-settings |
| 17 | |
| 18 | # verify INFO.yaml changes |
| 19 | - project: |
| 20 | <<: *kpimon_common |
| 21 | name: scp-ric-app-kpimon-verify |
LF Jenkins CI | 2565716 | 2020-06-25 13:43:12 +0000 | [diff] [blame] | 22 | build-node: centos7-builder-1c-1g |
| 23 | jobs: |
| 24 | - gerrit-info-yaml-verify |
Ron Shacham | 196d3a8 | 2020-12-11 12:23:56 -0500 | [diff] [blame] | 25 | |
| 26 | # create docker image when source changes |
| 27 | - project: |
| 28 | <<: *kpimon_common |
| 29 | # also used as image name |
| 30 | name: scp-ric-app-kpimon |
| 31 | # image name |
| 32 | docker-name: 'o-ran-sc/{name}' |
| 33 | # source type of image tag |
| 34 | container-tag-method: yaml-file |
| 35 | # use host network |
| 36 | docker-build-args: '--network=host' |
| 37 | # trigger on any change other than a file in ./docs |
| 38 | gerrit_trigger_file_paths: |
| 39 | - compare-type: REG_EXP |
| 40 | pattern: '^((?!docs/|\/COMMIT_MSG).)*$' |
| 41 | jobs: |
| 42 | - '{project-name}-gerrit-docker-jobs' |
| 43 | stream: |
| 44 | - master: |
| 45 | branch: master |
| 46 | |
| 47 | # push nexus image from staging to release |
| 48 | - project: |
| 49 | <<: *kpimon_common |
| 50 | name: scp-ric-app-kpimon-release |
| 51 | # maven release requires sigul which requires centos |
| 52 | # container release requires docker |
| 53 | build-node: centos7-docker-2c-8g |
| 54 | jobs: |
| 55 | - '{project-name}-gerrit-release-jobs' |