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 |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 57 | - g-release: |
JohnKeeney | 29d5411 | 2023-03-02 13:11:44 +0000 | [diff] [blame] | 58 | java-version: openjdk11 |
elinuxhenrik | d8dfdf8 | 2023-01-03 14:52:58 +0100 | [diff] [blame] | 59 | branch: g-release |
JohnKeeney | 9199e55 | 2023-06-15 00:23:21 +0100 | [diff] [blame] | 60 | - h-release: |
| 61 | branch: h-release |
JohnKeeney | 45e8cd0 | 2023-12-13 15:23:11 +0000 | [diff] [blame] | 62 | - i-release: |
| 63 | branch: i-release |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 64 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 65 | # Jobs to verify / build sample uService images |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 66 | - project: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 67 | <<: *nonrtric_docker_common |
| 68 | name: nonrtric-sample-helloworld-sme-invoker |
| 69 | project-name: "{name}" |
| 70 | # image name |
JohnKeeney | 27b6245 | 2024-03-08 12:42:23 +0000 | [diff] [blame] | 71 | docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 72 | # 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 |
elinuxhenrik | 0e79038 | 2021-12-13 18:14:04 +0100 | [diff] [blame] | 80 | jobs: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 81 | - "{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 |
JohnKeeney | 5ee9050 | 2024-03-20 11:29:41 +0000 | [diff] [blame] | 91 | docker-name: "o-ran-sc/nonrtric-sample-helloworld" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 92 | # 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 | |
lapentafd | cef9a4c | 2024-04-23 11:31:22 +0100 | [diff] [blame] | 106 | - 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 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 150 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 166 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 167 | 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 |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 176 | docker-name: "nodejs-kube-proxy" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 177 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 186 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 187 | 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 |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 196 | docker-name: "callback-receiver" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 197 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 206 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 207 | 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 |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 216 | docker-name: "producer-stub" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 217 | # 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 226 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 227 | 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: |
JohnKeeney | 6552160 | 2024-03-11 10:01:12 +0000 | [diff] [blame] | 246 | - gerrit-docker-verify |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 247 | stream: |
| 248 | - master: |
| 249 | branch: master |