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