f350d35fa95d187fea57ab3ee3efcef94276c84d
[ci-management.git] / jjb / nonrtric / nonrtric.yaml
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
12     build-node: centos7-builder-1c-1g
13     jobs:
14       - gerrit-info-yaml-verify
15
16 - nonrtric_jdk_common: &nonrtric_jdk_common
17     name: nonrtric-jdk-common
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
24     mvn-version: mvn36
25     java-version: openjdk11
26
27 # nonrtric:pm-pmlogger-influx
28 # Maven artifacts for nonrtric:pm-pmlogger-influx
29 - project:
30     <<: *nonrtric_jdk_common
31     name: nonrtric-plt-pm-pmlogger-influx
32     project-name: '{name}'
33     mvn-opts: '-Ddocker.skip=true'
34     mvn-params: '-f pmlog -Dbuild.number=${{BUILD_NUMBER}}'
35     gerrit_trigger_file_paths:
36       - compare-type: REG_EXP
37         pattern: 'pmlog/.*'
38     build-node: ubuntu1804-builder-4c-4g
39     jobs:
40       - gerrit-maven-verify
41       - gerrit-maven-merge
42       # Disable stage for now (Will move to another repo before release)     - gerrit-maven-stage
43       # Disable clm for now  (Will move to another repo before release)     - gerrit-maven-clm
44     stream:
45       - master:
46           branch: master
47
48 - project:
49     <<: *nonrtric_jdk_common
50     name: nonrtric-test-kafka-procon
51     project-name: '{name}'
52     # image name
53     docker-name: 'kafka-procon'
54     # get tag from YAML
55     container-tag-method: yaml-file
56     # use host network to clone from our gerrit
57     docker-build-args: '--network=host'
58     # Directory with Dockerfile
59     docker-root: 'test/kafka-procon'
60     # use host network to clone from our gerrit
61     docker-build-args: '--network=host'
62     # Directory where go test should be run
63     # Limit build trigger to appropriate files
64     gerrit_trigger_file_paths:
65       - compare-type: REG_EXP
66         pattern: 'test/kafka-procon/.*'
67     build-node: ubuntu1804-docker-4c-4g
68     # Includes verify and merge jobs
69     jobs:
70       - "{project-name}-gerrit-docker-jobs"
71     stream:
72       - master:
73           branch: master
74
75 - project:
76     <<: *nonrtric_jdk_common
77     name: nonrtric-test-http-https-proxy
78     project-name: '{name}'
79     # image name
80     docker-name: 'http-https-proxy'
81     # get tag from YAML
82     container-tag-method: yaml-file
83     # use host network to clone from our gerrit
84     docker-build-args: '--network=host'
85     # Directory with Dockerfile
86     docker-root: 'test/http-https-proxy'
87     # use host network to clone from our gerrit
88     docker-build-args: '--network=host'
89     # Directory where go test should be run
90     # Limit build trigger to appropriate files
91     gerrit_trigger_file_paths:
92       - compare-type: REG_EXP
93         pattern: 'test/http-https-proxy/.*'
94     build-node: ubuntu1804-docker-4c-4g
95     # Includes verify and merge jobs
96     jobs:
97       - "{project-name}-gerrit-docker-jobs"
98     stream:
99       - master:
100           branch: master
101
102 - project:
103     <<: *nonrtric_jdk_common
104     name: nonrtric-test-cr
105     project-name: '{name}'
106     # image name
107     docker-name: 'cr'
108     # get tag from YAML
109     container-tag-method: yaml-file
110     # use host network to clone from our gerrit
111     docker-build-args: '--network=host'
112     # Directory with Dockerfile
113     docker-root: 'test/cr'
114     # use host network to clone from our gerrit
115     docker-build-args: '--network=host'
116     # Directory where go test should be run
117     # Limit build trigger to appropriate files
118     gerrit_trigger_file_paths:
119       - compare-type: REG_EXP
120         pattern: 'test/cr/.*'
121     build-node: ubuntu1804-docker-4c-4g
122     # Includes verify and merge jobs
123     jobs:
124       - "{project-name}-gerrit-docker-jobs"
125     stream:
126       - master:
127           branch: master
128
129 - project:
130     <<: *nonrtric_jdk_common
131     name: nonrtric-test-prodstub
132     project-name: '{name}'
133     # image name
134     docker-name: 'prodstub'
135     # get tag from YAML
136     container-tag-method: yaml-file
137     # use host network to clone from our gerrit
138     docker-build-args: '--network=host'
139     # Directory with Dockerfile
140     docker-root: 'test/prodstub'
141     # use host network to clone from our gerrit
142     docker-build-args: '--network=host'
143     # Directory where go test should be run
144     # Limit build trigger to appropriate files
145     gerrit_trigger_file_paths:
146       - compare-type: REG_EXP
147         pattern: 'test/prodstub/.*'
148     build-node: ubuntu1804-docker-4c-4g
149     # Includes verify and merge jobs
150     jobs:
151       - "{project-name}-gerrit-docker-jobs"
152     stream:
153       - master:
154           branch: master
155
156 - project:
157     <<: *nonrtric_jdk_common
158     name: nonrtric-test-mrstub
159     project-name: '{name}'
160     # image name
161     docker-name: 'mrstub'
162     # get tag from YAML
163     container-tag-method: yaml-file
164     # use host network to clone from our gerrit
165     docker-build-args: '--network=host'
166     # Directory with Dockerfile
167     docker-root: 'test/mrstub'
168     # use host network to clone from our gerrit
169     docker-build-args: '--network=host'
170     # Directory where go test should be run
171     # Limit build trigger to appropriate files
172     gerrit_trigger_file_paths:
173       - compare-type: REG_EXP
174         pattern: 'test/mrstub/.*'
175     build-node: ubuntu1804-docker-4c-4g
176     # Includes verify and merge jobs
177     jobs:
178       - "{project-name}-gerrit-docker-jobs"
179     stream:
180       - master:
181           branch: master
182
183 - project:
184     <<: *nonrtric_jdk_common
185     name: nonrtric-plt-auth-token-fetch
186     project-name: '{name}'
187     # image name
188     docker-name: 'o-ran-sc/nonrtric-plt-auth-token-fetch'
189     # get tag from YAML
190     container-tag-method: yaml-file
191     # use host network to clone from our gerrit
192     docker-build-args: '--network=host'
193     # Directory with Dockerfile
194     docker-root: 'auth-token-fetch'
195     # use host network to clone from our gerrit
196     docker-build-args: '--network=host'
197     # Directory where go test should be run
198     go-root: 'auth-token-fetch'
199     # Limit build trigger to appropriate files
200     gerrit_trigger_file_paths:
201       - compare-type: REG_EXP
202         pattern: 'auth-token-fetch/.*'
203     build-node: ubuntu1804-docker-4c-4g
204     # Includes verify and merge jobs
205     jobs:
206       - "{project-name}-gerrit-docker-jobs"
207       - gerrit-go-verify
208     stream:
209       - all:
210           branch: '*'
211       - g-release:
212           branch: g-release
213
214 - project:
215     <<: *nonrtric_jdk_common
216     name: nonrtric-plt-auth-token-fetch-sonar
217     project-name: nonrtric-plt-auth-token-fetch
218     # prescan script requires ubuntu
219     # golang is only on docker-enabled nodes
220     build-node: ubuntu1804-docker-4c-4g
221     sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh
222     sonar-project-file: ""
223     java-version: openjdk11
224     # use sonarcloud values from defaults.yaml
225     sonar-properties: !include-raw: sonar-project.properties
226     jobs:
227       - gerrit-sonar-prescan-script
228
229 - project:
230     <<: *nonrtric_jdk_common
231     name: nonrtric-release
232     # maven release requires sigul which requires centos
233     # container release requires docker
234     build-node: centos7-docker-2c-8g
235     jobs:
236       - '{project-name}-gerrit-release-jobs'