blob: 0e8693b3e271f05fdbbccfafc49bb720177afc3e [file] [log] [blame]
Jessica Wagantall0b2faea2020-11-10 16:06:34 -08001---
2- project:
3 name: ric-app-hw-go-project-view
4 project-name: ric-app-hw-go
5 views:
6 - project-view
7
8- hw-go_common: &hw-go_common
9 # values apply to all projects
10 name: hw-go-common
11 # git repo
12 project: ric-app/hw-go
13 # jenkins prefix
14 project-name: ric-app-hw-go
15 # maven settings file has docker credentials
16 mvn-settings: ric-app-hw-go-settings
17
18# verify INFO.yaml changes
19- project:
20 <<: *hw-go_common
21 name: ric-app-hw-go-info
22 build-node: centos7-builder-1c-1g
23 jobs:
24 - gerrit-info-yaml-verify
RahulBanerji0d18cc02020-12-10 12:31:37 +053025
subhash kumar singh17c7ed32021-06-23 02:05:08 +053026# create docker image when source changes
RahulBanerji0d18cc02020-12-10 12:31:37 +053027- project:
28 <<: *hw-go_common
29 name: ric-app-hw-go
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'
subhash kumar singh17c7ed32021-06-23 02:05:08 +053036 # 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).)*$'
RahulBanerji0d18cc02020-12-10 12:31:37 +053040 jobs:
41 - '{project-name}-gerrit-docker-jobs'
42 stream:
43 - master:
44 branch: master
45
subhash kumar singh17c7ed32021-06-23 02:05:08 +053046# push nexus image from staging to release
47- project:
48 <<: *hw-go_common
49 name: ric-app-hw-go-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'