YongchaoWu | 3072a9d | 2019-11-07 20:27:07 +0100 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: nonrtric-project-view |
| 4 | project-name: nonrtric |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 8 | - _nonrtric_jdk_common: &nonrtric_jdk_common |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 9 | # 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 |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 15 | mvn-version: mvn36 |
JohnKeeney | 29d5411 | 2023-03-02 13:11:44 +0000 | [diff] [blame] | 16 | java-version: openjdk17 |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 17 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 18 | - _nonrtric_docker_common: &nonrtric_docker_common |
elinuxhenrik | ff67ef5 | 2022-04-08 08:40:57 +0200 | [diff] [blame] | 19 | <<: *nonrtric_jdk_common |
elinuxhenrik | 2cf1afb | 2022-12-20 16:45:19 +0100 | [diff] [blame] | 20 | # get tag from YAML |
| 21 | container-tag-method: yaml-file |
| 22 | # use host network to clone from our gerrit |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 23 | docker-build-args: "--network=host" |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 24 | |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 25 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 26 | <<: *nonrtric_jdk_common |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 27 | name: nonrtric-release |
| 28 | # maven release requires sigul which requires centos |
| 29 | # container release requires docker |
| 30 | build-node: centos7-docker-2c-8g |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 31 | jobs: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 32 | - "{project-name}-gerrit-release-jobs" |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 33 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 34 | # Jobs to verify / build / sonar for functional releaseable funtions |
elinuxhenrik | 89931c6 | 2021-12-08 10:07:53 +0100 | [diff] [blame] | 35 | - project: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 36 | <<: *nonrtric_docker_common |
elinuxhenrik | 987febc | 2022-08-17 14:55:07 +0200 | [diff] [blame] | 37 | name: nonrtric-plt-auth-token-fetch |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 38 | project-name: "{name}" |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 39 | # image name |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 40 | docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch" |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 41 | # Directory with Dockerfile |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 42 | docker-root: "auth-token-fetch" |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 43 | # Directory where go test should be run |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 44 | go-root: "auth-token-fetch" |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 45 | # Limit build trigger to appropriate files |
| 46 | gerrit_trigger_file_paths: |
| 47 | - compare-type: REG_EXP |
Anil Belur | 439502c | 2023-05-07 12:39:38 +1000 | [diff] [blame] | 48 | pattern: "auth-token-fetch/.*" |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 49 | 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: |
JohnKeeney | 29d5411 | 2023-03-02 13:11:44 +0000 | [diff] [blame] | 55 | - master: |
| 56 | branch: master |
JohnKeeney | 9199e55 | 2023-06-15 00:23:21 +0100 | [diff] [blame] | 57 | - h-release: |
| 58 | branch: h-release |
JohnKeeney | 45e8cd0 | 2023-12-13 15:23:11 +0000 | [diff] [blame] | 59 | - i-release: |
| 60 | branch: i-release |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 61 | - j-release: |
| 62 | branch: j-release |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 63 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 64 | # Jobs to verify / build sample uService images |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 65 | - project: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 66 | <<: *nonrtric_docker_common |
| 67 | name: nonrtric-sample-helloworld-sme-invoker |
| 68 | project-name: "{name}" |
| 69 | # image name |
JohnKeeney | 27b6245 | 2024-03-08 12:42:23 +0000 | [diff] [blame] | 70 | docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 71 | # 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 |
elinuxhenrik | 0e79038 | 2021-12-13 18:14:04 +0100 | [diff] [blame] | 79 | jobs: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 80 | - "{project-name}-gerrit-docker-jobs" |
| 81 | stream: |
| 82 | - master: |
| 83 | branch: master |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 84 | - j-release: |
| 85 | branch: j-release |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 86 | |
| 87 | - project: |
| 88 | <<: *nonrtric_docker_common |
| 89 | name: nonrtric-sample-helloworld |
| 90 | project-name: "{name}" |
| 91 | # image name |
JohnKeeney | 5ee9050 | 2024-03-20 11:29:41 +0000 | [diff] [blame] | 92 | docker-name: "o-ran-sc/nonrtric-sample-helloworld" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 93 | # 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 |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 106 | - j-release: |
| 107 | branch: j-release |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 108 | |
lapentafd | cef9a4c | 2024-04-23 11:31:22 +0100 | [diff] [blame] | 109 | - 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 |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 130 | - j-release: |
| 131 | branch: j-release |
lapentafd | cef9a4c | 2024-04-23 11:31:22 +0100 | [diff] [blame] | 132 | |
| 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 |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 154 | - 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 |
lapentafd | 84f60a3 | 2024-10-11 15:32:13 +0100 | [diff] [blame^] | 162 | docker-name: "o-ran-sc/nonrtric-sample-simple-icsproducer" |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 163 | # 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 |
lapentafd | 84f60a3 | 2024-10-11 15:32:13 +0100 | [diff] [blame^] | 184 | docker-name: "o-ran-sc/nonrtric-sample-simple-icsconsumer" |
lapentafd | 3638a98 | 2024-10-10 14:06:05 +0100 | [diff] [blame] | 185 | # 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 |
lapentafd | cef9a4c | 2024-04-23 11:31:22 +0100 | [diff] [blame] | 200 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 201 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 217 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 218 | 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 |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 227 | docker-name: "nodejs-kube-proxy" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 228 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 237 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 238 | 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 |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 247 | docker-name: "callback-receiver" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 248 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 257 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 258 | 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 |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 267 | docker-name: "producer-stub" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 268 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 277 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 278 | 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 297 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 298 | stream: |
| 299 | - master: |
| 300 | branch: master |