8c8111858e9840b7e3eecc4e84f3c24d7849865a
[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: openjdk17
26
27 - project:
28     <<: *nonrtric_jdk_common
29     name: nonrtric-test-kafka-procon
30     project-name: "{name}"
31     # image name
32     docker-name: "kafka-procon"
33     # get tag from YAML
34     container-tag-method: yaml-file
35     # use host network to clone from our gerrit
36     docker-build-args: "--network=host"
37     # Directory with Dockerfile
38     docker-root: "test/kafka-procon"
39     # Directory where go test should be run
40     # Limit build trigger to appropriate files
41     gerrit_trigger_file_paths:
42       - compare-type: REG_EXP
43         pattern: "test/kafka-procon/.*"
44     build-node: ubuntu1804-docker-4c-4g
45     # Includes verify and merge jobs
46     jobs:
47       - "{project-name}-gerrit-docker-jobs"
48     stream:
49       - master:
50           branch: master
51
52 - project:
53     <<: *nonrtric_jdk_common
54     name: nonrtric-test-http-https-proxy
55     project-name: "{name}"
56     # image name
57     docker-name: "http-https-proxy"
58     # get tag from YAML
59     container-tag-method: yaml-file
60     # use host network to clone from our gerrit
61     docker-build-args: "--network=host"
62     # Directory with Dockerfile
63     docker-root: "test/http-https-proxy"
64     # Directory where go test should be run
65     # Limit build trigger to appropriate files
66     gerrit_trigger_file_paths:
67       - compare-type: REG_EXP
68         pattern: "test/http-https-proxy/.*"
69     build-node: ubuntu1804-docker-4c-4g
70     # Includes verify and merge jobs
71     jobs:
72       - "{project-name}-gerrit-docker-jobs"
73     stream:
74       - master:
75           branch: master
76
77 - project:
78     <<: *nonrtric_jdk_common
79     name: nonrtric-test-cr
80     project-name: "{name}"
81     # image name
82     docker-name: "cr"
83     # get tag from YAML
84     container-tag-method: yaml-file
85     # use host network to clone from our gerrit
86     docker-build-args: "--network=host"
87     # Directory with Dockerfile
88     docker-root: "test/cr"
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/cr/.*"
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-prodstub
105     project-name: "{name}"
106     # image name
107     docker-name: "prodstub"
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/prodstub"
114     # Directory where go test should be run
115     # Limit build trigger to appropriate files
116     gerrit_trigger_file_paths:
117       - compare-type: REG_EXP
118         pattern: "test/prodstub/.*"
119     build-node: ubuntu1804-docker-4c-4g
120     # Includes verify and merge jobs
121     jobs:
122       - "{project-name}-gerrit-docker-jobs"
123     stream:
124       - master:
125           branch: master
126
127 - project:
128     <<: *nonrtric_jdk_common
129     name: nonrtric-test-servicestub
130     project-name: "{name}"
131     # image name
132     docker-name: "servicestub"
133     # get tag from YAML
134     container-tag-method: yaml-file
135     # use host network to clone from our gerrit
136     docker-build-args: "--network=host"
137     # Directory with Dockerfile
138     docker-root: "test/servicestub"
139     # Directory where go test should be run
140     # Limit build trigger to appropriate files
141     gerrit_trigger_file_paths:
142       - compare-type: REG_EXP
143         pattern: "test/servicestub/.*"
144     build-node: ubuntu1804-docker-4c-4g
145     # Includes verify and merge jobs
146     jobs:
147       - "{project-name}-gerrit-docker-jobs"
148     stream:
149       - master:
150           branch: master
151
152 - project:
153     <<: *nonrtric_jdk_common
154     name: nonrtric-test-mrstub
155     project-name: "{name}"
156     # image name
157     docker-name: "mrstub"
158     # get tag from YAML
159     container-tag-method: yaml-file
160     # use host network to clone from our gerrit
161     docker-build-args: "--network=host"
162     # Directory with Dockerfile
163     docker-root: "test/mrstub"
164     # Directory where go test should be run
165     # Limit build trigger to appropriate files
166     gerrit_trigger_file_paths:
167       - compare-type: REG_EXP
168         pattern: "test/mrstub/.*"
169     build-node: ubuntu1804-docker-4c-4g
170     # Includes verify and merge jobs
171     jobs:
172       - "{project-name}-gerrit-docker-jobs"
173     stream:
174       - master:
175           branch: master
176
177 - project:
178     <<: *nonrtric_jdk_common
179     name: nonrtric-plt-auth-token-fetch
180     project-name: "{name}"
181     # image name
182     docker-name: "o-ran-sc/nonrtric-plt-auth-token-fetch"
183     # get tag from YAML
184     container-tag-method: yaml-file
185     # use host network to clone from our gerrit
186     docker-build-args: "--network=host"
187     # Directory with Dockerfile
188     docker-root: "auth-token-fetch"
189     # Directory where go test should be run
190     go-root: "auth-token-fetch"
191     # Limit build trigger to appropriate files
192     gerrit_trigger_file_paths:
193       - compare-type: REG_EXP
194         pattern: "auth-token-fetch/.*"
195     build-node: ubuntu1804-docker-4c-4g
196     # Includes verify and merge jobs
197     jobs:
198       - "{project-name}-gerrit-docker-jobs"
199       - gerrit-go-verify
200     stream:
201       - master:
202           branch: master
203       - g-release:
204           java-version: openjdk11
205           branch: g-release
206       - h-release:
207           branch: h-release
208       - i-release:
209           branch: i-release
210
211 - project:
212     <<: *nonrtric_jdk_common
213     name: nonrtric-plt-auth-token-fetch-sonar
214     project-name: nonrtric-plt-auth-token-fetch
215     # prescan script requires ubuntu
216     # golang is only on docker-enabled nodes
217     build-node: ubuntu1804-docker-4c-4g
218     sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh
219     sonar-project-file: ""
220     java-version: openjdk11
221     # use sonarcloud values from defaults.yaml
222     sonar-properties: !include-raw-escape: sonar-project.properties
223     jobs:
224       - gerrit-sonar-prescan-script
225
226 - project:
227     <<: *nonrtric_jdk_common
228     name: nonrtric-release
229     # maven release requires sigul which requires centos
230     # container release requires docker
231     build-node: centos7-docker-2c-8g
232     jobs:
233       - "{project-name}-gerrit-release-jobs"