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