blob: 2c3051195037539ebfad96f34de3ad2903fbe323 [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
elinuxhenrik75007732021-09-06 06:48:06 +0200182 name: nonrtric-dmaap-mediator-producer-sonar
elinuxhenrik09103bf2021-11-05 14:43:55 +0100183 project-name: nonrtric-dmaap-mediator-producer-sonar
elinuxhenrik75007732021-09-06 06:48:06 +0200184 # prescan script requires ubuntu
185 # golang is only on docker-enabled nodes
186 build-node: ubuntu1804-docker-4c-4g
187 sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh
188 sonar-project-file: ""
Anil Belur13a94392021-09-24 07:09:20 +1000189 java-version: openjdk11
elinuxhenrik75007732021-09-06 06:48:06 +0200190 # use sonarcloud values from defaults.yaml
191 sonar-properties: |
192 # Required metadata
193 sonar.login={sonarcloud_api_token}
elinuxhenrikc3bacac2021-11-24 13:06:47 +0100194 sonar.projectKey={sonarcloud_project_organization}_nonrtric-dmaap-mediator-producer
elinuxhenrik75007732021-09-06 06:48:06 +0200195 sonar.organization={sonarcloud_project_organization}
196 # Encoding
197 sonar.build.sourceEncoding=UTF-8
198 # Language
199 sonar.language=go
200 # Source
201 sonar.sources=.
202 # Unit tests
elinuxhenrik71ab46b2021-09-29 12:53:26 +0200203 sonar.go.coverage.reportPaths=dmaap-mediator-producer/coverage.txt
elinuxhenrik75007732021-09-06 06:48:06 +0200204 # Inclusions
elinuxhenrikb2977252021-09-21 08:21:30 +0200205 sonar.inclusions=dmaap-mediator-producer/internal/**/**.go
elinuxhenrik75007732021-09-06 06:48:06 +0200206 # Exclusions
elinuxhenrik09103bf2021-11-05 14:43:55 +0100207 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 +0200208 jobs:
209 - gerrit-sonar-prescan-script
210
211- project:
212 <<: *nonrtric_jdk_common
elinuxhenrik0e790382021-12-13 18:14:04 +0100213 name: nonrtric-release
214 # maven release requires sigul which requires centos
215 # container release requires docker
216 build-node: centos7-docker-2c-8g
217 jobs:
218 - '{project-name}-gerrit-release-jobs'
219
220- project:
221 <<: *nonrtric_jdk_common
222 name: nonrtric-sonar
223 project-name: '{name}'
224 # template goal install builds docker image unnecessarily
225 mvn-params: '-Ddocker.skip=true'
226 sonarcloud: true
227 sonarcloud-api-token: '{sonarcloud_api_token}'
228 sonarcloud-project-key: '{sonarcloud_project_organization}_nonrtric'
229 sonarcloud-project-organization: '{sonarcloud_project_organization}'
230 jobs:
231 - gerrit-maven-sonar
232
233# Usecases
234- project:
235 <<: *nonrtric_jdk_common
236 name: nonrtric-o-ru-closed-loop-recovery
237 project-name: '{name}'
238 # image name
239 docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery'
240 # get tag from YAML
241 container-tag-method: yaml-file
242 # use host network to clone from our gerrit
243 docker-build-args: '--network=host'
244 # Directory with Dockerfile
245 docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app'
246 # Limit build trigger to appropriate files
247 gerrit_trigger_file_paths:
248 - compare-type: REG_EXP
249 pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*'
250 build-node: ubuntu1804-docker-4c-4g
251 # Includes verify and merge jobs
252 jobs:
253 - "{project-name}-gerrit-docker-jobs"
254 stream:
255 - master:
256 branch: master
257 - dawn:
258 branch: dawn
259
260- project:
261 <<: *nonrtric_jdk_common
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200262 name: nonrtric-o-ru-closed-loop-consumer-sonar
elinuxhenrik09103bf2021-11-05 14:43:55 +0100263 project-name: nonrtric-o-ru-closed-loop-consumer-sonar
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200264 # prescan script requires ubuntu
265 # golang is only on docker-enabled nodes
266 build-node: ubuntu1804-docker-4c-4g
267 sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh
268 sonar-project-file: ""
269 java-version: openjdk11
270 # use sonarcloud values from defaults.yaml
271 sonar-properties: |
272 # Required metadata
273 sonar.login={sonarcloud_api_token}
elinuxhenrikbd165fd2021-11-18 15:06:28 +0100274 sonar.projectKey={sonarcloud_project_organization}_nonrtric-o-ru-closed-loop-consumer
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200275 sonar.organization={sonarcloud_project_organization}
276 # Encoding
277 sonar.build.sourceEncoding=UTF-8
278 # Language
279 sonar.language=go
280 # Source
281 sonar.sources=.
282 # Unit tests
283 sonar.go.coverage.reportPaths=test/usecases/oruclosedlooprecovery/goversion/coverage.txt
284 # Inclusions
elinuxhenrik423e0c02021-10-22 14:25:56 +0200285 sonar.inclusions=test/usecases/oruclosedlooprecovery/goversion/internal/**/**.go,test/usecases/oruclosedlooprecovery/goversion/**.go
elinuxhenrikb9b3ba02021-10-04 16:19:05 +0200286 # Exclusions
elinuxhenrik09103bf2021-11-05 14:43:55 +0100287 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 +0200288 jobs:
289 - gerrit-sonar-prescan-script
290