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 | |
| 8 | - project: |
| 9 | name: nonrtric-info |
| 10 | project: nonrtric |
| 11 | project-name: nonrtric |
Aric Gardner | da252d2 | 2019-10-11 16:10:03 -0400 | [diff] [blame] | 12 | build-node: centos7-builder-1c-1g |
YongchaoWu | 3072a9d | 2019-11-07 20:27:07 +0100 | [diff] [blame] | 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 15 | |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 16 | - nonrtric_jdk_common: &nonrtric_jdk_common |
| 17 | name: nonrtric-jdk-common |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 18 | # git repo |
| 19 | project: nonrtric |
| 20 | # jenkins job name prefix |
| 21 | project-name: nonrtric |
| 22 | # maven settings file has docker credentials |
| 23 | mvn-settings: nonrtric-settings |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 24 | mvn-version: mvn36 |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 25 | java-version: openjdk11 |
| 26 | |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 27 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 28 | <<: *nonrtric_jdk_common |
elinuxhenrik | 952802d | 2021-10-27 09:30:21 +0200 | [diff] [blame] | 29 | mvn-params: -Dbuild.number=${{BUILD_NUMBER}} |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 30 | jobs: |
ecaiyanlinux | 433c26e | 2020-11-13 11:40:21 +0100 | [diff] [blame] | 31 | - gerrit-maven-docker-verify |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 32 | - gerrit-maven-docker-merge |
| 33 | - gerrit-maven-docker-stage |
| 34 | stream: |
| 35 | - master: |
wrider | 7f7c1c7 | 2019-11-19 00:13:13 -0500 | [diff] [blame] | 36 | branch: master |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 37 | - cherry: |
| 38 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 39 | - dawn: |
| 40 | branch: dawn |
wrider | 7f7c1c7 | 2019-11-19 00:13:13 -0500 | [diff] [blame] | 41 | |
Chengkai Yan | 01019e2 | 2021-12-02 17:39:19 +0000 | [diff] [blame] | 42 | # nonrtric:a1-policy-management-service/ |
| 43 | # Maven artifacts for nonrtric-a1-policy-management-service/ |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 44 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 45 | <<: *nonrtric_jdk_common |
Jessica Wagantall | b864b08 | 2021-12-07 12:56:41 -0800 | [diff] [blame] | 46 | name: nonrtric-a1-policy-management-service |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 47 | project-name: '{name}' |
ecaiyanlinux | 433c26e | 2020-11-13 11:40:21 +0100 | [diff] [blame] | 48 | mvn-opts: '-Ddocker.skip=true' |
ecaiyanlinux | 1907f15 | 2021-12-01 05:57:16 +0100 | [diff] [blame] | 49 | mvn-params: '-f a1-policy-management-service/' |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 50 | gerrit_trigger_file_paths: |
| 51 | - compare-type: REG_EXP |
ecaiyanlinux | 1907f15 | 2021-12-01 05:57:16 +0100 | [diff] [blame] | 52 | pattern: 'a1-policy-management-service/.*' |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 53 | build-node: ubuntu1804-builder-4c-4g |
| 54 | jobs: |
| 55 | - gerrit-maven-verify |
| 56 | - gerrit-maven-merge |
| 57 | - gerrit-maven-stage |
| 58 | - gerrit-maven-clm |
| 59 | stream: |
| 60 | - master: |
| 61 | branch: master |
elinuxhenrik | 89931c6 | 2021-12-08 10:07:53 +0100 | [diff] [blame^] | 62 | |
| 63 | # nonrtric:policy-agent/ |
| 64 | # Maven artifacts for nonrtric-policy-agent/ |
| 65 | - project: |
| 66 | <<: *nonrtric_jdk_common |
| 67 | name: nonrtric-policy-agent |
| 68 | project-name: '{name}' |
| 69 | mvn-opts: '-Ddocker.skip=true' |
| 70 | mvn-params: '-f policy-agent/' |
| 71 | gerrit_trigger_file_paths: |
| 72 | - compare-type: REG_EXP |
| 73 | pattern: 'policy-agent/.*' |
| 74 | build-node: ubuntu1804-builder-4c-4g |
| 75 | jobs: |
| 76 | - gerrit-maven-verify |
| 77 | - gerrit-maven-merge |
| 78 | - gerrit-maven-stage |
| 79 | - gerrit-maven-clm |
| 80 | stream: |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 81 | - cherry: |
| 82 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 83 | - dawn: |
| 84 | branch: dawn |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 85 | |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 86 | # nonrtric:sdnc-a1-controller |
| 87 | # Maven artifacts for nonrtric-sdnc-a1-controller |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 88 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 89 | <<: *nonrtric_jdk_common |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 90 | name: nonrtric-sdnc-a1-controller |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 91 | project-name: '{name}' |
ecaiyanlinux | 433c26e | 2020-11-13 11:40:21 +0100 | [diff] [blame] | 92 | mvn-opts: '-Ddocker.skip=true' |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 93 | mvn-params: '-f sdnc-a1-controller/northbound' |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 94 | gerrit_trigger_file_paths: |
| 95 | - compare-type: REG_EXP |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 96 | pattern: 'sdnc-a1-controller/northbound/.*' |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 97 | build-node: ubuntu1804-builder-4c-4g |
| 98 | jobs: |
| 99 | - gerrit-maven-verify |
| 100 | - gerrit-maven-merge |
| 101 | - gerrit-maven-stage |
| 102 | - gerrit-maven-clm |
| 103 | stream: |
| 104 | - master: |
| 105 | branch: master |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 106 | - cherry: |
| 107 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 108 | - dawn: |
| 109 | branch: dawn |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 110 | |
ecaiyanlinux | 1907f15 | 2021-12-01 05:57:16 +0100 | [diff] [blame] | 111 | # nonrtric:information-coordinator-service |
| 112 | # Maven artifacts for nonrtric-information-coordinator-service |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 113 | - project: |
| 114 | <<: *nonrtric_jdk_common |
ecaiyanlinux | 1907f15 | 2021-12-01 05:57:16 +0100 | [diff] [blame] | 115 | name: nonrtric-information-coordinator-service |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 116 | project-name: '{name}' |
| 117 | mvn-opts: '-Ddocker.skip=true' |
ecaiyanlinux | 1907f15 | 2021-12-01 05:57:16 +0100 | [diff] [blame] | 118 | mvn-params: '-f information-coordinator-service' |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 119 | gerrit_trigger_file_paths: |
| 120 | - compare-type: REG_EXP |
ecaiyanlinux | 1907f15 | 2021-12-01 05:57:16 +0100 | [diff] [blame] | 121 | pattern: 'information-coordinator-service/.*' |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 122 | build-node: ubuntu1804-builder-4c-4g |
| 123 | jobs: |
| 124 | - gerrit-maven-verify |
| 125 | - gerrit-maven-merge |
| 126 | - gerrit-maven-stage |
| 127 | - gerrit-maven-clm |
| 128 | stream: |
| 129 | - master: |
| 130 | branch: master |
elinuxhenrik | 89931c6 | 2021-12-08 10:07:53 +0100 | [diff] [blame^] | 131 | |
| 132 | # nonrtric:enrichment-coordinator-service |
| 133 | # Maven artifacts for nonrtric-enrichment-coordinator-service |
| 134 | - project: |
| 135 | <<: *nonrtric_jdk_common |
| 136 | name: nonrtric-enrichment-coordinator-service |
| 137 | project-name: '{name}' |
| 138 | mvn-opts: '-Ddocker.skip=true' |
| 139 | mvn-params: '-f enrichment-coordinator-service' |
| 140 | gerrit_trigger_file_paths: |
| 141 | - compare-type: REG_EXP |
| 142 | pattern: 'enrichment-coordinator-service/.*' |
| 143 | build-node: ubuntu1804-builder-4c-4g |
| 144 | jobs: |
| 145 | - gerrit-maven-verify |
| 146 | - gerrit-maven-merge |
| 147 | - gerrit-maven-stage |
| 148 | - gerrit-maven-clm |
| 149 | stream: |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 150 | - cherry: |
| 151 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 152 | - dawn: |
| 153 | branch: dawn |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 154 | |
ecaiyanlinux | 9c95efa | 2020-11-27 12:29:56 +0100 | [diff] [blame] | 155 | # nonrtric:r-app-catalogue |
| 156 | # Maven artifacts for r-app-catalogue |
| 157 | - project: |
| 158 | <<: *nonrtric_jdk_common |
| 159 | name: nonrtric-r-app-catalogue |
| 160 | project-name: '{name}' |
| 161 | mvn-opts: '-Ddocker.skip=true' |
| 162 | mvn-params: '-f r-app-catalogue' |
| 163 | gerrit_trigger_file_paths: |
| 164 | - compare-type: REG_EXP |
| 165 | pattern: 'r-app-catalogue/.*' |
| 166 | build-node: ubuntu1804-builder-4c-4g |
| 167 | jobs: |
| 168 | - gerrit-maven-verify |
| 169 | - gerrit-maven-merge |
| 170 | - gerrit-maven-stage |
| 171 | - gerrit-maven-clm |
| 172 | stream: |
| 173 | - master: |
| 174 | branch: master |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 175 | - cherry: |
| 176 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 177 | - dawn: |
| 178 | branch: dawn |
ecaiyanlinux | 9c95efa | 2020-11-27 12:29:56 +0100 | [diff] [blame] | 179 | |
wrider | 7f7c1c7 | 2019-11-19 00:13:13 -0500 | [diff] [blame] | 180 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 181 | <<: *nonrtric_jdk_common |
elinuxhenrik | 67186f3 | 2021-08-23 10:17:38 +0200 | [diff] [blame] | 182 | name: nonrtric-o-ru-closed-loop-recovery |
| 183 | project-name: '{name}' |
| 184 | # image name |
| 185 | docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery' |
| 186 | # get tag from YAML |
| 187 | container-tag-method: yaml-file |
| 188 | # use host network to clone from our gerrit |
| 189 | docker-build-args: '--network=host' |
| 190 | # Directory with Dockerfile |
| 191 | docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app' |
| 192 | # Limit build trigger to appropriate files |
| 193 | gerrit_trigger_file_paths: |
| 194 | - compare-type: REG_EXP |
| 195 | pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*' |
| 196 | build-node: ubuntu1804-docker-4c-4g |
| 197 | # Includes verify and merge jobs |
| 198 | jobs: |
| 199 | - "{project-name}-gerrit-docker-jobs" |
| 200 | stream: |
| 201 | - master: |
| 202 | branch: master |
| 203 | - dawn: |
| 204 | branch: dawn |
| 205 | |
| 206 | - project: |
| 207 | <<: *nonrtric_jdk_common |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 208 | name: nonrtric-o-ru-closed-loop-consumer |
| 209 | project-name: '{name}' |
| 210 | # image name |
| 211 | docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-consumer' |
| 212 | # get tag from YAML |
| 213 | container-tag-method: yaml-file |
| 214 | # use host network to clone from our gerrit |
| 215 | docker-build-args: '--network=host' |
| 216 | # Directory with Dockerfile |
| 217 | docker-root: 'test/usecases/oruclosedlooprecovery/goversion/' |
| 218 | # Limit build trigger to appropriate files |
| 219 | gerrit_trigger_file_paths: |
| 220 | - compare-type: REG_EXP |
| 221 | pattern: 'test/usecases/oruclosedlooprecovery/goversion/.*' |
| 222 | build-node: ubuntu1804-docker-4c-4g |
| 223 | # Includes verify and merge jobs |
| 224 | jobs: |
| 225 | - "{project-name}-gerrit-docker-jobs" |
| 226 | stream: |
| 227 | - master: |
| 228 | branch: master |
| 229 | |
| 230 | - project: |
| 231 | <<: *nonrtric_jdk_common |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 232 | name: nonrtric-dmaap-mediator-producer-sonar |
elinuxhenrik | 09103bf | 2021-11-05 14:43:55 +0100 | [diff] [blame] | 233 | project-name: nonrtric-dmaap-mediator-producer-sonar |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 234 | # prescan script requires ubuntu |
| 235 | # golang is only on docker-enabled nodes |
| 236 | build-node: ubuntu1804-docker-4c-4g |
| 237 | sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh |
| 238 | sonar-project-file: "" |
Anil Belur | 13a9439 | 2021-09-24 07:09:20 +1000 | [diff] [blame] | 239 | java-version: openjdk11 |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 240 | # use sonarcloud values from defaults.yaml |
| 241 | sonar-properties: | |
| 242 | # Required metadata |
| 243 | sonar.login={sonarcloud_api_token} |
elinuxhenrik | c3bacac | 2021-11-24 13:06:47 +0100 | [diff] [blame] | 244 | sonar.projectKey={sonarcloud_project_organization}_nonrtric-dmaap-mediator-producer |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 245 | sonar.organization={sonarcloud_project_organization} |
| 246 | # Encoding |
| 247 | sonar.build.sourceEncoding=UTF-8 |
| 248 | # Language |
| 249 | sonar.language=go |
| 250 | # Source |
| 251 | sonar.sources=. |
| 252 | # Unit tests |
elinuxhenrik | 71ab46b | 2021-09-29 12:53:26 +0200 | [diff] [blame] | 253 | sonar.go.coverage.reportPaths=dmaap-mediator-producer/coverage.txt |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 254 | # Inclusions |
elinuxhenrik | b297725 | 2021-09-21 08:21:30 +0200 | [diff] [blame] | 255 | sonar.inclusions=dmaap-mediator-producer/internal/**/**.go |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 256 | # Exclusions |
elinuxhenrik | 09103bf | 2021-11-05 14:43:55 +0100 | [diff] [blame] | 257 | sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/stub/**.go,dmaap-mediator-producer/internal/**/**_test.go |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 258 | jobs: |
| 259 | - gerrit-sonar-prescan-script |
| 260 | |
| 261 | - project: |
| 262 | <<: *nonrtric_jdk_common |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 263 | name: nonrtric-o-ru-closed-loop-consumer-sonar |
elinuxhenrik | 09103bf | 2021-11-05 14:43:55 +0100 | [diff] [blame] | 264 | project-name: nonrtric-o-ru-closed-loop-consumer-sonar |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 265 | # prescan script requires ubuntu |
| 266 | # golang is only on docker-enabled nodes |
| 267 | build-node: ubuntu1804-docker-4c-4g |
| 268 | sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh |
| 269 | sonar-project-file: "" |
| 270 | java-version: openjdk11 |
| 271 | # use sonarcloud values from defaults.yaml |
| 272 | sonar-properties: | |
| 273 | # Required metadata |
| 274 | sonar.login={sonarcloud_api_token} |
elinuxhenrik | bd165fd | 2021-11-18 15:06:28 +0100 | [diff] [blame] | 275 | sonar.projectKey={sonarcloud_project_organization}_nonrtric-o-ru-closed-loop-consumer |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 276 | sonar.organization={sonarcloud_project_organization} |
| 277 | # Encoding |
| 278 | sonar.build.sourceEncoding=UTF-8 |
| 279 | # Language |
| 280 | sonar.language=go |
| 281 | # Source |
| 282 | sonar.sources=. |
| 283 | # Unit tests |
| 284 | sonar.go.coverage.reportPaths=test/usecases/oruclosedlooprecovery/goversion/coverage.txt |
| 285 | # Inclusions |
elinuxhenrik | 423e0c0 | 2021-10-22 14:25:56 +0200 | [diff] [blame] | 286 | sonar.inclusions=test/usecases/oruclosedlooprecovery/goversion/internal/**/**.go,test/usecases/oruclosedlooprecovery/goversion/**.go |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 287 | # Exclusions |
elinuxhenrik | 09103bf | 2021-11-05 14:43:55 +0100 | [diff] [blame] | 288 | sonar.exclusions=test/usecases/oruclosedlooprecovery/goversion/mocks/**.go,test/usecases/oruclosedlooprecovery/goversion/internal/**/**_test.go,test/usecases/oruclosedlooprecovery/goversion/**_test.go,test/usecases/oruclosedlooprecovery/goversion/simulator/**.go |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 289 | jobs: |
| 290 | - gerrit-sonar-prescan-script |
| 291 | |
| 292 | - project: |
| 293 | <<: *nonrtric_jdk_common |
elinuxhenrik | de79a03 | 2021-08-20 08:31:26 +0200 | [diff] [blame] | 294 | name: nonrtric-release |
| 295 | # maven release requires sigul which requires centos |
| 296 | # container release requires docker |
| 297 | build-node: centos7-docker-2c-8g |
| 298 | jobs: |
| 299 | - '{project-name}-gerrit-release-jobs' |
| 300 | |
| 301 | - project: |
| 302 | <<: *nonrtric_jdk_common |
| 303 | name: nonrtric-sonar |
elinuxhenrik | 71ab46b | 2021-09-29 12:53:26 +0200 | [diff] [blame] | 304 | project-name: '{name}' |
elinuxhenrik | de79a03 | 2021-08-20 08:31:26 +0200 | [diff] [blame] | 305 | # template goal install builds docker image unnecessarily |
| 306 | mvn-params: '-Ddocker.skip=true' |
| 307 | sonarcloud: true |
| 308 | sonarcloud-api-token: '{sonarcloud_api_token}' |
elinuxhenrik | bd165fd | 2021-11-18 15:06:28 +0100 | [diff] [blame] | 309 | sonarcloud-project-key: '{sonarcloud_project_organization}_nonrtric' |
elinuxhenrik | de79a03 | 2021-08-20 08:31:26 +0200 | [diff] [blame] | 310 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 311 | jobs: |
| 312 | - gerrit-maven-sonar |