blob: e450beb4e3182de8362cfccc2f7291febc31cdea [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
Anil Belur4e0d56a2023-04-18 11:49:03 +10008- _nonrtric_jdk_common: &nonrtric_jdk_common
YongchaoWuba898322019-11-12 12:15:03 +01009 # git repo
10 project: nonrtric
11 # jenkins job name prefix
12 project-name: nonrtric
13 # maven settings file has docker credentials
14 mvn-settings: nonrtric-settings
YongchaoWuba898322019-11-12 12:15:03 +010015 mvn-version: mvn36
JohnKeeney29d54112023-03-02 13:11:44 +000016 java-version: openjdk17
elinuxhenrikba9bee22020-06-02 11:53:56 +020017
JohnKeeney78ce9662024-03-06 14:15:23 +000018- _nonrtric_docker_common: &nonrtric_docker_common
elinuxhenrikff67ef52022-04-08 08:40:57 +020019 <<: *nonrtric_jdk_common
elinuxhenrik2cf1afb2022-12-20 16:45:19 +010020 # get tag from YAML
21 container-tag-method: yaml-file
22 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100023 docker-build-args: "--network=host"
elinuxhenrike2c327b2020-05-29 09:48:09 +020024
elinuxhenrike2c327b2020-05-29 09:48:09 +020025- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020026 <<: *nonrtric_jdk_common
JohnKeeney78ce9662024-03-06 14:15:23 +000027 name: nonrtric-release
28 # maven release requires sigul which requires centos
29 # container release requires docker
30 build-node: centos7-docker-2c-8g
elinuxhenrike2c327b2020-05-29 09:48:09 +020031 jobs:
JohnKeeney78ce9662024-03-06 14:15:23 +000032 - "{project-name}-gerrit-release-jobs"
elinuxhenrike2c327b2020-05-29 09:48:09 +020033
JohnKeeney78ce9662024-03-06 14:15:23 +000034# Jobs to verify / build / sonar for functional releaseable funtions
elinuxhenrik89931c62021-12-08 10:07:53 +010035- project:
JohnKeeney78ce9662024-03-06 14:15:23 +000036 <<: *nonrtric_docker_common
elinuxhenrik987febc2022-08-17 14:55:07 +020037 name: nonrtric-plt-auth-token-fetch
Anil Belur439502c2023-05-07 12:39:38 +100038 project-name: "{name}"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010039 # image name
Anil Belur439502c2023-05-07 12:39:38 +100040 docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010041 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100042 docker-root: "auth-token-fetch"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010043 # Directory where go test should be run
Anil Belur439502c2023-05-07 12:39:38 +100044 go-root: "auth-token-fetch"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010045 # Limit build trigger to appropriate files
46 gerrit_trigger_file_paths:
47 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100048 pattern: "auth-token-fetch/.*"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010049 build-node: ubuntu1804-docker-4c-4g
50 # Includes verify and merge jobs
51 jobs:
52 - "{project-name}-gerrit-docker-jobs"
53 - gerrit-go-verify
54 stream:
JohnKeeney29d54112023-03-02 13:11:44 +000055 - master:
56 branch: master
JohnKeeney9199e552023-06-15 00:23:21 +010057 - h-release:
58 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000059 - i-release:
60 branch: i-release
lapentafd3638a982024-10-10 14:06:05 +010061 - j-release:
62 branch: j-release
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010063
JohnKeeney78ce9662024-03-06 14:15:23 +000064# Jobs to verify / build sample uService images
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010065- project:
JohnKeeney78ce9662024-03-06 14:15:23 +000066 <<: *nonrtric_docker_common
67 name: nonrtric-sample-helloworld-sme-invoker
68 project-name: "{name}"
69 # image name
JohnKeeney27b62452024-03-08 12:42:23 +000070 docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker"
JohnKeeney78ce9662024-03-06 14:15:23 +000071 # Directory with Dockerfile
72 docker-root: "sample-services/hello-world-sme-invoker"
73 # Limit build trigger to appropriate files
74 gerrit_trigger_file_paths:
75 - compare-type: REG_EXP
76 pattern: "sample-services/hello-world-sme-invoker/.*"
77 build-node: ubuntu1804-docker-4c-4g
78 # Includes verify and merge jobs
elinuxhenrik0e790382021-12-13 18:14:04 +010079 jobs:
JohnKeeney78ce9662024-03-06 14:15:23 +000080 - "{project-name}-gerrit-docker-jobs"
81 stream:
82 - master:
83 branch: master
lapentafd3638a982024-10-10 14:06:05 +010084 - j-release:
85 branch: j-release
JohnKeeney78ce9662024-03-06 14:15:23 +000086
87- project:
88 <<: *nonrtric_docker_common
89 name: nonrtric-sample-helloworld
90 project-name: "{name}"
91 # image name
JohnKeeney5ee90502024-03-20 11:29:41 +000092 docker-name: "o-ran-sc/nonrtric-sample-helloworld"
JohnKeeney78ce9662024-03-06 14:15:23 +000093 # Directory with Dockerfile
94 docker-root: "sample-services/hello-world"
95 # Limit build trigger to appropriate files
96 gerrit_trigger_file_paths:
97 - compare-type: REG_EXP
98 pattern: "sample-services/hello-world/.*"
99 build-node: ubuntu1804-docker-4c-4g
100 # Includes verify and merge jobs
101 jobs:
102 - "{project-name}-gerrit-docker-jobs"
103 stream:
104 - master:
105 branch: master
lapentafd3638a982024-10-10 14:06:05 +0100106 - j-release:
107 branch: j-release
JohnKeeney78ce9662024-03-06 14:15:23 +0000108
lapentafdcef9a4c2024-04-23 11:31:22 +0100109- project:
110 <<: *nonrtric_docker_common
111 name: nonrtric-sample-icsproducer
112 project-name: "{name}"
113 # image name
114 docker-name: "o-ran-sc/nonrtric-sample-icsproducer"
115 # Directory with Dockerfile
116 docker-root: "sample-services/ics-producer-consumer/producer"
117 # Limit build trigger to appropriate files
118 gerrit_trigger_file_paths:
119 - compare-type: REG_EXP
120 pattern: "sample-services/ics-producer-consumer/producer/.*"
121 build-node: ubuntu1804-docker-4c-4g
122 post_docker_build_script: !include-raw-escape:
123 - ics-producer-consumer-tests.sh
124 # Includes verify and merge jobs
125 jobs:
126 - "{project-name}-gerrit-docker-jobs"
127 stream:
128 - master:
129 branch: master
lapentafd3638a982024-10-10 14:06:05 +0100130 - j-release:
131 branch: j-release
lapentafdcef9a4c2024-04-23 11:31:22 +0100132
133- project:
134 <<: *nonrtric_docker_common
135 name: nonrtric-sample-icsconsumer
136 project-name: "{name}"
137 # image name
138 docker-name: "o-ran-sc/nonrtric-sample-icsconsumer"
139 # Directory with Dockerfile
140 docker-root: "sample-services/ics-producer-consumer/consumer"
141 # Limit build trigger to appropriate files
142 gerrit_trigger_file_paths:
143 - compare-type: REG_EXP
144 pattern: "sample-services/ics-producer-consumer/consumer/.*"
145 build-node: ubuntu1804-docker-4c-4g
146 post_docker_build_script: !include-raw-escape:
147 - ics-producer-consumer-tests.sh
148 # Includes verify and merge jobs
149 jobs:
150 - "{project-name}-gerrit-docker-jobs"
151 stream:
152 - master:
153 branch: master
lapentafd3638a982024-10-10 14:06:05 +0100154 - j-release:
155 branch: j-release
156
157- project:
158 <<: *nonrtric_docker_common
159 name: nonrtric-sample-simplekafkaproducer
160 project-name: "{name}"
161 # image name
lapentafd84f60a32024-10-11 15:32:13 +0100162 docker-name: "o-ran-sc/nonrtric-sample-simple-icsproducer"
lapentafd3638a982024-10-10 14:06:05 +0100163 # Directory with Dockerfile
164 docker-root: "sample-services/ics-simple-producer-consumer/kafka-producer"
165 # Limit build trigger to appropriate files
166 gerrit_trigger_file_paths:
167 - compare-type: REG_EXP
168 pattern: "sample-services/ics-simple-producer-consumer/.*"
169 build-node: ubuntu1804-docker-4c-4g
170 post_docker_build_script: !include-raw-escape:
171 - ics-producer-consumer-tests.sh
172 # Includes verify and merge jobs
173 jobs:
174 - "{project-name}-gerrit-docker-jobs"
175 stream:
176 - master:
177 branch: master
178
179- project:
180 <<: *nonrtric_docker_common
181 name: nonrtric-sample-simplekafkaconsumer
182 project-name: "{name}"
183 # image name
lapentafd84f60a32024-10-11 15:32:13 +0100184 docker-name: "o-ran-sc/nonrtric-sample-simple-icsconsumer"
lapentafd3638a982024-10-10 14:06:05 +0100185 # Directory with Dockerfile
186 docker-root: "sample-services/ics-simple-producer-consumer/kafka-consumer"
187 # Limit build trigger to appropriate files
188 gerrit_trigger_file_paths:
189 - compare-type: REG_EXP
190 pattern: "sample-services/ics-simple-producer-consumer/.*"
191 build-node: ubuntu1804-docker-4c-4g
192 post_docker_build_script: !include-raw-escape:
193 - ics-producer-consumer-tests.sh
194 # Includes verify and merge jobs
195 jobs:
196 - "{project-name}-gerrit-docker-jobs"
197 stream:
198 - master:
199 branch: master
lapentafdcef9a4c2024-04-23 11:31:22 +0100200
JohnKeeney78ce9662024-03-06 14:15:23 +0000201# Jobs to verify / build images for testing
202- project:
203 <<: *nonrtric_docker_common
204 name: nonrtric-test-kafka-procon
205 project-name: "{name}"
206 # image name
207 docker-name: "kafka-procon"
208 # Directory with Dockerfile
209 docker-root: "test/kafka-procon"
210 # Limit build trigger to appropriate files
211 gerrit_trigger_file_paths:
212 - compare-type: REG_EXP
213 pattern: "test/kafka-procon/.*"
214 build-node: ubuntu1804-docker-4c-4g
215 # Includes verify and merge jobs
216 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000217 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000218 stream:
219 - master:
220 branch: master
221
222- project:
223 <<: *nonrtric_docker_common
224 name: nonrtric-test-http-https-proxy
225 project-name: "{name}"
226 # image name
JohnKeeney65521602024-03-11 10:01:12 +0000227 docker-name: "nodejs-kube-proxy"
JohnKeeney78ce9662024-03-06 14:15:23 +0000228 # Directory with Dockerfile
229 docker-root: "test/http-https-proxy"
230 # Limit build trigger to appropriate files
231 gerrit_trigger_file_paths:
232 - compare-type: REG_EXP
233 pattern: "test/http-https-proxy/.*"
234 build-node: ubuntu1804-docker-4c-4g
235 # Includes verify and merge jobs
236 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000237 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000238 stream:
239 - master:
240 branch: master
241
242- project:
243 <<: *nonrtric_docker_common
244 name: nonrtric-test-cr
245 project-name: "{name}"
246 # image name
JohnKeeney65521602024-03-11 10:01:12 +0000247 docker-name: "callback-receiver"
JohnKeeney78ce9662024-03-06 14:15:23 +0000248 # Directory with Dockerfile
249 docker-root: "test/cr"
250 # Limit build trigger to appropriate files
251 gerrit_trigger_file_paths:
252 - compare-type: REG_EXP
253 pattern: "test/cr/.*"
254 build-node: ubuntu1804-docker-4c-4g
255 # Includes verify and merge jobs
256 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000257 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000258 stream:
259 - master:
260 branch: master
261
262- project:
263 <<: *nonrtric_docker_common
264 name: nonrtric-test-prodstub
265 project-name: "{name}"
266 # image name
JohnKeeney65521602024-03-11 10:01:12 +0000267 docker-name: "producer-stub"
JohnKeeney78ce9662024-03-06 14:15:23 +0000268 # Directory with Dockerfile
269 docker-root: "test/prodstub"
270 # Limit build trigger to appropriate files
271 gerrit_trigger_file_paths:
272 - compare-type: REG_EXP
273 pattern: "test/prodstub/.*"
274 build-node: ubuntu1804-docker-4c-4g
275 # Includes verify and merge jobs
276 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000277 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000278 stream:
279 - master:
280 branch: master
281
282- project:
283 <<: *nonrtric_docker_common
284 name: nonrtric-test-mrstub
285 project-name: "{name}"
286 # image name
287 docker-name: "mrstub"
288 # Directory with Dockerfile
289 docker-root: "test/mrstub"
290 # Limit build trigger to appropriate files
291 gerrit_trigger_file_paths:
292 - compare-type: REG_EXP
293 pattern: "test/mrstub/.*"
294 build-node: ubuntu1804-docker-4c-4g
295 # Includes verify and merge jobs
296 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000297 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000298 stream:
299 - master:
300 branch: master