blob: 3e3d9bf38435e38f9972aaa4956d011c5661f7a7 [file] [log] [blame]
YongchaoWu3072a9d2019-11-07 20:27:07 +01001---
2- project:
3 name: nonrtric-project-view
4 project-name: nonrtric
5 views:
6 - project-view
7
8- project:
9 name: nonrtric-info
10 project: nonrtric
11 project-name: nonrtric
Aric Gardnerda252d22019-10-11 16:10:03 -040012 build-node: centos7-builder-1c-1g
YongchaoWu3072a9d2019-11-07 20:27:07 +010013 jobs:
14 - gerrit-info-yaml-verify
YongchaoWuba898322019-11-12 12:15:03 +010015
elinuxhenrikba9bee22020-06-02 11:53:56 +020016- nonrtric_jdk_common: &nonrtric_jdk_common
17 name: nonrtric-jdk-common
YongchaoWuba898322019-11-12 12:15:03 +010018 # git repo
19 project: nonrtric
20 # jenkins job name prefix
21 project-name: nonrtric
22 # maven settings file has docker credentials
23 mvn-settings: nonrtric-settings
YongchaoWuba898322019-11-12 12:15:03 +010024 mvn-version: mvn36
elinuxhenrikba9bee22020-06-02 11:53:56 +020025 java-version: openjdk11
26
YongchaoWuba898322019-11-12 12:15:03 +010027- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020028 <<: *nonrtric_jdk_common
elinuxhenrik952802d2021-10-27 09:30:21 +020029 mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
YongchaoWuba898322019-11-12 12:15:03 +010030 jobs:
ecaiyanlinux433c26e2020-11-13 11:40:21 +010031 - gerrit-maven-docker-verify
YongchaoWuba898322019-11-12 12:15:03 +010032 - gerrit-maven-docker-merge
33 - gerrit-maven-docker-stage
34 stream:
35 - master:
wrider7f7c1c72019-11-19 00:13:13 -050036 branch: master
elinuxhenrikabf82032021-01-25 09:46:51 +010037 - cherry:
38 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +020039 - dawn:
40 branch: dawn
wrider7f7c1c72019-11-19 00:13:13 -050041
Chengkai Yan01019e22021-12-02 17:39:19 +000042# nonrtric:a1-policy-management-service/
43# Maven artifacts for nonrtric-a1-policy-management-service/
elinuxhenrikba9bee22020-06-02 11:53:56 +020044- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020045 <<: *nonrtric_jdk_common
Jessica Wagantallb864b082021-12-07 12:56:41 -080046 name: nonrtric-a1-policy-management-service
elinuxhenrikba9bee22020-06-02 11:53:56 +020047 project-name: '{name}'
ecaiyanlinux433c26e2020-11-13 11:40:21 +010048 mvn-opts: '-Ddocker.skip=true'
ecaiyanlinux1907f152021-12-01 05:57:16 +010049 mvn-params: '-f a1-policy-management-service/'
elinuxhenrike2c327b2020-05-29 09:48:09 +020050 gerrit_trigger_file_paths:
51 - compare-type: REG_EXP
ecaiyanlinux1907f152021-12-01 05:57:16 +010052 pattern: 'a1-policy-management-service/.*'
elinuxhenrikba9bee22020-06-02 11:53:56 +020053 build-node: ubuntu1804-builder-4c-4g
54 jobs:
55 - gerrit-maven-verify
56 - gerrit-maven-merge
57 - gerrit-maven-stage
58 - gerrit-maven-clm
59 stream:
60 - master:
61 branch: master
elinuxhenrik89931c62021-12-08 10:07:53 +010062
63# nonrtric:policy-agent/
64# Maven artifacts for nonrtric-policy-agent/
65- project:
66 <<: *nonrtric_jdk_common
67 name: nonrtric-policy-agent
68 project-name: '{name}'
69 mvn-opts: '-Ddocker.skip=true'
70 mvn-params: '-f policy-agent/'
71 gerrit_trigger_file_paths:
72 - compare-type: REG_EXP
73 pattern: 'policy-agent/.*'
74 build-node: ubuntu1804-builder-4c-4g
75 jobs:
76 - gerrit-maven-verify
77 - gerrit-maven-merge
78 - gerrit-maven-stage
79 - gerrit-maven-clm
80 stream:
elinuxhenrikabf82032021-01-25 09:46:51 +010081 - cherry:
82 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +020083 - dawn:
84 branch: dawn
elinuxhenrike2c327b2020-05-29 09:48:09 +020085
elinuxhenrik54cd5492020-06-03 14:00:26 +020086# nonrtric:sdnc-a1-controller
87# Maven artifacts for nonrtric-sdnc-a1-controller
elinuxhenrike2c327b2020-05-29 09:48:09 +020088- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020089 <<: *nonrtric_jdk_common
elinuxhenrik54cd5492020-06-03 14:00:26 +020090 name: nonrtric-sdnc-a1-controller
elinuxhenrikba9bee22020-06-02 11:53:56 +020091 project-name: '{name}'
ecaiyanlinux433c26e2020-11-13 11:40:21 +010092 mvn-opts: '-Ddocker.skip=true'
elinuxhenrik54cd5492020-06-03 14:00:26 +020093 mvn-params: '-f sdnc-a1-controller/northbound'
elinuxhenrikba9bee22020-06-02 11:53:56 +020094 gerrit_trigger_file_paths:
95 - compare-type: REG_EXP
elinuxhenrik54cd5492020-06-03 14:00:26 +020096 pattern: 'sdnc-a1-controller/northbound/.*'
elinuxhenrike2c327b2020-05-29 09:48:09 +020097 build-node: ubuntu1804-builder-4c-4g
98 jobs:
99 - gerrit-maven-verify
100 - gerrit-maven-merge
101 - gerrit-maven-stage
102 - gerrit-maven-clm
103 stream:
104 - master:
105 branch: master
elinuxhenrikabf82032021-01-25 09:46:51 +0100106 - cherry:
107 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +0200108 - dawn:
109 branch: dawn
elinuxhenrike2c327b2020-05-29 09:48:09 +0200110
ecaiyanlinux1907f152021-12-01 05:57:16 +0100111# nonrtric:information-coordinator-service
112# Maven artifacts for nonrtric-information-coordinator-service
Lathish9d5999a2020-11-25 13:42:40 +0000113- project:
114 <<: *nonrtric_jdk_common
ecaiyanlinux1907f152021-12-01 05:57:16 +0100115 name: nonrtric-information-coordinator-service
Lathish9d5999a2020-11-25 13:42:40 +0000116 project-name: '{name}'
117 mvn-opts: '-Ddocker.skip=true'
ecaiyanlinux1907f152021-12-01 05:57:16 +0100118 mvn-params: '-f information-coordinator-service'
Lathish9d5999a2020-11-25 13:42:40 +0000119 gerrit_trigger_file_paths:
120 - compare-type: REG_EXP
ecaiyanlinux1907f152021-12-01 05:57:16 +0100121 pattern: 'information-coordinator-service/.*'
Lathish9d5999a2020-11-25 13:42:40 +0000122 build-node: ubuntu1804-builder-4c-4g
123 jobs:
124 - gerrit-maven-verify
125 - gerrit-maven-merge
126 - gerrit-maven-stage
127 - gerrit-maven-clm
128 stream:
129 - master:
130 branch: master
elinuxhenrik89931c62021-12-08 10:07:53 +0100131
132# nonrtric:enrichment-coordinator-service
133# Maven artifacts for nonrtric-enrichment-coordinator-service
134- project:
135 <<: *nonrtric_jdk_common
136 name: nonrtric-enrichment-coordinator-service
137 project-name: '{name}'
138 mvn-opts: '-Ddocker.skip=true'
139 mvn-params: '-f enrichment-coordinator-service'
140 gerrit_trigger_file_paths:
141 - compare-type: REG_EXP
142 pattern: 'enrichment-coordinator-service/.*'
143 build-node: ubuntu1804-builder-4c-4g
144 jobs:
145 - gerrit-maven-verify
146 - gerrit-maven-merge
147 - gerrit-maven-stage
148 - gerrit-maven-clm
149 stream:
elinuxhenrikabf82032021-01-25 09:46:51 +0100150 - cherry:
151 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +0200152 - dawn:
153 branch: dawn
Lathish9d5999a2020-11-25 13:42:40 +0000154
ecaiyanlinux9c95efa2020-11-27 12:29:56 +0100155# nonrtric:r-app-catalogue
156# Maven artifacts for r-app-catalogue
157- project:
158 <<: *nonrtric_jdk_common
159 name: nonrtric-r-app-catalogue
160 project-name: '{name}'
161 mvn-opts: '-Ddocker.skip=true'
162 mvn-params: '-f r-app-catalogue'
163 gerrit_trigger_file_paths:
164 - compare-type: REG_EXP
165 pattern: 'r-app-catalogue/.*'
166 build-node: ubuntu1804-builder-4c-4g
167 jobs:
168 - gerrit-maven-verify
169 - gerrit-maven-merge
170 - gerrit-maven-stage
171 - gerrit-maven-clm
172 stream:
173 - master:
174 branch: master
elinuxhenrikabf82032021-01-25 09:46:51 +0100175 - cherry:
176 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +0200177 - dawn:
178 branch: dawn
ecaiyanlinux9c95efa2020-11-27 12:29:56 +0100179
wrider7f7c1c72019-11-19 00:13:13 -0500180- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +0200181 <<: *nonrtric_jdk_common
elinuxhenrik67186f32021-08-23 10:17:38 +0200182 name: nonrtric-o-ru-closed-loop-recovery
183 project-name: '{name}'
184 # image name
185 docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery'
186 # get tag from YAML
187 container-tag-method: yaml-file
188 # use host network to clone from our gerrit
189 docker-build-args: '--network=host'
190 # Directory with Dockerfile
191 docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app'
192 # Limit build trigger to appropriate files
193 gerrit_trigger_file_paths:
194 - compare-type: REG_EXP
195 pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*'
196 build-node: ubuntu1804-docker-4c-4g
197 # Includes verify and merge jobs
198 jobs:
199 - "{project-name}-gerrit-docker-jobs"
200 stream:
201 - master:
202 branch: master
203 - dawn:
204 branch: dawn
205
206- project:
207 <<: *nonrtric_jdk_common
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200208 name: nonrtric-o-ru-closed-loop-consumer
209 project-name: '{name}'
210 # image name
211 docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-consumer'
212 # get tag from YAML
213 container-tag-method: yaml-file
214 # use host network to clone from our gerrit
215 docker-build-args: '--network=host'
216 # Directory with Dockerfile
217 docker-root: 'test/usecases/oruclosedlooprecovery/goversion/'
218 # Limit build trigger to appropriate files
219 gerrit_trigger_file_paths:
220 - compare-type: REG_EXP
221 pattern: 'test/usecases/oruclosedlooprecovery/goversion/.*'
222 build-node: ubuntu1804-docker-4c-4g
223 # Includes verify and merge jobs
224 jobs:
225 - "{project-name}-gerrit-docker-jobs"
226 stream:
227 - master:
228 branch: master
229
230- project:
231 <<: *nonrtric_jdk_common
elinuxhenrik75007732021-09-06 06:48:06 +0200232 name: nonrtric-dmaap-mediator-producer-sonar
elinuxhenrik09103bf2021-11-05 14:43:55 +0100233 project-name: nonrtric-dmaap-mediator-producer-sonar
elinuxhenrik75007732021-09-06 06:48:06 +0200234 # prescan script requires ubuntu
235 # golang is only on docker-enabled nodes
236 build-node: ubuntu1804-docker-4c-4g
237 sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh
238 sonar-project-file: ""
Anil Belur13a94392021-09-24 07:09:20 +1000239 java-version: openjdk11
elinuxhenrik75007732021-09-06 06:48:06 +0200240 # use sonarcloud values from defaults.yaml
241 sonar-properties: |
242 # Required metadata
243 sonar.login={sonarcloud_api_token}
elinuxhenrikc3bacac2021-11-24 13:06:47 +0100244 sonar.projectKey={sonarcloud_project_organization}_nonrtric-dmaap-mediator-producer
elinuxhenrik75007732021-09-06 06:48:06 +0200245 sonar.organization={sonarcloud_project_organization}
246 # Encoding
247 sonar.build.sourceEncoding=UTF-8
248 # Language
249 sonar.language=go
250 # Source
251 sonar.sources=.
252 # Unit tests
elinuxhenrik71ab46b2021-09-29 12:53:26 +0200253 sonar.go.coverage.reportPaths=dmaap-mediator-producer/coverage.txt
elinuxhenrik75007732021-09-06 06:48:06 +0200254 # Inclusions
elinuxhenrikb2977252021-09-21 08:21:30 +0200255 sonar.inclusions=dmaap-mediator-producer/internal/**/**.go
elinuxhenrik75007732021-09-06 06:48:06 +0200256 # Exclusions
elinuxhenrik09103bf2021-11-05 14:43:55 +0100257 sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/stub/**.go,dmaap-mediator-producer/internal/**/**_test.go
elinuxhenrik75007732021-09-06 06:48:06 +0200258 jobs:
259 - gerrit-sonar-prescan-script
260
261- project:
262 <<: *nonrtric_jdk_common
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200263 name: nonrtric-o-ru-closed-loop-consumer-sonar
elinuxhenrik09103bf2021-11-05 14:43:55 +0100264 project-name: nonrtric-o-ru-closed-loop-consumer-sonar
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200265 # prescan script requires ubuntu
266 # golang is only on docker-enabled nodes
267 build-node: ubuntu1804-docker-4c-4g
268 sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh
269 sonar-project-file: ""
270 java-version: openjdk11
271 # use sonarcloud values from defaults.yaml
272 sonar-properties: |
273 # Required metadata
274 sonar.login={sonarcloud_api_token}
elinuxhenrikbd165fd2021-11-18 15:06:28 +0100275 sonar.projectKey={sonarcloud_project_organization}_nonrtric-o-ru-closed-loop-consumer
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200276 sonar.organization={sonarcloud_project_organization}
277 # Encoding
278 sonar.build.sourceEncoding=UTF-8
279 # Language
280 sonar.language=go
281 # Source
282 sonar.sources=.
283 # Unit tests
284 sonar.go.coverage.reportPaths=test/usecases/oruclosedlooprecovery/goversion/coverage.txt
285 # Inclusions
elinuxhenrik423e0c02021-10-22 14:25:56 +0200286 sonar.inclusions=test/usecases/oruclosedlooprecovery/goversion/internal/**/**.go,test/usecases/oruclosedlooprecovery/goversion/**.go
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200287 # Exclusions
elinuxhenrik09103bf2021-11-05 14:43:55 +0100288 sonar.exclusions=test/usecases/oruclosedlooprecovery/goversion/mocks/**.go,test/usecases/oruclosedlooprecovery/goversion/internal/**/**_test.go,test/usecases/oruclosedlooprecovery/goversion/**_test.go,test/usecases/oruclosedlooprecovery/goversion/simulator/**.go
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200289 jobs:
290 - gerrit-sonar-prescan-script
291
292- project:
293 <<: *nonrtric_jdk_common
elinuxhenrikde79a032021-08-20 08:31:26 +0200294 name: nonrtric-release
295 # maven release requires sigul which requires centos
296 # container release requires docker
297 build-node: centos7-docker-2c-8g
298 jobs:
299 - '{project-name}-gerrit-release-jobs'
300
301- project:
302 <<: *nonrtric_jdk_common
303 name: nonrtric-sonar
elinuxhenrik71ab46b2021-09-29 12:53:26 +0200304 project-name: '{name}'
elinuxhenrikde79a032021-08-20 08:31:26 +0200305 # template goal install builds docker image unnecessarily
306 mvn-params: '-Ddocker.skip=true'
307 sonarcloud: true
308 sonarcloud-api-token: '{sonarcloud_api_token}'
elinuxhenrikbd165fd2021-11-18 15:06:28 +0100309 sonarcloud-project-key: '{sonarcloud_project_organization}_nonrtric'
elinuxhenrikde79a032021-08-20 08:31:26 +0200310 sonarcloud-project-organization: '{sonarcloud_project_organization}'
311 jobs:
312 - gerrit-maven-sonar