Jessica Wagantall | 0b2faea | 2020-11-10 16:06:34 -0800 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-app-hw-go-project-view |
| 4 | project-name: ric-app-hw-go |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _hw-go_common: &hw-go_common # values apply to all projects |
Jessica Wagantall | 0b2faea | 2020-11-10 16:06:34 -0800 | [diff] [blame] | 9 | name: hw-go-common |
| 10 | # git repo |
| 11 | project: ric-app/hw-go |
| 12 | # jenkins prefix |
| 13 | project-name: ric-app-hw-go |
| 14 | # maven settings file has docker credentials |
| 15 | mvn-settings: ric-app-hw-go-settings |
| 16 | |
| 17 | # verify INFO.yaml changes |
| 18 | - project: |
| 19 | <<: *hw-go_common |
| 20 | name: ric-app-hw-go-info |
| 21 | build-node: centos7-builder-1c-1g |
| 22 | jobs: |
| 23 | - gerrit-info-yaml-verify |
RahulBanerji | 0d18cc0 | 2020-12-10 12:31:37 +0530 | [diff] [blame] | 24 | |
subhash kumar singh | 17c7ed3 | 2021-06-23 02:05:08 +0530 | [diff] [blame] | 25 | # create docker image when source changes |
RahulBanerji | 0d18cc0 | 2020-12-10 12:31:37 +0530 | [diff] [blame] | 26 | - project: |
| 27 | <<: *hw-go_common |
| 28 | name: ric-app-hw-go |
| 29 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 30 | docker-name: "o-ran-sc/{name}" |
RahulBanerji | 0d18cc0 | 2020-12-10 12:31:37 +0530 | [diff] [blame] | 31 | # source of docker tag |
| 32 | container-tag-method: yaml-file |
| 33 | # use host network to clone from our gerrit |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 34 | docker-build-args: "--network=host" |
subhash kumar singh | 17c7ed3 | 2021-06-23 02:05:08 +0530 | [diff] [blame] | 35 | # trigger on any change other than a file in ./docs |
| 36 | gerrit_trigger_file_paths: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 37 | - compare-type: REG_EXP |
| 38 | pattern: '^((?!docs/|\/COMMIT_MSG).)*$' |
RahulBanerji | 0d18cc0 | 2020-12-10 12:31:37 +0530 | [diff] [blame] | 39 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 40 | - "{project-name}-gerrit-docker-jobs" |
RahulBanerji | 0d18cc0 | 2020-12-10 12:31:37 +0530 | [diff] [blame] | 41 | stream: |
| 42 | - master: |
| 43 | branch: master |
| 44 | |
subhash kumar singh | 17c7ed3 | 2021-06-23 02:05:08 +0530 | [diff] [blame] | 45 | # push nexus image from staging to release |
| 46 | - project: |
| 47 | <<: *hw-go_common |
| 48 | name: ric-app-hw-go-release |
| 49 | # maven release requires sigul which requires centos |
| 50 | # container release requires docker |
| 51 | build-node: centos7-docker-2c-8g |
| 52 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 53 | - "{project-name}-gerrit-release-jobs" |