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