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 | |
| 65 | - project: |
| 66 | <<: *nonrtric_jdk_common |
elinuxhenrik | 987febc | 2022-08-17 14:55:07 +0200 | [diff] [blame] | 67 | name: nonrtric-plt-auth-token-fetch-sonar |
| 68 | project-name: nonrtric-plt-auth-token-fetch |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 69 | # prescan script requires ubuntu |
| 70 | # golang is only on docker-enabled nodes |
| 71 | build-node: ubuntu1804-docker-4c-4g |
| 72 | sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh |
| 73 | sonar-project-file: "" |
| 74 | java-version: openjdk11 |
| 75 | # use sonarcloud values from defaults.yaml |
Anil Belur | 4e0d56a | 2023-04-18 11:49:03 +1000 | [diff] [blame] | 76 | sonar-properties: !include-raw-escape: sonar-project.properties |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 77 | jobs: |
| 78 | - gerrit-sonar-prescan-script |
| 79 | |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 80 | # Jobs to verify / build sample uService images |
PatrikBuhr | 7c9c0dc | 2022-03-18 09:16:12 +0100 | [diff] [blame] | 81 | - project: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 82 | <<: *nonrtric_docker_common |
| 83 | name: nonrtric-sample-helloworld-sme-invoker |
| 84 | project-name: "{name}" |
| 85 | # image name |
JohnKeeney | 27b6245 | 2024-03-08 12:42:23 +0000 | [diff] [blame^] | 86 | docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 87 | # Directory with Dockerfile |
| 88 | docker-root: "sample-services/hello-world-sme-invoker" |
| 89 | # Limit build trigger to appropriate files |
| 90 | gerrit_trigger_file_paths: |
| 91 | - compare-type: REG_EXP |
| 92 | pattern: "sample-services/hello-world-sme-invoker/.*" |
| 93 | build-node: ubuntu1804-docker-4c-4g |
| 94 | # Includes verify and merge jobs |
elinuxhenrik | 0e79038 | 2021-12-13 18:14:04 +0100 | [diff] [blame] | 95 | jobs: |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 96 | - "{project-name}-gerrit-docker-jobs" |
| 97 | stream: |
| 98 | - master: |
| 99 | branch: master |
| 100 | |
| 101 | - project: |
| 102 | <<: *nonrtric_docker_common |
| 103 | name: nonrtric-sample-helloworld |
| 104 | project-name: "{name}" |
| 105 | # image name |
JohnKeeney | 27b6245 | 2024-03-08 12:42:23 +0000 | [diff] [blame^] | 106 | docker-name: "o-ranc-sc/nonrtric-sample-helloworld" |
JohnKeeney | 78ce966 | 2024-03-06 14:15:23 +0000 | [diff] [blame] | 107 | # Directory with Dockerfile |
| 108 | docker-root: "sample-services/hello-world" |
| 109 | # Limit build trigger to appropriate files |
| 110 | gerrit_trigger_file_paths: |
| 111 | - compare-type: REG_EXP |
| 112 | pattern: "sample-services/hello-world/.*" |
| 113 | build-node: ubuntu1804-docker-4c-4g |
| 114 | # Includes verify and merge jobs |
| 115 | jobs: |
| 116 | - "{project-name}-gerrit-docker-jobs" |
| 117 | stream: |
| 118 | - master: |
| 119 | branch: master |
| 120 | |
| 121 | # Jobs to verify / build images for testing |
| 122 | - project: |
| 123 | <<: *nonrtric_docker_common |
| 124 | name: nonrtric-test-kafka-procon |
| 125 | project-name: "{name}" |
| 126 | # image name |
| 127 | docker-name: "kafka-procon" |
| 128 | # Directory with Dockerfile |
| 129 | docker-root: "test/kafka-procon" |
| 130 | # Limit build trigger to appropriate files |
| 131 | gerrit_trigger_file_paths: |
| 132 | - compare-type: REG_EXP |
| 133 | pattern: "test/kafka-procon/.*" |
| 134 | build-node: ubuntu1804-docker-4c-4g |
| 135 | # Includes verify and merge jobs |
| 136 | jobs: |
| 137 | - "{project-name}-gerrit-docker-jobs" |
| 138 | stream: |
| 139 | - master: |
| 140 | branch: master |
| 141 | |
| 142 | - project: |
| 143 | <<: *nonrtric_docker_common |
| 144 | name: nonrtric-test-http-https-proxy |
| 145 | project-name: "{name}" |
| 146 | # image name |
| 147 | docker-name: "http-https-proxy" |
| 148 | # Directory with Dockerfile |
| 149 | docker-root: "test/http-https-proxy" |
| 150 | # Limit build trigger to appropriate files |
| 151 | gerrit_trigger_file_paths: |
| 152 | - compare-type: REG_EXP |
| 153 | pattern: "test/http-https-proxy/.*" |
| 154 | build-node: ubuntu1804-docker-4c-4g |
| 155 | # Includes verify and merge jobs |
| 156 | jobs: |
| 157 | - "{project-name}-gerrit-docker-jobs" |
| 158 | stream: |
| 159 | - master: |
| 160 | branch: master |
| 161 | |
| 162 | - project: |
| 163 | <<: *nonrtric_docker_common |
| 164 | name: nonrtric-test-cr |
| 165 | project-name: "{name}" |
| 166 | # image name |
| 167 | docker-name: "cr" |
| 168 | # Directory with Dockerfile |
| 169 | docker-root: "test/cr" |
| 170 | # Limit build trigger to appropriate files |
| 171 | gerrit_trigger_file_paths: |
| 172 | - compare-type: REG_EXP |
| 173 | pattern: "test/cr/.*" |
| 174 | build-node: ubuntu1804-docker-4c-4g |
| 175 | # Includes verify and merge jobs |
| 176 | jobs: |
| 177 | - "{project-name}-gerrit-docker-jobs" |
| 178 | stream: |
| 179 | - master: |
| 180 | branch: master |
| 181 | |
| 182 | - project: |
| 183 | <<: *nonrtric_docker_common |
| 184 | name: nonrtric-test-prodstub |
| 185 | project-name: "{name}" |
| 186 | # image name |
| 187 | docker-name: "prodstub" |
| 188 | # Directory with Dockerfile |
| 189 | docker-root: "test/prodstub" |
| 190 | # Limit build trigger to appropriate files |
| 191 | gerrit_trigger_file_paths: |
| 192 | - compare-type: REG_EXP |
| 193 | pattern: "test/prodstub/.*" |
| 194 | build-node: ubuntu1804-docker-4c-4g |
| 195 | # Includes verify and merge jobs |
| 196 | jobs: |
| 197 | - "{project-name}-gerrit-docker-jobs" |
| 198 | stream: |
| 199 | - master: |
| 200 | branch: master |
| 201 | |
| 202 | - project: |
| 203 | <<: *nonrtric_docker_common |
| 204 | name: nonrtric-test-mrstub |
| 205 | project-name: "{name}" |
| 206 | # image name |
| 207 | docker-name: "mrstub" |
| 208 | # Directory with Dockerfile |
| 209 | docker-root: "test/mrstub" |
| 210 | # Limit build trigger to appropriate files |
| 211 | gerrit_trigger_file_paths: |
| 212 | - compare-type: REG_EXP |
| 213 | pattern: "test/mrstub/.*" |
| 214 | build-node: ubuntu1804-docker-4c-4g |
| 215 | # Includes verify and merge jobs |
| 216 | jobs: |
| 217 | - "{project-name}-gerrit-docker-jobs" |
| 218 | stream: |
| 219 | - master: |
| 220 | branch: master |