blob: 0353ea84f1f2452ff120221c616090a45e0ee3ce [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
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010057 - g-release:
JohnKeeney29d54112023-03-02 13:11:44 +000058 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010059 branch: g-release
JohnKeeney9199e552023-06-15 00:23:21 +010060 - h-release:
61 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000062 - i-release:
63 branch: i-release
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010064
JohnKeeney78ce9662024-03-06 14:15:23 +000065# Jobs to verify / build sample uService images
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010066- project:
JohnKeeney78ce9662024-03-06 14:15:23 +000067 <<: *nonrtric_docker_common
68 name: nonrtric-sample-helloworld-sme-invoker
69 project-name: "{name}"
70 # image name
JohnKeeney27b62452024-03-08 12:42:23 +000071 docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker"
JohnKeeney78ce9662024-03-06 14:15:23 +000072 # Directory with Dockerfile
73 docker-root: "sample-services/hello-world-sme-invoker"
74 # Limit build trigger to appropriate files
75 gerrit_trigger_file_paths:
76 - compare-type: REG_EXP
77 pattern: "sample-services/hello-world-sme-invoker/.*"
78 build-node: ubuntu1804-docker-4c-4g
79 # Includes verify and merge jobs
elinuxhenrik0e790382021-12-13 18:14:04 +010080 jobs:
JohnKeeney78ce9662024-03-06 14:15:23 +000081 - "{project-name}-gerrit-docker-jobs"
82 stream:
83 - master:
84 branch: master
85
86- project:
87 <<: *nonrtric_docker_common
88 name: nonrtric-sample-helloworld
89 project-name: "{name}"
90 # image name
JohnKeeney5ee90502024-03-20 11:29:41 +000091 docker-name: "o-ran-sc/nonrtric-sample-helloworld"
JohnKeeney78ce9662024-03-06 14:15:23 +000092 # Directory with Dockerfile
93 docker-root: "sample-services/hello-world"
94 # Limit build trigger to appropriate files
95 gerrit_trigger_file_paths:
96 - compare-type: REG_EXP
97 pattern: "sample-services/hello-world/.*"
98 build-node: ubuntu1804-docker-4c-4g
99 # Includes verify and merge jobs
100 jobs:
101 - "{project-name}-gerrit-docker-jobs"
102 stream:
103 - master:
104 branch: master
105
lapentafdcef9a4c2024-04-23 11:31:22 +0100106- project:
107 <<: *nonrtric_docker_common
108 name: nonrtric-sample-icsproducer
109 project-name: "{name}"
110 # image name
111 docker-name: "o-ran-sc/nonrtric-sample-icsproducer"
112 # Directory with Dockerfile
113 docker-root: "sample-services/ics-producer-consumer/producer"
114 # Limit build trigger to appropriate files
115 gerrit_trigger_file_paths:
116 - compare-type: REG_EXP
117 pattern: "sample-services/ics-producer-consumer/producer/.*"
118 build-node: ubuntu1804-docker-4c-4g
119 post_docker_build_script: !include-raw-escape:
120 - ics-producer-consumer-tests.sh
121 # Includes verify and merge jobs
122 jobs:
123 - "{project-name}-gerrit-docker-jobs"
124 stream:
125 - master:
126 branch: master
127
128- project:
129 <<: *nonrtric_docker_common
130 name: nonrtric-sample-icsconsumer
131 project-name: "{name}"
132 # image name
133 docker-name: "o-ran-sc/nonrtric-sample-icsconsumer"
134 # Directory with Dockerfile
135 docker-root: "sample-services/ics-producer-consumer/consumer"
136 # Limit build trigger to appropriate files
137 gerrit_trigger_file_paths:
138 - compare-type: REG_EXP
139 pattern: "sample-services/ics-producer-consumer/consumer/.*"
140 build-node: ubuntu1804-docker-4c-4g
141 post_docker_build_script: !include-raw-escape:
142 - ics-producer-consumer-tests.sh
143 # Includes verify and merge jobs
144 jobs:
145 - "{project-name}-gerrit-docker-jobs"
146 stream:
147 - master:
148 branch: master
149
JohnKeeney78ce9662024-03-06 14:15:23 +0000150# Jobs to verify / build images for testing
151- project:
152 <<: *nonrtric_docker_common
153 name: nonrtric-test-kafka-procon
154 project-name: "{name}"
155 # image name
156 docker-name: "kafka-procon"
157 # Directory with Dockerfile
158 docker-root: "test/kafka-procon"
159 # Limit build trigger to appropriate files
160 gerrit_trigger_file_paths:
161 - compare-type: REG_EXP
162 pattern: "test/kafka-procon/.*"
163 build-node: ubuntu1804-docker-4c-4g
164 # Includes verify and merge jobs
165 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000166 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000167 stream:
168 - master:
169 branch: master
170
171- project:
172 <<: *nonrtric_docker_common
173 name: nonrtric-test-http-https-proxy
174 project-name: "{name}"
175 # image name
JohnKeeney65521602024-03-11 10:01:12 +0000176 docker-name: "nodejs-kube-proxy"
JohnKeeney78ce9662024-03-06 14:15:23 +0000177 # Directory with Dockerfile
178 docker-root: "test/http-https-proxy"
179 # Limit build trigger to appropriate files
180 gerrit_trigger_file_paths:
181 - compare-type: REG_EXP
182 pattern: "test/http-https-proxy/.*"
183 build-node: ubuntu1804-docker-4c-4g
184 # Includes verify and merge jobs
185 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000186 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000187 stream:
188 - master:
189 branch: master
190
191- project:
192 <<: *nonrtric_docker_common
193 name: nonrtric-test-cr
194 project-name: "{name}"
195 # image name
JohnKeeney65521602024-03-11 10:01:12 +0000196 docker-name: "callback-receiver"
JohnKeeney78ce9662024-03-06 14:15:23 +0000197 # Directory with Dockerfile
198 docker-root: "test/cr"
199 # Limit build trigger to appropriate files
200 gerrit_trigger_file_paths:
201 - compare-type: REG_EXP
202 pattern: "test/cr/.*"
203 build-node: ubuntu1804-docker-4c-4g
204 # Includes verify and merge jobs
205 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000206 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000207 stream:
208 - master:
209 branch: master
210
211- project:
212 <<: *nonrtric_docker_common
213 name: nonrtric-test-prodstub
214 project-name: "{name}"
215 # image name
JohnKeeney65521602024-03-11 10:01:12 +0000216 docker-name: "producer-stub"
JohnKeeney78ce9662024-03-06 14:15:23 +0000217 # Directory with Dockerfile
218 docker-root: "test/prodstub"
219 # Limit build trigger to appropriate files
220 gerrit_trigger_file_paths:
221 - compare-type: REG_EXP
222 pattern: "test/prodstub/.*"
223 build-node: ubuntu1804-docker-4c-4g
224 # Includes verify and merge jobs
225 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000226 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000227 stream:
228 - master:
229 branch: master
230
231- project:
232 <<: *nonrtric_docker_common
233 name: nonrtric-test-mrstub
234 project-name: "{name}"
235 # image name
236 docker-name: "mrstub"
237 # Directory with Dockerfile
238 docker-root: "test/mrstub"
239 # Limit build trigger to appropriate files
240 gerrit_trigger_file_paths:
241 - compare-type: REG_EXP
242 pattern: "test/mrstub/.*"
243 build-node: ubuntu1804-docker-4c-4g
244 # Includes verify and merge jobs
245 jobs:
JohnKeeney65521602024-03-11 10:01:12 +0000246 - gerrit-docker-verify
JohnKeeney78ce9662024-03-06 14:15:23 +0000247 stream:
248 - master:
249 branch: master