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 |
elinuxhenrik | 566a79d | 2021-12-14 09:30:36 +0100 | [diff] [blame] | 41 | - e-release: |
| 42 | branch: e-release |
wrider | 7f7c1c7 | 2019-11-19 00:13:13 -0500 | [diff] [blame] | 43 | |
elinuxhenrik | 89931c6 | 2021-12-08 10:07:53 +0100 | [diff] [blame] | 44 | # nonrtric:policy-agent/ |
| 45 | # Maven artifacts for nonrtric-policy-agent/ |
| 46 | - project: |
| 47 | <<: *nonrtric_jdk_common |
| 48 | name: nonrtric-policy-agent |
| 49 | project-name: '{name}' |
| 50 | mvn-opts: '-Ddocker.skip=true' |
| 51 | mvn-params: '-f policy-agent/' |
| 52 | gerrit_trigger_file_paths: |
| 53 | - compare-type: REG_EXP |
| 54 | pattern: 'policy-agent/.*' |
| 55 | build-node: ubuntu1804-builder-4c-4g |
| 56 | jobs: |
| 57 | - gerrit-maven-verify |
| 58 | - gerrit-maven-merge |
| 59 | - gerrit-maven-stage |
| 60 | - gerrit-maven-clm |
| 61 | stream: |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 62 | - cherry: |
| 63 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 64 | - dawn: |
| 65 | branch: dawn |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 66 | |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 67 | # nonrtric:sdnc-a1-controller |
| 68 | # Maven artifacts for nonrtric-sdnc-a1-controller |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 69 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 70 | <<: *nonrtric_jdk_common |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 71 | name: nonrtric-sdnc-a1-controller |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 72 | project-name: '{name}' |
ecaiyanlinux | 433c26e | 2020-11-13 11:40:21 +0100 | [diff] [blame] | 73 | mvn-opts: '-Ddocker.skip=true' |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 74 | mvn-params: '-f sdnc-a1-controller/northbound' |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 75 | gerrit_trigger_file_paths: |
| 76 | - compare-type: REG_EXP |
elinuxhenrik | 54cd549 | 2020-06-03 14:00:26 +0200 | [diff] [blame] | 77 | pattern: 'sdnc-a1-controller/northbound/.*' |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 78 | build-node: ubuntu1804-builder-4c-4g |
| 79 | jobs: |
| 80 | - gerrit-maven-verify |
| 81 | - gerrit-maven-merge |
| 82 | - gerrit-maven-stage |
| 83 | - gerrit-maven-clm |
| 84 | stream: |
| 85 | - master: |
| 86 | branch: master |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 87 | - cherry: |
| 88 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 89 | - dawn: |
| 90 | branch: dawn |
elinuxhenrik | 566a79d | 2021-12-14 09:30:36 +0100 | [diff] [blame] | 91 | - e-release: |
| 92 | branch: e-release |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 93 | |
elinuxhenrik | 89931c6 | 2021-12-08 10:07:53 +0100 | [diff] [blame] | 94 | # nonrtric:enrichment-coordinator-service |
| 95 | # Maven artifacts for nonrtric-enrichment-coordinator-service |
| 96 | - project: |
| 97 | <<: *nonrtric_jdk_common |
| 98 | name: nonrtric-enrichment-coordinator-service |
| 99 | project-name: '{name}' |
| 100 | mvn-opts: '-Ddocker.skip=true' |
| 101 | mvn-params: '-f enrichment-coordinator-service' |
| 102 | gerrit_trigger_file_paths: |
| 103 | - compare-type: REG_EXP |
| 104 | pattern: 'enrichment-coordinator-service/.*' |
| 105 | build-node: ubuntu1804-builder-4c-4g |
| 106 | jobs: |
| 107 | - gerrit-maven-verify |
| 108 | - gerrit-maven-merge |
| 109 | - gerrit-maven-stage |
| 110 | - gerrit-maven-clm |
| 111 | stream: |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 112 | - cherry: |
| 113 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 114 | - dawn: |
| 115 | branch: dawn |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 116 | |
wrider | 7f7c1c7 | 2019-11-19 00:13:13 -0500 | [diff] [blame] | 117 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 118 | <<: *nonrtric_jdk_common |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 119 | name: nonrtric-auth-token-fetch |
| 120 | project-name: '{name}' |
| 121 | # image name |
| 122 | docker-name: 'o-ran-sc/nonrtric-auth-token-fetch' |
| 123 | # get tag from YAML |
| 124 | container-tag-method: yaml-file |
| 125 | # use host network to clone from our gerrit |
| 126 | docker-build-args: '--network=host' |
| 127 | # Directory with Dockerfile |
| 128 | docker-root: 'auth-token-fetch' |
| 129 | # use host network to clone from our gerrit |
| 130 | docker-build-args: '--network=host' |
| 131 | # Directory where go test should be run |
| 132 | go-root: 'auth-token-fetch' |
| 133 | # Limit build trigger to appropriate files |
| 134 | gerrit_trigger_file_paths: |
| 135 | - compare-type: REG_EXP |
| 136 | pattern: 'auth-token-fetch/.*' |
| 137 | build-node: ubuntu1804-docker-4c-4g |
| 138 | # Includes verify and merge jobs |
| 139 | jobs: |
| 140 | - "{project-name}-gerrit-docker-jobs" |
| 141 | - gerrit-go-verify |
| 142 | stream: |
| 143 | - master: |
| 144 | branch: master |
| 145 | |
| 146 | - project: |
| 147 | <<: *nonrtric_jdk_common |
| 148 | name: nonrtric-auth-token-fetch-sonar |
| 149 | project-name: nonrtric-auth-token-fetch |
| 150 | # prescan script requires ubuntu |
| 151 | # golang is only on docker-enabled nodes |
| 152 | build-node: ubuntu1804-docker-4c-4g |
| 153 | sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh |
| 154 | sonar-project-file: "" |
| 155 | java-version: openjdk11 |
| 156 | # use sonarcloud values from defaults.yaml |
| 157 | sonar-properties: !include-raw: sonar-project.properties |
| 158 | jobs: |
| 159 | - gerrit-sonar-prescan-script |
| 160 | |
| 161 | - project: |
| 162 | <<: *nonrtric_jdk_common |
elinuxhenrik | 0e79038 | 2021-12-13 18:14:04 +0100 | [diff] [blame] | 163 | name: nonrtric-release |
| 164 | # maven release requires sigul which requires centos |
| 165 | # container release requires docker |
| 166 | build-node: centos7-docker-2c-8g |
| 167 | jobs: |
| 168 | - '{project-name}-gerrit-release-jobs' |
| 169 | |
| 170 | - project: |
| 171 | <<: *nonrtric_jdk_common |
| 172 | name: nonrtric-sonar |
| 173 | project-name: '{name}' |
| 174 | # template goal install builds docker image unnecessarily |
| 175 | mvn-params: '-Ddocker.skip=true' |
| 176 | sonarcloud: true |
| 177 | sonarcloud-api-token: '{sonarcloud_api_token}' |
| 178 | sonarcloud-project-key: '{sonarcloud_project_organization}_nonrtric' |
| 179 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 180 | jobs: |
| 181 | - gerrit-maven-sonar |
| 182 | |
| 183 | # Usecases |
| 184 | - project: |
| 185 | <<: *nonrtric_jdk_common |
| 186 | name: nonrtric-o-ru-closed-loop-recovery |
| 187 | project-name: '{name}' |
| 188 | # image name |
| 189 | docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery' |
| 190 | # get tag from YAML |
| 191 | container-tag-method: yaml-file |
| 192 | # use host network to clone from our gerrit |
| 193 | docker-build-args: '--network=host' |
| 194 | # Directory with Dockerfile |
| 195 | docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app' |
| 196 | # Limit build trigger to appropriate files |
| 197 | gerrit_trigger_file_paths: |
| 198 | - compare-type: REG_EXP |
| 199 | pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*' |
| 200 | build-node: ubuntu1804-docker-4c-4g |
| 201 | # Includes verify and merge jobs |
| 202 | jobs: |
| 203 | - "{project-name}-gerrit-docker-jobs" |
| 204 | stream: |
| 205 | - master: |
| 206 | branch: master |
| 207 | - dawn: |
| 208 | branch: dawn |
elinuxhenrik | 566a79d | 2021-12-14 09:30:36 +0100 | [diff] [blame] | 209 | - e-release: |
| 210 | branch: e-release |
elinuxhenrik | 0e79038 | 2021-12-13 18:14:04 +0100 | [diff] [blame] | 211 | |
| 212 | - project: |
| 213 | <<: *nonrtric_jdk_common |
elinuxhenrik | 6eb6f4a | 2021-12-21 08:18:44 +0100 | [diff] [blame] | 214 | name: nonrtric-o-ru-closed-loop-consumer |
| 215 | project-name: '{name}' |
| 216 | # image name |
| 217 | docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-consumer' |
| 218 | # get tag from YAML |
| 219 | container-tag-method: yaml-file |
| 220 | # use host network to clone from our gerrit |
| 221 | docker-build-args: '--network=host' |
| 222 | # Directory with Dockerfile |
| 223 | docker-root: 'test/usecases/oruclosedlooprecovery/goversion' |
| 224 | # Directory where go test should be run |
| 225 | go-root: 'test/usecases/oruclosedlooprecovery/goversion' |
| 226 | # Limit build trigger to appropriate files |
| 227 | gerrit_trigger_file_paths: |
| 228 | - compare-type: REG_EXP |
| 229 | pattern: 'test/usecases/oruclosedlooprecovery/goversion/.*' |
| 230 | build-node: ubuntu1804-docker-4c-4g |
| 231 | # Includes verify and merge jobs |
| 232 | jobs: |
| 233 | - "{project-name}-gerrit-docker-jobs" |
| 234 | - gerrit-go-verify |
| 235 | stream: |
| 236 | - master: |
| 237 | branch: master |
| 238 | - e-release: |
| 239 | branch: e-release |
| 240 | |
| 241 | - project: |
| 242 | <<: *nonrtric_jdk_common |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 243 | name: nonrtric-o-ru-closed-loop-consumer-sonar |
elinuxhenrik | 09103bf | 2021-11-05 14:43:55 +0100 | [diff] [blame] | 244 | project-name: nonrtric-o-ru-closed-loop-consumer-sonar |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 245 | # prescan script requires ubuntu |
| 246 | # golang is only on docker-enabled nodes |
| 247 | build-node: ubuntu1804-docker-4c-4g |
| 248 | sonar-prescan-script: !include-raw-escape: prescan-oruclosedloopconsumer-ubuntu.sh |
| 249 | sonar-project-file: "" |
| 250 | java-version: openjdk11 |
| 251 | # use sonarcloud values from defaults.yaml |
| 252 | sonar-properties: | |
| 253 | # Required metadata |
| 254 | sonar.login={sonarcloud_api_token} |
elinuxhenrik | bd165fd | 2021-11-18 15:06:28 +0100 | [diff] [blame] | 255 | sonar.projectKey={sonarcloud_project_organization}_nonrtric-o-ru-closed-loop-consumer |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 256 | sonar.organization={sonarcloud_project_organization} |
| 257 | # Encoding |
| 258 | sonar.build.sourceEncoding=UTF-8 |
| 259 | # Language |
| 260 | sonar.language=go |
| 261 | # Source |
| 262 | sonar.sources=. |
| 263 | # Unit tests |
| 264 | sonar.go.coverage.reportPaths=test/usecases/oruclosedlooprecovery/goversion/coverage.txt |
| 265 | # Inclusions |
elinuxhenrik | 423e0c0 | 2021-10-22 14:25:56 +0200 | [diff] [blame] | 266 | sonar.inclusions=test/usecases/oruclosedlooprecovery/goversion/internal/**/**.go,test/usecases/oruclosedlooprecovery/goversion/**.go |
elinuxhenrik | b9b3ba0 | 2021-10-04 16:19:05 +0200 | [diff] [blame] | 267 | # Exclusions |
elinuxhenrik | 09103bf | 2021-11-05 14:43:55 +0100 | [diff] [blame] | 268 | 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] | 269 | jobs: |
| 270 | - gerrit-sonar-prescan-script |