blob: 1688cfbf9ec581430c0bce6fed9ac177989b4bf6 [file] [log] [blame]
lf-jobbuildere6ff8f82022-06-01 15:31:35 +00001---
2- project:
3 name: ric-app-kpimon-go-project-view
4 project-name: ric-app-kpimon-go
5 views:
6 - project-view
7
Anil Belur439502c2023-05-07 12:39:38 +10008- _kpimon-go_common: &kpimon-go_common # values apply to all projects
sandeepindiab88630a2023-01-06 01:24:52 +05309 name: kpimon-go-common
10 # git repo
11 project: ric-app/kpimon-go
12 # jenkins prefix
13 project-name: ric-app-kpimon-go
14 # maven settings file has docker credentials
15 mvn-settings: ric-app-kpimon-go-settings
16
sandeepindiab88630a2023-01-06 01:24:52 +053017# create docker image when source changes
18- project:
19 <<: *kpimon-go_common
20 # also used as image name
21 name: ric-app-kpimon-go
22 # image name
Anil Belur439502c2023-05-07 12:39:38 +100023 docker-name: "o-ran-sc/{name}"
sandeepindiab88630a2023-01-06 01:24:52 +053024 # 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"
sandeepindiab88630a2023-01-06 01:24:52 +053028 # 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).)*$'
sandeepindiab88630a2023-01-06 01:24:52 +053032 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100033 - "{project-name}-gerrit-docker-jobs"
sandeepindiab88630a2023-01-06 01:24:52 +053034 stream:
Anil Belur439502c2023-05-07 12:39:38 +100035 - master:
36 branch: master
sandeepindiab88630a2023-01-06 01:24:52 +053037
Anil Belur4e0d56a2023-04-18 11:49:03 +100038# push nexus image from staging to release
sandeepindiab88630a2023-01-06 01:24:52 +053039- project:
40 <<: *kpimon-go_common
41 name: ric-app-kpimon-go-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"