blob: 687cbeaac25b96deeb29cc9a4faa468a2b43af32 [file] [log] [blame]
YongchaoWu3072a9d2019-11-07 20:27:07 +01001---
2- project:
3 name: nonrtric-project-view
4 project-name: nonrtric
5 views:
6 - project-view
7
Anil Belur4e0d56a2023-04-18 11:49:03 +10008- _nonrtric_jdk_common: &nonrtric_jdk_common
YongchaoWuba898322019-11-12 12:15:03 +01009 # 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
YongchaoWuba898322019-11-12 12:15:03 +010015 mvn-version: mvn36
JohnKeeney29d54112023-03-02 13:11:44 +000016 java-version: openjdk17
elinuxhenrikba9bee22020-06-02 11:53:56 +020017
JohnKeeney78ce9662024-03-06 14:15:23 +000018- _nonrtric_docker_common: &nonrtric_docker_common
elinuxhenrikff67ef52022-04-08 08:40:57 +020019 <<: *nonrtric_jdk_common
elinuxhenrik2cf1afb2022-12-20 16:45:19 +010020 # get tag from YAML
21 container-tag-method: yaml-file
22 # use host network to clone from our gerrit
Anil Belur439502c2023-05-07 12:39:38 +100023 docker-build-args: "--network=host"
elinuxhenrike2c327b2020-05-29 09:48:09 +020024
elinuxhenrike2c327b2020-05-29 09:48:09 +020025- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020026 <<: *nonrtric_jdk_common
JohnKeeney78ce9662024-03-06 14:15:23 +000027 name: nonrtric-release
28 # maven release requires sigul which requires centos
29 # container release requires docker
30 build-node: centos7-docker-2c-8g
elinuxhenrike2c327b2020-05-29 09:48:09 +020031 jobs:
JohnKeeney78ce9662024-03-06 14:15:23 +000032 - "{project-name}-gerrit-release-jobs"
elinuxhenrike2c327b2020-05-29 09:48:09 +020033
JohnKeeney78ce9662024-03-06 14:15:23 +000034# Jobs to verify / build / sonar for functional releaseable funtions
elinuxhenrik89931c62021-12-08 10:07:53 +010035- project:
JohnKeeney78ce9662024-03-06 14:15:23 +000036 <<: *nonrtric_docker_common
elinuxhenrik987febc2022-08-17 14:55:07 +020037 name: nonrtric-plt-auth-token-fetch
Anil Belur439502c2023-05-07 12:39:38 +100038 project-name: "{name}"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010039 # image name
Anil Belur439502c2023-05-07 12:39:38 +100040 docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010041 # Directory with Dockerfile
Anil Belur439502c2023-05-07 12:39:38 +100042 docker-root: "auth-token-fetch"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010043 # Directory where go test should be run
Anil Belur439502c2023-05-07 12:39:38 +100044 go-root: "auth-token-fetch"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010045 # Limit build trigger to appropriate files
46 gerrit_trigger_file_paths:
47 - compare-type: REG_EXP
Anil Belur439502c2023-05-07 12:39:38 +100048 pattern: "auth-token-fetch/.*"
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010049 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:
JohnKeeney29d54112023-03-02 13:11:44 +000055 - master:
56 branch: master
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010057 - g-release:
JohnKeeney29d54112023-03-02 13:11:44 +000058 java-version: openjdk11
elinuxhenrikd8dfdf82023-01-03 14:52:58 +010059 branch: g-release
JohnKeeney9199e552023-06-15 00:23:21 +010060 - h-release:
61 branch: h-release
JohnKeeney45e8cd02023-12-13 15:23:11 +000062 - i-release:
63 branch: i-release
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010064
65- project:
66 <<: *nonrtric_jdk_common
elinuxhenrik987febc2022-08-17 14:55:07 +020067 name: nonrtric-plt-auth-token-fetch-sonar
68 project-name: nonrtric-plt-auth-token-fetch
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010069 # 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 Belur4e0d56a2023-04-18 11:49:03 +100076 sonar-properties: !include-raw-escape: sonar-project.properties
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010077 jobs:
78 - gerrit-sonar-prescan-script
79
JohnKeeney78ce9662024-03-06 14:15:23 +000080# Jobs to verify / build sample uService images
PatrikBuhr7c9c0dc2022-03-18 09:16:12 +010081- project:
JohnKeeney78ce9662024-03-06 14:15:23 +000082 <<: *nonrtric_docker_common
83 name: nonrtric-sample-helloworld-sme-invoker
84 project-name: "{name}"
85 # image name
JohnKeeney27b62452024-03-08 12:42:23 +000086 docker-name: "o-ran-sc/nonrtric-sample-helloworld-sme-invoker"
JohnKeeney78ce9662024-03-06 14:15:23 +000087 # 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
elinuxhenrik0e790382021-12-13 18:14:04 +010095 jobs:
JohnKeeney78ce9662024-03-06 14:15:23 +000096 - "{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
JohnKeeney27b62452024-03-08 12:42:23 +0000106 docker-name: "o-ranc-sc/nonrtric-sample-helloworld"
JohnKeeney78ce9662024-03-06 14:15:23 +0000107 # 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