Merge "Chore: Automation adds aiml-fw-aihp-ips-kserve-adapter.yaml"
[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     # use host network to clone from our gerrit
40     docker-build-args: '--network=host'
41     # Directory where go test should be run
42     # Limit build trigger to appropriate files
43     gerrit_trigger_file_paths:
44       - compare-type: REG_EXP
45         pattern: 'test/kafka-procon/.*'
46     build-node: ubuntu1804-docker-4c-4g
47     # Includes verify and merge jobs
48     jobs:
49       - "{project-name}-gerrit-docker-jobs"
50     stream:
51       - master:
52           branch: master
53
54 - project:
55     <<: *nonrtric_jdk_common
56     name: nonrtric-test-http-https-proxy
57     project-name: '{name}'
58     # image name
59     docker-name: 'http-https-proxy'
60     # get tag from YAML
61     container-tag-method: yaml-file
62     # use host network to clone from our gerrit
63     docker-build-args: '--network=host'
64     # Directory with Dockerfile
65     docker-root: 'test/http-https-proxy'
66     # use host network to clone from our gerrit
67     docker-build-args: '--network=host'
68     # Directory where go test should be run
69     # Limit build trigger to appropriate files
70     gerrit_trigger_file_paths:
71       - compare-type: REG_EXP
72         pattern: 'test/http-https-proxy/.*'
73     build-node: ubuntu1804-docker-4c-4g
74     # Includes verify and merge jobs
75     jobs:
76       - "{project-name}-gerrit-docker-jobs"
77     stream:
78       - master:
79           branch: master
80
81 - project:
82     <<: *nonrtric_jdk_common
83     name: nonrtric-test-cr
84     project-name: '{name}'
85     # image name
86     docker-name: 'cr'
87     # get tag from YAML
88     container-tag-method: yaml-file
89     # use host network to clone from our gerrit
90     docker-build-args: '--network=host'
91     # Directory with Dockerfile
92     docker-root: 'test/cr'
93     # use host network to clone from our gerrit
94     docker-build-args: '--network=host'
95     # Directory where go test should be run
96     # Limit build trigger to appropriate files
97     gerrit_trigger_file_paths:
98       - compare-type: REG_EXP
99         pattern: 'test/cr/.*'
100     build-node: ubuntu1804-docker-4c-4g
101     # Includes verify and merge jobs
102     jobs:
103       - "{project-name}-gerrit-docker-jobs"
104     stream:
105       - master:
106           branch: master
107
108 - project:
109     <<: *nonrtric_jdk_common
110     name: nonrtric-test-prodstub
111     project-name: '{name}'
112     # image name
113     docker-name: 'prodstub'
114     # get tag from YAML
115     container-tag-method: yaml-file
116     # use host network to clone from our gerrit
117     docker-build-args: '--network=host'
118     # Directory with Dockerfile
119     docker-root: 'test/prodstub'
120     # use host network to clone from our gerrit
121     docker-build-args: '--network=host'
122     # Directory where go test should be run
123     # Limit build trigger to appropriate files
124     gerrit_trigger_file_paths:
125       - compare-type: REG_EXP
126         pattern: 'test/prodstub/.*'
127     build-node: ubuntu1804-docker-4c-4g
128     # Includes verify and merge jobs
129     jobs:
130       - "{project-name}-gerrit-docker-jobs"
131     stream:
132       - master:
133           branch: master
134
135 - project:
136     <<: *nonrtric_jdk_common
137     name: nonrtric-test-mrstub
138     project-name: '{name}'
139     # image name
140     docker-name: 'mrstub'
141     # get tag from YAML
142     container-tag-method: yaml-file
143     # use host network to clone from our gerrit
144     docker-build-args: '--network=host'
145     # Directory with Dockerfile
146     docker-root: 'test/mrstub'
147     # use host network to clone from our gerrit
148     docker-build-args: '--network=host'
149     # Directory where go test should be run
150     # Limit build trigger to appropriate files
151     gerrit_trigger_file_paths:
152       - compare-type: REG_EXP
153         pattern: 'test/mrstub/.*'
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_jdk_common
164     name: nonrtric-plt-auth-token-fetch
165     project-name: '{name}'
166     # image name
167     docker-name: 'o-ran-sc/nonrtric-plt-auth-token-fetch'
168     # get tag from YAML
169     container-tag-method: yaml-file
170     # use host network to clone from our gerrit
171     docker-build-args: '--network=host'
172     # Directory with Dockerfile
173     docker-root: 'auth-token-fetch'
174     # use host network to clone from our gerrit
175     docker-build-args: '--network=host'
176     # Directory where go test should be run
177     go-root: 'auth-token-fetch'
178     # Limit build trigger to appropriate files
179     gerrit_trigger_file_paths:
180       - compare-type: REG_EXP
181         pattern: 'auth-token-fetch/.*'
182     build-node: ubuntu1804-docker-4c-4g
183     # Includes verify and merge jobs
184     jobs:
185       - "{project-name}-gerrit-docker-jobs"
186       - gerrit-go-verify
187     stream:
188       - master:
189           branch: master
190       - f-release:
191           java-version: openjdk11
192           branch: f-release
193       - g-release:
194           java-version: openjdk11
195           branch: g-release
196
197 - project:
198     <<: *nonrtric_jdk_common
199     name: nonrtric-plt-auth-token-fetch-sonar
200     project-name: nonrtric-plt-auth-token-fetch
201     # prescan script requires ubuntu
202     # golang is only on docker-enabled nodes
203     build-node: ubuntu1804-docker-4c-4g
204     sonar-prescan-script: !include-raw-escape: prescan-nonrtric-auth-token-fetch-ubuntu.sh
205     sonar-project-file: ""
206     java-version: openjdk11
207     # use sonarcloud values from defaults.yaml
208     sonar-properties: !include-raw: sonar-project.properties
209     jobs:
210       - gerrit-sonar-prescan-script
211
212 - project:
213     <<: *nonrtric_jdk_common
214     name: nonrtric-release
215     # maven release requires sigul which requires centos
216     # container release requires docker
217     build-node: centos7-docker-2c-8g
218     jobs:
219       - '{project-name}-gerrit-release-jobs'