blob: 920fcc5ad5955f5a85eb66d42f5ec714967f0570 [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
Anil Belur439502c2023-05-07 12:39:38 +10008- _hw-go_common: &hw-go_common # values apply to all projects
Jessica Wagantall0b2faea2020-11-10 16:06:34 -08009 name: hw-go-common
10 # git repo
11 project: ric-app/hw-go
12 # jenkins prefix
13 project-name: ric-app-hw-go
14 # maven settings file has docker credentials
15 mvn-settings: ric-app-hw-go-settings
16
17# verify INFO.yaml changes
18- project:
19 <<: *hw-go_common
20 name: ric-app-hw-go-info
21 build-node: centos7-builder-1c-1g
22 jobs:
23 - gerrit-info-yaml-verify
RahulBanerji0d18cc02020-12-10 12:31:37 +053024
subhash kumar singh17c7ed32021-06-23 02:05:08 +053025# create docker image when source changes
RahulBanerji0d18cc02020-12-10 12:31:37 +053026- project:
27 <<: *hw-go_common
28 name: ric-app-hw-go
29 # image name
Anil Belur439502c2023-05-07 12:39:38 +100030 docker-name: "o-ran-sc/{name}"
RahulBanerji0d18cc02020-12-10 12:31:37 +053031 # source of docker tag
32 container-tag-method: yaml-file
33 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100034 docker-build-args: "--network=host"
subhash kumar singh17c7ed32021-06-23 02:05:08 +053035 # trigger on any change other than a file in ./docs
36 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100037 - compare-type: REG_EXP
38 pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
RahulBanerji0d18cc02020-12-10 12:31:37 +053039 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100040 - "{project-name}-gerrit-docker-jobs"
RahulBanerji0d18cc02020-12-10 12:31:37 +053041 stream:
42 - master:
43 branch: master
44
subhash kumar singh17c7ed32021-06-23 02:05:08 +053045# push nexus image from staging to release
46- project:
47 <<: *hw-go_common
48 name: ric-app-hw-go-release
49 # maven release requires sigul which requires centos
50 # container release requires docker
51 build-node: centos7-docker-2c-8g
52 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100053 - "{project-name}-gerrit-release-jobs"