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