blob: 44df61ce4781e5098844ef0cbd49ee5b21502cbc [file] [log] [blame]
lf-jobbuilderfeffed02023-02-28 17:45:29 +00001---
2- project:
3 name: nonrtric-plt-ranpm-project-view
4 project-name: nonrtric-plt-ranpm
5 views:
6 - project-view
7
Anil Belur4e0d56a2023-04-18 11:49:03 +10008- _nonrtric-plt-ranpm_common: &nonrtric_plt_ranpm_jdk_common
JohnKeeney5c866062023-03-06 18:01:04 +00009 name: nonrtric-plt-ranpm-common
10 # git repo
11 project: nonrtric/plt/ranpm
12 # jenkins job name prefix
13 project-name: nonrtric-plt-ranpm
14 # maven settings file has docker credentials
15 mvn-settings: nonrtric-plt-ranpm-settings
16 mvn-version: mvn36
17 java-version: openjdk17
18
19- project:
20 <<: *nonrtric_plt_ranpm_jdk_common
21 name: nonrtric-plt-ranpm-gerrit-release
22 project-name: nonrtric-plt-ranpm
23 # maven release requires sigul which requires centos
24 # container release requires docker
25 build-node: centos7-docker-2c-8g
26 jobs:
Anil Belur439502c2023-05-07 12:39:38 +100027 - "{project-name}-gerrit-release-jobs"
JohnKeeney5c866062023-03-06 18:01:04 +000028
29# Jobs for nonrtric-plt-ranpm-datafilecollector
30- project:
31 <<: *nonrtric_plt_ranpm_jdk_common
32 name: nonrtric-plt-ranpm-datafilecollector-gerrit-maven-docker
33 #job name prefix
34 project-name: nonrtric-plt-ranpm-datafilecollector
Anil Belur439502c2023-05-07 12:39:38 +100035 mvn-params: "-f datafilecollector -Dbuild.number=${{BUILD_NUMBER}}"
JohnKeeney5c866062023-03-06 18:01:04 +000036 gerrit_trigger_file_paths:
37 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100038 pattern: "datafilecollector/.*"
JohnKeeney5c866062023-03-06 18:01:04 +000039 jobs:
40 - gerrit-maven-clm
41 - gerrit-maven-verify-dependencies
42 - gerrit-maven-docker-merge
43 - gerrit-maven-docker-stage
44 - gerrit-maven-docker-verify
45 stream:
46 - master:
47 branch: master
JohnKeeney9199e552023-06-15 00:23:21 +010048 - h-release:
49 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000050 - i-release:
51 branch: i-release
JohnKeeney5c866062023-03-06 18:01:04 +000052
53# Jobs for nonrtric-plt-ranpm-pmproducer
54- project:
55 <<: *nonrtric_plt_ranpm_jdk_common
56 name: nonrtric-plt-ranpm-pmproducer-gerrit-maven-docker
57 #job name prefix
58 project-name: nonrtric-plt-ranpm-pmproducer
Anil Belur439502c2023-05-07 12:39:38 +100059 mvn-params: "-f pmproducer -Dbuild.number=${{BUILD_NUMBER}}"
JohnKeeney5c866062023-03-06 18:01:04 +000060 gerrit_trigger_file_paths:
61 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100062 pattern: "pmproducer/.*"
JohnKeeney5c866062023-03-06 18:01:04 +000063 jobs:
64 - gerrit-maven-clm
65 - gerrit-maven-verify-dependencies
66 - gerrit-maven-docker-merge
67 - gerrit-maven-docker-stage
68 - gerrit-maven-docker-verify
69 stream:
70 - master:
71 branch: master
JohnKeeney9199e552023-06-15 00:23:21 +010072 - h-release:
73 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000074 - i-release:
75 branch: i-release
JohnKeeney5c866062023-03-06 18:01:04 +000076
77# Jobs for nonrtric-plt-ranpm-influxlogger
78- project:
79 <<: *nonrtric_plt_ranpm_jdk_common
80 name: nonrtric-plt-ranpm-influxlogger-gerrit-maven-docker
81 #job name prefix
82 project-name: nonrtric-plt-ranpm-influxlogger
Anil Belur439502c2023-05-07 12:39:38 +100083 mvn-params: "-f influxlogger -Dbuild.number=${{BUILD_NUMBER}}"
JohnKeeney5c866062023-03-06 18:01:04 +000084 gerrit_trigger_file_paths:
85 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100086 pattern: "influxlogger/.*"
JohnKeeney5c866062023-03-06 18:01:04 +000087 jobs:
88 - gerrit-maven-clm
89 - gerrit-maven-verify-dependencies
90 - gerrit-maven-docker-merge
91 - gerrit-maven-docker-stage
92 - gerrit-maven-docker-verify
93 stream:
94 - master:
95 branch: master
JohnKeeney9199e552023-06-15 00:23:21 +010096 - h-release:
97 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000098 - i-release:
99 branch: i-release
JohnKeeney1fc2f3d2023-05-16 18:29:23 +0100100
101- project:
102 <<: *nonrtric_plt_ranpm_jdk_common
103 name: nonrtric-plt-ranpm-pm-file-converter
104 project-name: "{name}"
105 # image name
106 docker-name: "o-ran-sc/nonrtric-plt-ranpm-pm-file-converter"
107 # get tag from YAML
108 container-tag-method: yaml-file
109 # use host network to clone from our gerrit
110 docker-build-args: "--network=host"
111 # Directory with Dockerfile
112 docker-root: "pm-file-converter"
113 # Directory where go test should be run
114 go-root: "pm-file-converter"
115 gerrit_trigger_file_paths:
116 - compare-type: REG_EXP
117 pattern: "pm-file-converter/.*"
118 build-node: ubuntu1804-docker-4c-4g
119 # Includes verify and merge jobs
120 jobs:
121 - "{project-name}-gerrit-docker-jobs"
122 - gerrit-go-verify
123 stream:
124 - master:
125 branch: master
JohnKeeney9199e552023-06-15 00:23:21 +0100126 - h-release:
127 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +0000128 - i-release:
129 branch: i-release
ambrishestc46bfa02023-08-09 13:59:29 +0100130
131# Jobs for nonrtric-plt-ranpm-pm-file-converter SONAR
132- project:
133 <<: *nonrtric_plt_ranpm_jdk_common
134 name: nonrtric-plt-ranpm-pm-file-converter-sonar
ambrishest265b4792023-08-15 12:08:41 +0100135 project-name: nonrtric-plt-ranpm-pm-file-converter
ambrishestc46bfa02023-08-09 13:59:29 +0100136 # prescan script requires ubuntu
137 # golang is only on docker-enabled nodes
138 build-node: ubuntu1804-docker-4c-4g
139 gerrit_trigger_file_paths:
140 - compare-type: REG_EXP
141 pattern: "pm-file-converter/.*"
142 sonar-prescan-script: !include-raw-escape: prescan-pm-file-converter-ubuntu.sh
143 sonar-project-file: ""
144 java-version: openjdk11
145 # use sonarcloud values from defaults.yaml
ambrishest430ff202023-08-17 12:22:39 +0100146 sonar-properties: |
147 sonar.login={sonarcloud_api_token}
148 sonar.projectKey={sonarcloud_project_organization}_{project-name}
149 sonar.organization={sonarcloud_project_organization}
150 sonar.projectName={project-name}
151 sonar.build.sourceEncoding=UTF-8
152 sonar.language=go
ambrishesta87cf632023-10-03 11:07:28 +0100153 sonar.projectBaseDir=pm-file-converter
154 sonar.go.coverage.reportPaths=coverage.txt
155 sonar.inclusions=**/*.go
156 sonar.exclusions=**/*_test.go
ambrishestc46bfa02023-08-09 13:59:29 +0100157 jobs:
158 - gerrit-sonar-prescan-script
ambrishesta80c3ed2023-08-10 17:28:58 +0100159
160- project:
161 <<: *nonrtric_plt_ranpm_jdk_common
162 name: nonrtric-plt-ranpm-datafilecollector-sonar
163 project-name: nonrtric-plt-ranpm-datafilecollector
164 # template goal install builds docker image unnecessarily
ambrishest79091fd2023-08-18 12:06:01 +0100165 mvn-params: "-f datafilecollector -Ddocker.skip=true"
166 gerrit_trigger_file_paths:
167 - compare-type: REG_EXP
168 pattern: "datafilecollector/.*"
ambrisheste190bca2023-08-21 10:23:02 +0100169 sonarcloud: true
170 sonarcloud-api-token: "{sonarcloud_api_token}"
171 sonarcloud-project-key: "nonrtric-plt-ranpm-datafilecollector"
172 sonarcloud-project-organization: "{sonarcloud_project_organization}"
ambrishesta80c3ed2023-08-10 17:28:58 +0100173 jobs:
174 - gerrit-maven-sonar
ambrishest900c3852023-08-22 17:09:41 +0100175
176- project:
177 <<: *nonrtric_plt_ranpm_jdk_common
178 name: nonrtric-plt-ranpm-pmproducer-sonar
179 project-name: nonrtric-plt-ranpm-pmproducer
180 # template goal install builds docker image unnecessarily
181 mvn-params: "-f pmproducer -Ddocker.skip=true"
182 gerrit_trigger_file_paths:
183 - compare-type: REG_EXP
184 pattern: "pmproducer/.*"
185 sonarcloud: true
186 sonarcloud-api-token: "{sonarcloud_api_token}"
187 sonarcloud-project-key: "nonrtric-plt-ranpm-pmproducer"
188 sonarcloud-project-organization: "{sonarcloud_project_organization}"
189 jobs:
190 - gerrit-maven-sonar
191
192- project:
193 <<: *nonrtric_plt_ranpm_jdk_common
194 name: nonrtric-plt-ranpm-influxlogger-sonar
195 project-name: nonrtric-plt-ranpm-influxlogger
196 # template goal install builds docker image unnecessarily
197 mvn-params: "-f influxlogger -Ddocker.skip=true"
198 gerrit_trigger_file_paths:
199 - compare-type: REG_EXP
200 pattern: "influxlogger/.*"
201 sonarcloud: true
202 sonarcloud-api-token: "{sonarcloud_api_token}"
203 sonarcloud-project-key: "nonrtric-plt-ranpm-influxlogger"
204 sonarcloud-project-organization: "{sonarcloud_project_organization}"
205 jobs:
206 - gerrit-maven-sonar