blob: 140ec77bfad9af05c66f357b810981e3e5dda173 [file] [log] [blame]
Kailash866e14f2019-02-22 10:43:23 -08001---
2# xos-integration test jobs
3
4- project:
Kailashaaa5fa22019-05-01 08:52:26 -07005 name: xos-integration-tests
Kailash866e14f2019-02-22 10:43:23 -08006
Kailashaaa5fa22019-05-01 08:52:26 -07007 project-name: 'xos-integration-tests'
Kailash866e14f2019-02-22 10:43:23 -08008
9 jobs:
10 - 'data-model-scale'
11 - 'data-migrations'
Kailashaaa5fa22019-05-01 08:52:26 -070012 - 'data-backup'
Kailash2caf2b02019-05-01 14:50:47 -070013 - 'att-wf'
Kailash866e14f2019-02-22 10:43:23 -080014
15- job-template:
16 id: 'data-model-scale'
17 name: 'xos-data-model-scale'
18
19 description: |
20 <!-- Managed by Jenkins Job Builder -->
21 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
22
23 properties:
24 - cord-infra-properties:
25 build-days-to-keep: '{build-days-to-keep}'
26 artifact-num-to-keep: '{artifact-num-to-keep}'
27
28 wrappers:
29 - lf-infra-wrappers:
30 build-timeout: '{build-timeout}'
31 jenkins-ssh-credential: '{jenkins-ssh-credential}'
32
33 parameters:
34 - string:
35 name: executorNode
36 default: 'ubuntu16.04-basebuild-4c-8g'
37 description: 'Name of the Jenkins node to run the job on'
38
39 - string:
40 name: manifestUrl
41 default: '{gerrit-server-url}/{cord-repo-manifest}'
42 description: 'URL to the repo manifest'
43
44 - string:
45 name: manifestBranch
46 default: 'master'
47 description: 'Name of the repo branch to use'
48
49 - string:
Kailashc47d9c52019-03-05 13:10:47 -080050 name: TestDir
51 default: 'xos-scale-tests'
52 description: 'Directory where tests reside'
53
54 - string:
Kailash866e14f2019-02-22 10:43:23 -080055 name: TestCommand
Kailash4462aaf2019-03-26 21:35:11 -070056 default: 'robot -d Log -T -v xos_chameleon_url:127.0.0.1 -v xos_chameleon_port:30006 -v cord_kafka:\$CORD_KAFKA_IP -v num_olts:10 -v num_onus:1 -v num_pon_ports:10 -v timeout:360s xos-scale-att-workflow.robot'
Kailash866e14f2019-02-22 10:43:23 -080057 description: 'Exact command to execute the tests including arguments'
58
Kailash2caf2b02019-05-01 14:50:47 -070059 - string:
60 name: notificationEmail
61 default: 'kailash@opennetworking.org, teo@opennetworking.org'
62 description: ''
Kailash866e14f2019-02-22 10:43:23 -080063
64 project-type: pipeline
65 concurrent: false
66
67 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
68
69 triggers:
70 - timed: |
71 TZ=America/Los_Angeles
72 H 0,12 * * *
73
74- job-template:
75 id: 'data-migrations'
76 name: 'xos-data-migrations-test'
77
78 description: |
79 <!-- Managed by Jenkins Job Builder -->
80 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
81
82 properties:
83 - cord-infra-properties:
84 build-days-to-keep: '{build-days-to-keep}'
85 artifact-num-to-keep: '{artifact-num-to-keep}'
86
87 wrappers:
88 - lf-infra-wrappers:
89 build-timeout: '{build-timeout}'
90 jenkins-ssh-credential: '{jenkins-ssh-credential}'
91
92 parameters:
93 - string:
94 name: executorNode
95 default: 'ubuntu16.04-basebuild-4c-8g'
96 description: 'Name of the Jenkins node to run the job on'
97
98 - string:
99 name: manifestUrl
100 default: '{gerrit-server-url}/{cord-repo-manifest}'
101 description: 'URL to the repo manifest'
102
103 - string:
104 name: manifestBranch
105 default: 'master'
106 description: 'Name of the repo branch to use'
107
108 - string:
Kailashc47d9c52019-03-05 13:10:47 -0800109 name: TestDir
110 default: 'xos-migration-tests'
111 description: 'Directory where tests reside'
112
113 - string:
Kailash866e14f2019-02-22 10:43:23 -0800114 name: TestCommand
115 default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot'
116 description: 'Exact command to execute the tests including arguments'
117
Kailash2caf2b02019-05-01 14:50:47 -0700118 - string:
119 name: notificationEmail
120 default: 'kailash@opennetworking.org, smbaker@opennetworking.org'
121 description: ''
Kailash866e14f2019-02-22 10:43:23 -0800122
123 project-type: pipeline
124 concurrent: false
125
126 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
127
128 triggers:
129 - reverse:
Kailashaaa5fa22019-05-01 08:52:26 -0700130 jobs: 'docker-publish_xos'
131 result: 'success'
132
133- job-template:
134 id: 'data-backup'
135 name: 'xos-data-backup-test'
136
137 description: |
138 <!-- Managed by Jenkins Job Builder -->
139 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
140
141 properties:
142 - cord-infra-properties:
143 build-days-to-keep: '{build-days-to-keep}'
144 artifact-num-to-keep: '{artifact-num-to-keep}'
145
146 wrappers:
147 - lf-infra-wrappers:
148 build-timeout: '{build-timeout}'
149 jenkins-ssh-credential: '{jenkins-ssh-credential}'
150
151 parameters:
152 - string:
153 name: executorNode
154 default: 'ubuntu16.04-basebuild-4c-8g'
155 description: 'Name of the Jenkins node to run the job on'
156
157 - string:
158 name: manifestUrl
159 default: '{gerrit-server-url}/{cord-repo-manifest}'
160 description: 'URL to the repo manifest'
161
162 - string:
163 name: manifestBranch
164 default: 'master'
165 description: 'Name of the repo branch to use'
166
167 - string:
168 name: TestDir
169 default: 'xos-backup-tests'
170 description: 'Directory where tests reside'
171
172 - string:
173 name: TestCommand
174 default: 'robot -d Log -T xos-backup.robot'
175 description: 'Exact command to execute the tests including arguments'
176
Kailash2caf2b02019-05-01 14:50:47 -0700177 - string:
178 name: notificationEmail
179 default: 'kailash@opennetworking.org, smbaker@opennetworking.org'
180 description: ''
Kailashaaa5fa22019-05-01 08:52:26 -0700181
182 project-type: pipeline
183 concurrent: false
184
185 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
186
187 triggers:
188 - reverse:
189 jobs: 'docker-publish_xos'
Kailash866e14f2019-02-22 10:43:23 -0800190 result: 'success'
Kailash2caf2b02019-05-01 14:50:47 -0700191
192- job-template:
193 id: 'att-wf'
194 name: 'att-workflow-validation-test'
195
196 description: |
197 <!-- Managed by Jenkins Job Builder -->
198 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
199
200 properties:
201 - cord-infra-properties:
202 build-days-to-keep: '{build-days-to-keep}'
203 artifact-num-to-keep: '{artifact-num-to-keep}'
204
205 wrappers:
206 - lf-infra-wrappers:
207 build-timeout: '{build-timeout}'
208 jenkins-ssh-credential: '{jenkins-ssh-credential}'
209
210 parameters:
211 - string:
212 name: executorNode
213 default: 'ubuntu16.04-basebuild-4c-8g'
214 description: 'Name of the Jenkins node to run the job on'
215
216 - string:
217 name: manifestUrl
218 default: '{gerrit-server-url}/{cord-repo-manifest}'
219 description: 'URL to the repo manifest'
220
221 - string:
222 name: manifestBranch
223 default: 'master'
224 description: 'Name of the repo branch to use'
225
226 - string:
227 name: service
228 default: 'att-workflow-driver'
229 description: 'Name of the service being tested'
230
231 - string:
232 name: helmChart
233 default: 'workflows/att-workflow'
234 description: 'Directory/name of the service helm-chart'
235
236 - string:
237 name: TestDir
238 default: 'xos-att-workflow-driver-tests'
239 description: 'Directory where tests reside'
240
241 - string:
242 name: TestCommand
Kailashb23993a2019-05-07 13:15:42 -0700243 default: 'robot -d Log -T -v server_ip:127.0.0.1 -v server_port:30006 -v cord_kafka:\$CORD_KAFKA_IP ATT_Workflow.robot'
Kailash2caf2b02019-05-01 14:50:47 -0700244 description: 'Exact command to execute the tests including arguments'
245
246 - string:
247 name: notificationEmail
248 default: 'kailash@opennetworking.org, teo@opennetworking.org'
249 description: ''
250
251 - bool:
252 name: InstallService
253 default: true
254 description: 'Set to true when testing a particular xos-service'
255
256 project-type: pipeline
257 concurrent: false
258
259 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
260
261 triggers:
262 - reverse:
263 jobs: 'docker-publish_att-workflow-driver'
264 result: 'success'