blob: b8597abf36c173aa51f1da4af8c9eb36eef93cf4 [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:
hwchiu14f97852019-10-08 10:51:11 -070035 name: executorNode
36 default: 'ubuntu16.04-basebuild-4c-8g'
37 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080038
39 - string:
hwchiu14f97852019-10-08 10:51:11 -070040 name: manifestUrl
41 default: '{gerrit-server-url}/{cord-repo-manifest}'
42 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -080043
44 - string:
hwchiu14f97852019-10-08 10:51:11 -070045 name: manifestBranch
46 default: 'master'
47 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -080048
49 - string:
hwchiu14f97852019-10-08 10:51:11 -070050 name: TestDir
51 default: 'xos-scale-tests'
52 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -080053
54 - string:
hwchiu14f97852019-10-08 10:51:11 -070055 name: TestCommand
56 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'
57 description: 'Exact command to execute the tests including arguments'
Kailash866e14f2019-02-22 10:43:23 -080058
Kailash2caf2b02019-05-01 14:50:47 -070059 - string:
hwchiu14f97852019-10-08 10:51:11 -070060 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:
hwchiu14f97852019-10-08 10:51:11 -070070 - timed: |
Kailash866e14f2019-02-22 10:43:23 -080071 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:
hwchiu14f97852019-10-08 10:51:11 -070094 name: executorNode
95 default: 'ubuntu16.04-basebuild-4c-8g'
96 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080097
98 - string:
hwchiu14f97852019-10-08 10:51:11 -070099 name: manifestUrl
100 default: '{gerrit-server-url}/{cord-repo-manifest}'
101 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -0800102
103 - string:
hwchiu14f97852019-10-08 10:51:11 -0700104 name: manifestBranch
105 default: 'master'
106 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -0800107
108 - string:
hwchiu14f97852019-10-08 10:51:11 -0700109 name: TestDir
110 default: 'xos-migration-tests'
111 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -0800112
113 - string:
hwchiu14f97852019-10-08 10:51:11 -0700114 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'
Kailash866e14f2019-02-22 10:43:23 -0800117
Kailash2caf2b02019-05-01 14:50:47 -0700118 - string:
hwchiu14f97852019-10-08 10:51:11 -0700119 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:
hwchiu14f97852019-10-08 10:51:11 -0700153 name: executorNode
154 default: 'ubuntu16.04-basebuild-4c-8g'
155 description: 'Name of the Jenkins node to run the job on'
Kailashaaa5fa22019-05-01 08:52:26 -0700156
157 - string:
hwchiu14f97852019-10-08 10:51:11 -0700158 name: manifestUrl
159 default: '{gerrit-server-url}/{cord-repo-manifest}'
160 description: 'URL to the repo manifest'
Kailashaaa5fa22019-05-01 08:52:26 -0700161
162 - string:
hwchiu14f97852019-10-08 10:51:11 -0700163 name: manifestBranch
164 default: 'master'
165 description: 'Name of the repo branch to use'
Kailashaaa5fa22019-05-01 08:52:26 -0700166
167 - string:
hwchiu14f97852019-10-08 10:51:11 -0700168 name: TestDir
169 default: 'xos-backup-tests'
170 description: 'Directory where tests reside'
Kailashaaa5fa22019-05-01 08:52:26 -0700171
172 - string:
hwchiu14f97852019-10-08 10:51:11 -0700173 name: TestCommand
174 default: 'robot -d Log -T xos-backup.robot'
175 description: 'Exact command to execute the tests including arguments'
Kailashaaa5fa22019-05-01 08:52:26 -0700176
Kailash2caf2b02019-05-01 14:50:47 -0700177 - string:
hwchiu14f97852019-10-08 10:51:11 -0700178 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:
hwchiu14f97852019-10-08 10:51:11 -0700212 name: executorNode
213 default: 'ubuntu16.04-basebuild-4c-8g'
214 description: 'Name of the Jenkins node to run the job on'
Kailash2caf2b02019-05-01 14:50:47 -0700215
216 - string:
hwchiu14f97852019-10-08 10:51:11 -0700217 name: manifestUrl
218 default: '{gerrit-server-url}/{cord-repo-manifest}'
219 description: 'URL to the repo manifest'
Kailash2caf2b02019-05-01 14:50:47 -0700220
221 - string:
hwchiu14f97852019-10-08 10:51:11 -0700222 name: manifestBranch
223 default: 'master'
224 description: 'Name of the repo branch to use'
Kailash2caf2b02019-05-01 14:50:47 -0700225
226 - string:
hwchiu14f97852019-10-08 10:51:11 -0700227 name: service
228 default: 'att-workflow-driver'
229 description: 'Name of the service being tested'
Kailash2caf2b02019-05-01 14:50:47 -0700230
231 - string:
hwchiu14f97852019-10-08 10:51:11 -0700232 name: helmChart
233 default: 'workflows/att-workflow'
234 description: 'Directory/name of the service helm-chart'
Kailash2caf2b02019-05-01 14:50:47 -0700235
236 - string:
hwchiu14f97852019-10-08 10:51:11 -0700237 name: TestDir
238 default: 'xos-att-workflow-driver-tests'
239 description: 'Directory where tests reside'
Kailash2caf2b02019-05-01 14:50:47 -0700240
241 - string:
hwchiu14f97852019-10-08 10:51:11 -0700242 name: TestCommand
243 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'
244 description: 'Exact command to execute the tests including arguments'
Kailash2caf2b02019-05-01 14:50:47 -0700245
246 - string:
hwchiu14f97852019-10-08 10:51:11 -0700247 name: notificationEmail
248 default: 'kailash@opennetworking.org, teo@opennetworking.org'
249 description: ''
Kailash2caf2b02019-05-01 14:50:47 -0700250
251 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700252 name: InstallService
253 default: true
254 description: 'Set to true when testing a particular xos-service'
Kailash2caf2b02019-05-01 14:50:47 -0700255
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'