blob: 1bec0300b22d577df2224212b2c1b89061ae867f [file] [log] [blame]
LF Jenkins CI25657162020-06-25 13:43:12 +00001---
2- project:
3 name: scp-ric-app-kpimon-project-view
4 project-name: scp-ric-app-kpimon
5 views:
6 - project-view
7
Anil Belur439502c2023-05-07 12:39:38 +10008- _kpimon_common: &kpimon_common # values apply to all projects
Ron Shacham196d3a82020-12-11 12:23:56 -05009 name: kpimon-common
10 # git repo
LF Jenkins CI25657162020-06-25 13:43:12 +000011 project: scp/ric-app/kpimon
Ron Shacham196d3a82020-12-11 12:23:56 -050012 # jenkins prefix
LF Jenkins CI25657162020-06-25 13:43:12 +000013 project-name: scp-ric-app-kpimon
Ron Shacham196d3a82020-12-11 12:23:56 -050014 # maven settings file has docker credentials
15 mvn-settings: scp-ric-app-kpimon-settings
16
Ron Shacham196d3a82020-12-11 12:23:56 -050017# create docker image when source changes
18- project:
19 <<: *kpimon_common
20 # also used as image name
21 name: scp-ric-app-kpimon
22 # image name
Anil Belur439502c2023-05-07 12:39:38 +100023 docker-name: "o-ran-sc/{name}"
Ron Shacham196d3a82020-12-11 12:23:56 -050024 # 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"
Ron Shacham196d3a82020-12-11 12:23:56 -050028 # 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).)*$'
Ron Shacham196d3a82020-12-11 12:23:56 -050032 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100033 - "{project-name}-gerrit-docker-jobs"
Ron Shacham196d3a82020-12-11 12:23:56 -050034 stream:
Anil Belur439502c2023-05-07 12:39:38 +100035 - master:
36 branch: master
Ron Shacham196d3a82020-12-11 12:23:56 -050037
38# push nexus image from staging to release
39- project:
40 <<: *kpimon_common
41 name: scp-ric-app-kpimon-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"