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 |
YongchaoWu | ba89832 | 2019-11-12 12:15:03 +0100 | [diff] [blame] | 29 | mvn-params: -Dbuild.number=${{BUILD_NUMBER}} |
| 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 | |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 42 | # nonrtric:policy-agent |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 43 | # Maven artifacts for nonrtric-policy-agent |
| 44 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 45 | <<: *nonrtric_jdk_common |
elinuxhenrik | ba9bee2 | 2020-06-02 11:53:56 +0200 | [diff] [blame] | 46 | name: nonrtric-policy-agent |
| 47 | project-name: '{name}' |
ecaiyanlinux | 433c26e | 2020-11-13 11:40:21 +0100 | [diff] [blame] | 48 | mvn-opts: '-Ddocker.skip=true' |
elinuxhenrik | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 49 | mvn-params: '-f policy-agent' |
| 50 | gerrit_trigger_file_paths: |
| 51 | - compare-type: REG_EXP |
| 52 | pattern: 'policy-agent/.*' |
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 | 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 | e2c327b | 2020-05-29 09:48:09 +0200 | [diff] [blame] | 91 | |
Lathish | 9d5999a | 2020-11-25 13:42:40 +0000 | [diff] [blame] | 92 | # nonrtric:enrichment-coordinator-service |
| 93 | # Maven artifacts for nonrtric-enrichment-coordinator-service |
| 94 | - project: |
| 95 | <<: *nonrtric_jdk_common |
| 96 | name: nonrtric-enrichment-coordinator-service |
| 97 | project-name: '{name}' |
| 98 | mvn-opts: '-Ddocker.skip=true' |
| 99 | mvn-params: '-f enrichment-coordinator-service' |
| 100 | gerrit_trigger_file_paths: |
| 101 | - compare-type: REG_EXP |
| 102 | pattern: 'enrichment-coordinator-service/.*' |
| 103 | build-node: ubuntu1804-builder-4c-4g |
| 104 | jobs: |
| 105 | - gerrit-maven-verify |
| 106 | - gerrit-maven-merge |
| 107 | - gerrit-maven-stage |
| 108 | - gerrit-maven-clm |
| 109 | stream: |
| 110 | - master: |
| 111 | branch: master |
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 | |
ecaiyanlinux | 9c95efa | 2020-11-27 12:29:56 +0100 | [diff] [blame] | 117 | # nonrtric:r-app-catalogue |
| 118 | # Maven artifacts for r-app-catalogue |
| 119 | - project: |
| 120 | <<: *nonrtric_jdk_common |
| 121 | name: nonrtric-r-app-catalogue |
| 122 | project-name: '{name}' |
| 123 | mvn-opts: '-Ddocker.skip=true' |
| 124 | mvn-params: '-f r-app-catalogue' |
| 125 | gerrit_trigger_file_paths: |
| 126 | - compare-type: REG_EXP |
| 127 | pattern: 'r-app-catalogue/.*' |
| 128 | build-node: ubuntu1804-builder-4c-4g |
| 129 | jobs: |
| 130 | - gerrit-maven-verify |
| 131 | - gerrit-maven-merge |
| 132 | - gerrit-maven-stage |
| 133 | - gerrit-maven-clm |
| 134 | stream: |
| 135 | - master: |
| 136 | branch: master |
elinuxhenrik | abf8203 | 2021-01-25 09:46:51 +0100 | [diff] [blame] | 137 | - cherry: |
| 138 | branch: cherry |
ecaiyanlinux | 885236b | 2021-07-29 15:57:02 +0200 | [diff] [blame] | 139 | - dawn: |
| 140 | branch: dawn |
ecaiyanlinux | 9c95efa | 2020-11-27 12:29:56 +0100 | [diff] [blame] | 141 | |
wrider | 7f7c1c7 | 2019-11-19 00:13:13 -0500 | [diff] [blame] | 142 | - project: |
elinuxhenrik | d1cada7 | 2020-06-17 08:37:11 +0200 | [diff] [blame] | 143 | <<: *nonrtric_jdk_common |
elinuxhenrik | 67186f3 | 2021-08-23 10:17:38 +0200 | [diff] [blame] | 144 | name: nonrtric-o-ru-closed-loop-recovery |
| 145 | project-name: '{name}' |
| 146 | # image name |
| 147 | docker-name: 'o-ran-sc/nonrtric-o-ru-closed-loop-recovery' |
| 148 | # get tag from YAML |
| 149 | container-tag-method: yaml-file |
| 150 | # use host network to clone from our gerrit |
| 151 | docker-build-args: '--network=host' |
| 152 | # Directory with Dockerfile |
| 153 | docker-root: 'test/usecases/oruclosedlooprecovery/scriptversion/app' |
| 154 | # Limit build trigger to appropriate files |
| 155 | gerrit_trigger_file_paths: |
| 156 | - compare-type: REG_EXP |
| 157 | pattern: 'test/usecases/oruclosedlooprecovery/scriptversion/app/.*' |
| 158 | build-node: ubuntu1804-docker-4c-4g |
| 159 | # Includes verify and merge jobs |
| 160 | jobs: |
| 161 | - "{project-name}-gerrit-docker-jobs" |
| 162 | stream: |
| 163 | - master: |
| 164 | branch: master |
| 165 | - dawn: |
| 166 | branch: dawn |
| 167 | |
| 168 | - project: |
| 169 | <<: *nonrtric_jdk_common |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 170 | name: nonrtric-dmaap-mediator-producer |
| 171 | project-name: '{name}' |
| 172 | # image name |
| 173 | docker-name: 'o-ran-sc/nonrtric-dmaap-mediator-producer' |
| 174 | # get tag from YAML |
| 175 | container-tag-method: yaml-file |
| 176 | # use host network to clone from our gerrit |
| 177 | docker-build-args: '--network=host' |
| 178 | # Directory with Dockerfile |
| 179 | docker-root: 'dmaap-mediator-producer' |
| 180 | # Limit build trigger to appropriate files |
| 181 | gerrit_trigger_file_paths: |
| 182 | - compare-type: REG_EXP |
| 183 | pattern: 'dmaap-mediator-producer/.*' |
| 184 | build-node: ubuntu1804-docker-4c-4g |
| 185 | # Includes verify and merge jobs |
| 186 | jobs: |
| 187 | - "{project-name}-gerrit-docker-jobs" |
| 188 | stream: |
| 189 | - master: |
| 190 | branch: master |
| 191 | |
| 192 | - project: |
| 193 | <<: *nonrtric_jdk_common |
| 194 | name: nonrtric-dmaap-mediator-producer-sonar |
elinuxhenrik | 71ab46b | 2021-09-29 12:53:26 +0200 | [diff] [blame] | 195 | project-name: '{name}' |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 196 | # prescan script requires ubuntu |
| 197 | # golang is only on docker-enabled nodes |
| 198 | build-node: ubuntu1804-docker-4c-4g |
| 199 | sonar-prescan-script: !include-raw-escape: prescan-dmaapmediatorproducer-ubuntu.sh |
| 200 | sonar-project-file: "" |
Anil Belur | 13a9439 | 2021-09-24 07:09:20 +1000 | [diff] [blame] | 201 | java-version: openjdk11 |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 202 | # use sonarcloud values from defaults.yaml |
| 203 | sonar-properties: | |
| 204 | # Required metadata |
| 205 | sonar.login={sonarcloud_api_token} |
elinuxhenrik | 9b2ae0c | 2021-09-30 10:56:32 +0200 | [diff] [blame^] | 206 | sonar.projectKey={sonarcloud_project_organization}_{name} |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 207 | sonar.projectName={project-name} |
| 208 | sonar.organization={sonarcloud_project_organization} |
| 209 | # Encoding |
| 210 | sonar.build.sourceEncoding=UTF-8 |
| 211 | # Language |
| 212 | sonar.language=go |
| 213 | # Source |
| 214 | sonar.sources=. |
| 215 | # Unit tests |
elinuxhenrik | 71ab46b | 2021-09-29 12:53:26 +0200 | [diff] [blame] | 216 | sonar.go.coverage.reportPaths=dmaap-mediator-producer/coverage.txt |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 217 | # Inclusions |
elinuxhenrik | b297725 | 2021-09-21 08:21:30 +0200 | [diff] [blame] | 218 | sonar.inclusions=dmaap-mediator-producer/internal/**/**.go |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 219 | # Exclusions |
elinuxhenrik | b297725 | 2021-09-21 08:21:30 +0200 | [diff] [blame] | 220 | sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/internal/**/**_test.go |
elinuxhenrik | 7500773 | 2021-09-06 06:48:06 +0200 | [diff] [blame] | 221 | jobs: |
| 222 | - gerrit-sonar-prescan-script |
| 223 | |
| 224 | - project: |
| 225 | <<: *nonrtric_jdk_common |
elinuxhenrik | de79a03 | 2021-08-20 08:31:26 +0200 | [diff] [blame] | 226 | name: nonrtric-release |
| 227 | # maven release requires sigul which requires centos |
| 228 | # container release requires docker |
| 229 | build-node: centos7-docker-2c-8g |
| 230 | jobs: |
| 231 | - '{project-name}-gerrit-release-jobs' |
| 232 | |
| 233 | - project: |
| 234 | <<: *nonrtric_jdk_common |
| 235 | name: nonrtric-sonar |
elinuxhenrik | 71ab46b | 2021-09-29 12:53:26 +0200 | [diff] [blame] | 236 | project-name: '{name}' |
elinuxhenrik | de79a03 | 2021-08-20 08:31:26 +0200 | [diff] [blame] | 237 | # template goal install builds docker image unnecessarily |
| 238 | mvn-params: '-Ddocker.skip=true' |
| 239 | sonarcloud: true |
| 240 | sonarcloud-api-token: '{sonarcloud_api_token}' |
| 241 | sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' |
| 242 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 243 | jobs: |
| 244 | - gerrit-maven-sonar |