blob: 81a35d5264c632671f0370f34728d0db965970d3 [file] [log] [blame]
LF Jenkins CI9f3e4602020-03-11 15:03:00 +00001---
2- project:
3 name: ric-app-hw-project-view
4 project-name: ric-app-hw
5 views:
6 - project-view
7
Anil Belur439502c2023-05-07 12:39:38 +10008- _hw_common: &hw_common # values apply to all projects
E. Scott Daniels5196ecb2020-05-20 09:04:49 -04009 name: hw-common
10 # git repo
LF Jenkins CI9f3e4602020-03-11 15:03:00 +000011 project: ric-app/hw
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040012 # jenkins prefix
LF Jenkins CI9f3e4602020-03-11 15:03:00 +000013 project-name: ric-app-hw
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040014 # maven settings file has docker credentials
15 mvn-settings: ric-app-hw-settings
16
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040017# create docker image when source changes
18- project:
19 <<: *hw_common
20 # also used as image name
21 name: ric-app-hw
22 # image name
Anil Belur439502c2023-05-07 12:39:38 +100023 docker-name: "o-ran-sc/{name}"
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040024 # source type of image tag
25 container-tag-method: yaml-file
26 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100027 docker-build-args: "--network=host"
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040028 # trigger on any change other than a file in ./docs
29 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100030 - compare-type: REG_EXP
31 pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040032 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100033 - "{project-name}-gerrit-docker-jobs"
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040034 stream:
Anil Belur439502c2023-05-07 12:39:38 +100035 - master:
36 branch: master
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040037
38# push nexus image from staging to release
39- project:
40 <<: *hw_common
41 name: ric-app-hw-release
42 # maven release requires sigul which requires centos
43 # container release requires docker
44 build-node: centos7-docker-2c-8g
45 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100046 - "{project-name}-gerrit-release-jobs"