3 name: nonrtric-project-view
8 - _nonrtric_jdk_common: &nonrtric_jdk_common
11 # jenkins job name prefix
12 project-name: nonrtric
13 # maven settings file has docker credentials
14 mvn-settings: nonrtric-settings
16 java-version: openjdk17
18 - _nonrtric_docker_common: &nonrtric_docker_common
19 <<: *nonrtric_jdk_common
21 container-tag-method: yaml-file
22 # use host network to clone from our gerrit
23 docker-build-args: "--network=host"
26 <<: *nonrtric_jdk_common
27 name: nonrtric-release
28 # maven release requires sigul which requires centos
29 # container release requires docker
30 build-node: centos7-docker-2c-8g
32 - "{project-name}-gerrit-release-jobs"
34 # Jobs to verify / build / sonar for functional releaseable funtions
36 <<: *nonrtric_docker_common
37 name: nonrtric-plt-auth-token-fetch
38 project-name: "{name}"
40 docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch"
41 # Directory with Dockerfile
42 docker-root: "auth-token-fetch"
43 # Directory where go test should be run
44 go-root: "auth-token-fetch"
45 # Limit build trigger to appropriate files
46 gerrit_trigger_file_paths:
47 - compare-type: REG_EXP
48 pattern: "auth-token-fetch/.*"
49 build-node: ubuntu1804-docker-4c-4g
50 # Includes verify and merge jobs
52 - "{project-name}-gerrit-docker-jobs"
58 java-version: openjdk11
66 <<: *nonrtric_jdk_common
67 name: nonrtric-plt-auth-token-fetch-sonar
68 project-name: nonrtric-plt-auth-token-fetch
69 # prescan script requires ubuntu
70 # golang is only on docker-enabled nodes
71 build-node: ubuntu1804-docker-4c-4g
72 sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh
73 sonar-project-file: ""
74 java-version: openjdk11
75 # use sonarcloud values from defaults.yaml
76 sonar-properties: !include-raw-escape: sonar-project.properties
78 - gerrit-sonar-prescan-script
80 # Jobs to verify / build sample uService images
82 <<: *nonrtric_docker_common
83 name: nonrtric-sample-helloworld-sme-invoker
84 project-name: "{name}"
86 docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker"
87 # Directory with Dockerfile
88 docker-root: "sample-services/hello-world-sme-invoker"
89 # Limit build trigger to appropriate files
90 gerrit_trigger_file_paths:
91 - compare-type: REG_EXP
92 pattern: "sample-services/hello-world-sme-invoker/.*"
93 build-node: ubuntu1804-docker-4c-4g
94 # Includes verify and merge jobs
96 - "{project-name}-gerrit-docker-jobs"
102 <<: *nonrtric_docker_common
103 name: nonrtric-sample-helloworld
104 project-name: "{name}"
106 docker-name: "o-ran-sc/nonrtric-sample-helloworld"
107 # Directory with Dockerfile
108 docker-root: "sample-services/hello-world"
109 # Limit build trigger to appropriate files
110 gerrit_trigger_file_paths:
111 - compare-type: REG_EXP
112 pattern: "sample-services/hello-world/.*"
113 build-node: ubuntu1804-docker-4c-4g
114 # Includes verify and merge jobs
116 - "{project-name}-gerrit-docker-jobs"
122 <<: *nonrtric_docker_common
123 name: nonrtric-sample-icsproducer
124 project-name: "{name}"
126 docker-name: "o-ran-sc/nonrtric-sample-icsproducer"
127 # Directory with Dockerfile
128 docker-root: "sample-services/ics-producer-consumer/producer"
129 # Limit build trigger to appropriate files
130 gerrit_trigger_file_paths:
131 - compare-type: REG_EXP
132 pattern: "sample-services/ics-producer-consumer/producer/.*"
133 build-node: ubuntu1804-docker-4c-4g
134 post_docker_build_script: !include-raw-escape:
135 - ics-producer-consumer-tests.sh
136 # Includes verify and merge jobs
138 - "{project-name}-gerrit-docker-jobs"
144 <<: *nonrtric_docker_common
145 name: nonrtric-sample-icsconsumer
146 project-name: "{name}"
148 docker-name: "o-ran-sc/nonrtric-sample-icsconsumer"
149 # Directory with Dockerfile
150 docker-root: "sample-services/ics-producer-consumer/consumer"
151 # Limit build trigger to appropriate files
152 gerrit_trigger_file_paths:
153 - compare-type: REG_EXP
154 pattern: "sample-services/ics-producer-consumer/consumer/.*"
155 build-node: ubuntu1804-docker-4c-4g
156 post_docker_build_script: !include-raw-escape:
157 - ics-producer-consumer-tests.sh
158 # Includes verify and merge jobs
160 - "{project-name}-gerrit-docker-jobs"
165 # Jobs to verify / build images for testing
167 <<: *nonrtric_docker_common
168 name: nonrtric-test-kafka-procon
169 project-name: "{name}"
171 docker-name: "kafka-procon"
172 # Directory with Dockerfile
173 docker-root: "test/kafka-procon"
174 # Limit build trigger to appropriate files
175 gerrit_trigger_file_paths:
176 - compare-type: REG_EXP
177 pattern: "test/kafka-procon/.*"
178 build-node: ubuntu1804-docker-4c-4g
179 # Includes verify and merge jobs
181 - gerrit-docker-verify
187 <<: *nonrtric_docker_common
188 name: nonrtric-test-http-https-proxy
189 project-name: "{name}"
191 docker-name: "nodejs-kube-proxy"
192 # Directory with Dockerfile
193 docker-root: "test/http-https-proxy"
194 # Limit build trigger to appropriate files
195 gerrit_trigger_file_paths:
196 - compare-type: REG_EXP
197 pattern: "test/http-https-proxy/.*"
198 build-node: ubuntu1804-docker-4c-4g
199 # Includes verify and merge jobs
201 - gerrit-docker-verify
207 <<: *nonrtric_docker_common
208 name: nonrtric-test-cr
209 project-name: "{name}"
211 docker-name: "callback-receiver"
212 # Directory with Dockerfile
213 docker-root: "test/cr"
214 # Limit build trigger to appropriate files
215 gerrit_trigger_file_paths:
216 - compare-type: REG_EXP
217 pattern: "test/cr/.*"
218 build-node: ubuntu1804-docker-4c-4g
219 # Includes verify and merge jobs
221 - gerrit-docker-verify
227 <<: *nonrtric_docker_common
228 name: nonrtric-test-prodstub
229 project-name: "{name}"
231 docker-name: "producer-stub"
232 # Directory with Dockerfile
233 docker-root: "test/prodstub"
234 # Limit build trigger to appropriate files
235 gerrit_trigger_file_paths:
236 - compare-type: REG_EXP
237 pattern: "test/prodstub/.*"
238 build-node: ubuntu1804-docker-4c-4g
239 # Includes verify and merge jobs
241 - gerrit-docker-verify
247 <<: *nonrtric_docker_common
248 name: nonrtric-test-mrstub
249 project-name: "{name}"
251 docker-name: "mrstub"
252 # Directory with Dockerfile
253 docker-root: "test/mrstub"
254 # Limit build trigger to appropriate files
255 gerrit_trigger_file_paths:
256 - compare-type: REG_EXP
257 pattern: "test/mrstub/.*"
258 build-node: ubuntu1804-docker-4c-4g
259 # Includes verify and merge jobs
261 - gerrit-docker-verify