blob: f0a7d22ee4082b5d74bd59074acfd3c76149f713 [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
8- bouncer_common: &bouncer_common
9 # values apply to all projects
10 name: bouncer-common
11 # git repo
12 project: ric-app/bouncer
13 # jenkins prefix
14 project-name: ric-app-bouncer
15 # maven settings file has docker credentials
16 mvn-settings: ric-app-bouncer-settings
17
18# verify INFO.yaml changes
19- project:
20 <<: *bouncer_common
21 name: ric-app-bouncer-info
22 build-node: centos7-builder-1c-1g
23 jobs:
24 - gerrit-info-yaml-verify
25
26# create docker image when source changes
27- project:
28 <<: *bouncer_common
29 # also used as image name
30 name: ric-app-bouncer
31 # image name
32 docker-name: 'o-ran-sc/{name}'
Anil Belurd0306fe2021-07-09 09:30:52 +100033 # docker root
34 docker-root: Bouncer
Anil Belurc9942192021-07-07 23:56:28 +100035 # source type of image tag
36 container-tag-method: yaml-file
37 # use host network
38 docker-build-args: '--network=host'
Anil Belurd0306fe2021-07-09 09:30:52 +100039 # tag file is in subdir
40 container-tag-yaml-dir: Bouncer
Anil Belurc9942192021-07-07 23:56:28 +100041 # trigger on any change other than a file in ./docs
42 gerrit_trigger_file_paths:
43 - compare-type: REG_EXP
44 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
45 - compare-type: REG_EXP
46 pattern: 'bouncer/.*'
47 jobs:
48 - '{project-name}-gerrit-docker-jobs'
49 stream:
50 - master:
51 branch: master
52
53# push nexus image from staging to release
54- project:
55 <<: *bouncer_common
56 name: ric-app-bouncer-release
57 # maven release requires sigul which requires centos
58 # container release requires docker
59 build-node: centos7-docker-2c-8g
60 jobs:
61 - '{project-name}-gerrit-release-jobs'