Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-app-bouncer-project-view |
| 4 | project-name: ric-app-bouncer |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 8 | - _bouncer_common: &bouncer_common # values apply to all projects |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 9 | name: bouncer-common |
| 10 | # git repo |
| 11 | project: ric-app/bouncer |
| 12 | # jenkins prefix |
| 13 | project-name: ric-app-bouncer |
| 14 | # maven settings file has docker credentials |
| 15 | mvn-settings: ric-app-bouncer-settings |
| 16 | |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 17 | # create docker image when source changes |
| 18 | - project: |
| 19 | <<: *bouncer_common |
| 20 | # also used as image name |
| 21 | name: ric-app-bouncer |
| 22 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 23 | docker-name: "o-ran-sc/{name}" |
Anil Belur | d0306fe | 2021-07-09 09:30:52 +1000 | [diff] [blame] | 24 | # docker root |
| 25 | docker-root: Bouncer |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 26 | # source type of image tag |
| 27 | container-tag-method: yaml-file |
| 28 | # use host network |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 29 | docker-build-args: "--network=host" |
Anil Belur | d0306fe | 2021-07-09 09:30:52 +1000 | [diff] [blame] | 30 | # tag file is in subdir |
| 31 | container-tag-yaml-dir: Bouncer |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 32 | # trigger on any change other than a file in ./docs |
| 33 | gerrit_trigger_file_paths: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 34 | - compare-type: REG_EXP |
| 35 | pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$' |
| 36 | - compare-type: REG_EXP |
| 37 | pattern: "bouncer/.*" |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 38 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 39 | - "{project-name}-gerrit-docker-jobs" |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 40 | stream: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 41 | - master: |
| 42 | branch: master |
Anil Belur | c994219 | 2021-07-07 23:56:28 +1000 | [diff] [blame] | 43 | |
| 44 | # push nexus image from staging to release |
| 45 | - project: |
| 46 | <<: *bouncer_common |
| 47 | name: ric-app-bouncer-release |
| 48 | # maven release requires sigul which requires centos |
| 49 | # container release requires docker |
| 50 | build-node: centos7-docker-2c-8g |
| 51 | jobs: |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 52 | - "{project-name}-gerrit-release-jobs" |