blob: 7247d74dd5b6b13f05fd4f339f6a7405b3430e9f [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
subhash kumar singh17c7ed32021-06-23 02:05:08 +053017# create docker image when source changes
RahulBanerji0d18cc02020-12-10 12:31:37 +053018- project:
19 <<: *hw-go_common
20 name: ric-app-hw-go
21 # image name
Anil Belur439502c2023-05-07 12:39:38 +100022 docker-name: "o-ran-sc/{name}"
RahulBanerji0d18cc02020-12-10 12:31:37 +053023 # source of docker tag
24 container-tag-method: yaml-file
25 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100026 docker-build-args: "--network=host"
subhash kumar singh17c7ed32021-06-23 02:05:08 +053027 # trigger on any change other than a file in ./docs
28 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100029 - compare-type: REG_EXP
30 pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
RahulBanerji0d18cc02020-12-10 12:31:37 +053031 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100032 - "{project-name}-gerrit-docker-jobs"
RahulBanerji0d18cc02020-12-10 12:31:37 +053033 stream:
34 - master:
35 branch: master
36
subhash kumar singh17c7ed32021-06-23 02:05:08 +053037# push nexus image from staging to release
38- project:
39 <<: *hw-go_common
40 name: ric-app-hw-go-release
41 # maven release requires sigul which requires centos
42 # container release requires docker
43 build-node: centos7-docker-2c-8g
44 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100045 - "{project-name}-gerrit-release-jobs"