blob: 7ecfa75e80009ee2512e448eae207c91f66e7dab [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
17# verify INFO.yaml changes
18- project:
19 <<: *hw_common
20 name: ric-app-hw-info
LF Jenkins CI9f3e4602020-03-11 15:03:00 +000021 build-node: centos7-builder-1c-1g
22 jobs:
23 - gerrit-info-yaml-verify
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040024
25# create docker image when source changes
26- project:
27 <<: *hw_common
28 # also used as image name
29 name: ric-app-hw
30 # image name
Anil Belur439502c2023-05-07 12:39:38 +100031 docker-name: "o-ran-sc/{name}"
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040032 # source type of image tag
33 container-tag-method: yaml-file
34 # use host network
Anil Belur439502c2023-05-07 12:39:38 +100035 docker-build-args: "--network=host"
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040036 # trigger on any change other than a file in ./docs
37 gerrit_trigger_file_paths:
Anil Belur439502c2023-05-07 12:39:38 +100038 - compare-type: REG_EXP
39 pattern: '^((?!docs/|\/COMMIT_MSG).)*$'
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040040 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100041 - "{project-name}-gerrit-docker-jobs"
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040042 stream:
Anil Belur439502c2023-05-07 12:39:38 +100043 - master:
44 branch: master
E. Scott Daniels5196ecb2020-05-20 09:04:49 -040045
46# push nexus image from staging to release
47- project:
48 <<: *hw_common
49 name: ric-app-hw-release
50 # maven release requires sigul which requires centos
51 # container release requires docker
52 build-node: centos7-docker-2c-8g
53 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100054 - "{project-name}-gerrit-release-jobs"