blob: 49d349939149682410b8f5dc8c39c864d410d016 [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
8- project:
9 name: nonrtric-info
10 project: nonrtric
11 project-name: nonrtric
Aric Gardnerda252d22019-10-11 16:10:03 -040012 build-node: centos7-builder-1c-1g
YongchaoWu3072a9d2019-11-07 20:27:07 +010013 jobs:
14 - gerrit-info-yaml-verify
YongchaoWuba898322019-11-12 12:15:03 +010015
elinuxhenrikba9bee22020-06-02 11:53:56 +020016- nonrtric_jdk_common: &nonrtric_jdk_common
17 name: nonrtric-jdk-common
YongchaoWuba898322019-11-12 12:15:03 +010018 # 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
YongchaoWuba898322019-11-12 12:15:03 +010024 mvn-version: mvn36
elinuxhenrikba9bee22020-06-02 11:53:56 +020025 java-version: openjdk11
26
YongchaoWuba898322019-11-12 12:15:03 +010027- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020028 <<: *nonrtric_jdk_common
YongchaoWuba898322019-11-12 12:15:03 +010029 mvn-params: -Dbuild.number=${{BUILD_NUMBER}}
30 jobs:
ecaiyanlinux433c26e2020-11-13 11:40:21 +010031 - gerrit-maven-docker-verify
YongchaoWuba898322019-11-12 12:15:03 +010032 - gerrit-maven-docker-merge
33 - gerrit-maven-docker-stage
34 stream:
35 - master:
wrider7f7c1c72019-11-19 00:13:13 -050036 branch: master
elinuxhenrikabf82032021-01-25 09:46:51 +010037 - cherry:
38 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +020039 - dawn:
40 branch: dawn
wrider7f7c1c72019-11-19 00:13:13 -050041
elinuxhenrike2c327b2020-05-29 09:48:09 +020042# nonrtric:policy-agent
elinuxhenrikba9bee22020-06-02 11:53:56 +020043# Maven artifacts for nonrtric-policy-agent
44- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020045 <<: *nonrtric_jdk_common
elinuxhenrikba9bee22020-06-02 11:53:56 +020046 name: nonrtric-policy-agent
47 project-name: '{name}'
ecaiyanlinux433c26e2020-11-13 11:40:21 +010048 mvn-opts: '-Ddocker.skip=true'
elinuxhenrike2c327b2020-05-29 09:48:09 +020049 mvn-params: '-f policy-agent'
50 gerrit_trigger_file_paths:
51 - compare-type: REG_EXP
52 pattern: 'policy-agent/.*'
elinuxhenrikba9bee22020-06-02 11:53:56 +020053 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
elinuxhenrikabf82032021-01-25 09:46:51 +010062 - cherry:
63 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +020064 - dawn:
65 branch: dawn
elinuxhenrike2c327b2020-05-29 09:48:09 +020066
elinuxhenrik54cd5492020-06-03 14:00:26 +020067# nonrtric:sdnc-a1-controller
68# Maven artifacts for nonrtric-sdnc-a1-controller
elinuxhenrike2c327b2020-05-29 09:48:09 +020069- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +020070 <<: *nonrtric_jdk_common
elinuxhenrik54cd5492020-06-03 14:00:26 +020071 name: nonrtric-sdnc-a1-controller
elinuxhenrikba9bee22020-06-02 11:53:56 +020072 project-name: '{name}'
ecaiyanlinux433c26e2020-11-13 11:40:21 +010073 mvn-opts: '-Ddocker.skip=true'
elinuxhenrik54cd5492020-06-03 14:00:26 +020074 mvn-params: '-f sdnc-a1-controller/northbound'
elinuxhenrikba9bee22020-06-02 11:53:56 +020075 gerrit_trigger_file_paths:
76 - compare-type: REG_EXP
elinuxhenrik54cd5492020-06-03 14:00:26 +020077 pattern: 'sdnc-a1-controller/northbound/.*'
elinuxhenrike2c327b2020-05-29 09:48:09 +020078 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
elinuxhenrikabf82032021-01-25 09:46:51 +010087 - cherry:
88 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +020089 - dawn:
90 branch: dawn
elinuxhenrike2c327b2020-05-29 09:48:09 +020091
Lathish9d5999a2020-11-25 13:42:40 +000092# 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
elinuxhenrikabf82032021-01-25 09:46:51 +0100112 - cherry:
113 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +0200114 - dawn:
115 branch: dawn
Lathish9d5999a2020-11-25 13:42:40 +0000116
ecaiyanlinux9c95efa2020-11-27 12:29:56 +0100117# 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
elinuxhenrikabf82032021-01-25 09:46:51 +0100137 - cherry:
138 branch: cherry
ecaiyanlinux885236b2021-07-29 15:57:02 +0200139 - dawn:
140 branch: dawn
ecaiyanlinux9c95efa2020-11-27 12:29:56 +0100141
wrider7f7c1c72019-11-19 00:13:13 -0500142- project:
elinuxhenrikd1cada72020-06-17 08:37:11 +0200143 <<: *nonrtric_jdk_common
elinuxhenrik67186f32021-08-23 10:17:38 +0200144 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
elinuxhenrik75007732021-09-06 06:48:06 +0200170 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
elinuxhenrik71ab46b2021-09-29 12:53:26 +0200195 project-name: '{name}'
elinuxhenrik75007732021-09-06 06:48:06 +0200196 # 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 Belur13a94392021-09-24 07:09:20 +1000201 java-version: openjdk11
elinuxhenrik75007732021-09-06 06:48:06 +0200202 # use sonarcloud values from defaults.yaml
203 sonar-properties: |
204 # Required metadata
205 sonar.login={sonarcloud_api_token}
elinuxhenrik9b2ae0c2021-09-30 10:56:32 +0200206 sonar.projectKey={sonarcloud_project_organization}_{name}
elinuxhenrik75007732021-09-06 06:48:06 +0200207 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
elinuxhenrik71ab46b2021-09-29 12:53:26 +0200216 sonar.go.coverage.reportPaths=dmaap-mediator-producer/coverage.txt
elinuxhenrik75007732021-09-06 06:48:06 +0200217 # Inclusions
elinuxhenrikb2977252021-09-21 08:21:30 +0200218 sonar.inclusions=dmaap-mediator-producer/internal/**/**.go
elinuxhenrik75007732021-09-06 06:48:06 +0200219 # Exclusions
elinuxhenrikb2977252021-09-21 08:21:30 +0200220 sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/internal/**/**_test.go
elinuxhenrik75007732021-09-06 06:48:06 +0200221 jobs:
222 - gerrit-sonar-prescan-script
223
224- project:
225 <<: *nonrtric_jdk_common
elinuxhenrikde79a032021-08-20 08:31:26 +0200226 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
elinuxhenrik71ab46b2021-09-29 12:53:26 +0200236 project-name: '{name}'
elinuxhenrikde79a032021-08-20 08:31:26 +0200237 # 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