blob: 50f794ed39983fcdb0c11704e0f043b38f1cf666 [file] [log] [blame]
Anil Belurc9942192021-07-07 23:56:28 +10001---
2- project:
3 name: ric-app-bouncer-project-view
4 project-name: ric-app-bouncer
5 views:
6 - project-view
7
Anil Belur439502c2023-05-07 12:39:38 +10008- _bouncer_common: &bouncer_common # values apply to all projects
Anil Belurc9942192021-07-07 23:56:28 +10009 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 Belurc9942192021-07-07 23:56:28 +100017# 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 Belur439502c2023-05-07 12:39:38 +100023 docker-name: "o-ran-sc/{name}"
Anil Belurd0306fe2021-07-09 09:30:52 +100024 # docker root
25 docker-root: Bouncer
Anil Belurc9942192021-07-07 23:56:28 +100026 # source type of image tag
27 container-tag-method: yaml-file
28 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100029 docker-build-args: "--network=host"
Anil Belurd0306fe2021-07-09 09:30:52 +100030 # tag file is in subdir
31 container-tag-yaml-dir: Bouncer
Anil Belurc9942192021-07-07 23:56:28 +100032 # trigger on any change other than a file in ./docs
33 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100034 - compare-type: REG_EXP
35 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
36 - compare-type: REG_EXP
37 pattern: "bouncer/.*"
Anil Belurc9942192021-07-07 23:56:28 +100038 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100039 - "{project-name}-gerrit-docker-jobs"
Anil Belurc9942192021-07-07 23:56:28 +100040 stream:
Anil Belur439502c2023-05-07 12:39:38 +100041 - master:
42 branch: master
Anil Belurc9942192021-07-07 23:56:28 +100043
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 Belur439502c2023-05-07 12:39:38 +100052 - "{project-name}-gerrit-release-jobs"