LF Jenkins CI | cb17d64 | 2021-10-24 22:29:26 +0000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-ricdms-project-view |
| 4 | project-name: ric-plt-ricdms |
| 5 | views: |
| 6 | - project-view |
| 7 | |
subhash kumar singh | 596b014 | 2022-08-23 06:44:53 +0000 | [diff] [blame] | 8 | - ricdms_common: &ricdms_common |
| 9 | # values apply to all projects |
| 10 | name: ricdms-common |
| 11 | # git repo |
| 12 | project: ric-plt/ricdms |
| 13 | # jenkins prefix |
| 14 | project-name: ric-plt-ricdms |
| 15 | # maven settings file has docker credentials |
| 16 | mvn-settings: ric-plt-ricdms-settings |
| 17 | |
LF Jenkins CI | cb17d64 | 2021-10-24 22:29:26 +0000 | [diff] [blame] | 18 | - project: |
| 19 | name: ric-plt-ricdms-info |
| 20 | project: ric-plt/ricdms |
| 21 | project-name: ric-plt-ricdms |
| 22 | build-node: centos7-builder-1c-1g |
| 23 | jobs: |
| 24 | - gerrit-info-yaml-verify |
subhash kumar singh | 596b014 | 2022-08-23 06:44:53 +0000 | [diff] [blame] | 25 | |
| 26 | # create docker image when source changes |
| 27 | - project: |
| 28 | <<: *ricdms_common |
| 29 | name: ric-plt-ricdms |
| 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' |
| 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).)*$' |
| 40 | jobs: |
| 41 | - '{project-name}-gerrit-docker-jobs' |
| 42 | stream: |
| 43 | - master: |
| 44 | branch: master |
| 45 | |
| 46 | # push nexus image from staging to release |
| 47 | - project: |
| 48 | <<: *ricdms_common |
| 49 | name: ric-plt-ricdms-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' |