blob: 9e7ac4ce13a0e265967e0d132f4d729bd3c461b7 [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}'
33 # source type of image tag
34 container-tag-method: yaml-file
35 # use host network
36 docker-build-args: '--network=host'
37 # trigger on any change other than a file in ./docs
38 gerrit_trigger_file_paths:
39 - compare-type: REG_EXP
40 pattern: '^((?!docs\/|releases\/|\/COMMIT_MSG).)*$'
41 - compare-type: REG_EXP
42 pattern: 'bouncer/.*'
43 jobs:
44 - '{project-name}-gerrit-docker-jobs'
45 stream:
46 - master:
47 branch: master
48
49# push nexus image from staging to release
50- project:
51 <<: *bouncer_common
52 name: ric-app-bouncer-release
53 # maven release requires sigul which requires centos
54 # container release requires docker
55 build-node: centos7-docker-2c-8g
56 jobs:
57 - '{project-name}-gerrit-release-jobs'