blob: 3e0eebed8e7b10ea77643ac32bcecc132131b260 [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:
Matteo Scandolo84648202021-06-11 16:44:47 +020010 - 'data-model-scale':
11 'disable-job': true
Kailash866e14f2019-02-22 10:43:23 -080012 - 'data-migrations'
Kailashaaa5fa22019-05-01 08:52:26 -070013 - 'data-backup'
Kailash2caf2b02019-05-01 14:50:47 -070014 - 'att-wf'
Kailash866e14f2019-02-22 10:43:23 -080015
16- job-template:
17 id: 'data-model-scale'
18 name: 'xos-data-model-scale'
Matteo Scandolo84648202021-06-11 16:44:47 +020019 disabled: '{disable-job}'
Kailash866e14f2019-02-22 10:43:23 -080020
21 description: |
22 <!-- Managed by Jenkins Job Builder -->
23 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
24
25 properties:
26 - cord-infra-properties:
27 build-days-to-keep: '{build-days-to-keep}'
28 artifact-num-to-keep: '{artifact-num-to-keep}'
29
30 wrappers:
31 - lf-infra-wrappers:
32 build-timeout: '{build-timeout}'
33 jenkins-ssh-credential: '{jenkins-ssh-credential}'
34
35 parameters:
36 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070037 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070038 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -070039 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080040
41 - string:
hwchiu14f97852019-10-08 10:51:11 -070042 name: manifestUrl
43 default: '{gerrit-server-url}/{cord-repo-manifest}'
44 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -080045
46 - string:
hwchiu14f97852019-10-08 10:51:11 -070047 name: manifestBranch
48 default: 'master'
49 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -080050
51 - string:
hwchiu14f97852019-10-08 10:51:11 -070052 name: TestDir
53 default: 'xos-scale-tests'
54 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -080055
56 - string:
hwchiu14f97852019-10-08 10:51:11 -070057 name: TestCommand
58 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'
59 description: 'Exact command to execute the tests including arguments'
Kailash866e14f2019-02-22 10:43:23 -080060
Kailash2caf2b02019-05-01 14:50:47 -070061 - string:
hwchiu14f97852019-10-08 10:51:11 -070062 name: notificationEmail
63 default: 'kailash@opennetworking.org, teo@opennetworking.org'
64 description: ''
Kailash866e14f2019-02-22 10:43:23 -080065
66 project-type: pipeline
67 concurrent: false
68
69 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
70
71 triggers:
hwchiu14f97852019-10-08 10:51:11 -070072 - timed: |
Kailash866e14f2019-02-22 10:43:23 -080073 TZ=America/Los_Angeles
74 H 0,12 * * *
75
76- job-template:
77 id: 'data-migrations'
78 name: 'xos-data-migrations-test'
79
80 description: |
81 <!-- Managed by Jenkins Job Builder -->
82 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
83
84 properties:
85 - cord-infra-properties:
86 build-days-to-keep: '{build-days-to-keep}'
87 artifact-num-to-keep: '{artifact-num-to-keep}'
88
89 wrappers:
90 - lf-infra-wrappers:
91 build-timeout: '{build-timeout}'
92 jenkins-ssh-credential: '{jenkins-ssh-credential}'
93
94 parameters:
95 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070096 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070097 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -070098 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080099
100 - string:
hwchiu14f97852019-10-08 10:51:11 -0700101 name: manifestUrl
102 default: '{gerrit-server-url}/{cord-repo-manifest}'
103 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -0800104
105 - string:
hwchiu14f97852019-10-08 10:51:11 -0700106 name: manifestBranch
107 default: 'master'
108 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -0800109
110 - string:
hwchiu14f97852019-10-08 10:51:11 -0700111 name: TestDir
112 default: 'xos-migration-tests'
113 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -0800114
115 - string:
hwchiu14f97852019-10-08 10:51:11 -0700116 name: TestCommand
117 default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot'
118 description: 'Exact command to execute the tests including arguments'
Kailash866e14f2019-02-22 10:43:23 -0800119
Kailash2caf2b02019-05-01 14:50:47 -0700120 - string:
hwchiu14f97852019-10-08 10:51:11 -0700121 name: notificationEmail
122 default: 'kailash@opennetworking.org, smbaker@opennetworking.org'
123 description: ''
Kailash866e14f2019-02-22 10:43:23 -0800124
125 project-type: pipeline
126 concurrent: false
127
128 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
129
130 triggers:
131 - reverse:
Kailashaaa5fa22019-05-01 08:52:26 -0700132 jobs: 'docker-publish_xos'
133 result: 'success'
134
135- job-template:
136 id: 'data-backup'
137 name: 'xos-data-backup-test'
138
139 description: |
140 <!-- Managed by Jenkins Job Builder -->
141 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
142
143 properties:
144 - cord-infra-properties:
145 build-days-to-keep: '{build-days-to-keep}'
146 artifact-num-to-keep: '{artifact-num-to-keep}'
147
148 wrappers:
149 - lf-infra-wrappers:
150 build-timeout: '{build-timeout}'
151 jenkins-ssh-credential: '{jenkins-ssh-credential}'
152
153 parameters:
154 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700155 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700156 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -0700157 description: 'Name of the Jenkins node to run the job on'
Kailashaaa5fa22019-05-01 08:52:26 -0700158
159 - string:
hwchiu14f97852019-10-08 10:51:11 -0700160 name: manifestUrl
161 default: '{gerrit-server-url}/{cord-repo-manifest}'
162 description: 'URL to the repo manifest'
Kailashaaa5fa22019-05-01 08:52:26 -0700163
164 - string:
hwchiu14f97852019-10-08 10:51:11 -0700165 name: manifestBranch
166 default: 'master'
167 description: 'Name of the repo branch to use'
Kailashaaa5fa22019-05-01 08:52:26 -0700168
169 - string:
hwchiu14f97852019-10-08 10:51:11 -0700170 name: TestDir
171 default: 'xos-backup-tests'
172 description: 'Directory where tests reside'
Kailashaaa5fa22019-05-01 08:52:26 -0700173
174 - string:
hwchiu14f97852019-10-08 10:51:11 -0700175 name: TestCommand
176 default: 'robot -d Log -T xos-backup.robot'
177 description: 'Exact command to execute the tests including arguments'
Kailashaaa5fa22019-05-01 08:52:26 -0700178
Kailash2caf2b02019-05-01 14:50:47 -0700179 - string:
hwchiu14f97852019-10-08 10:51:11 -0700180 name: notificationEmail
181 default: 'kailash@opennetworking.org, smbaker@opennetworking.org'
182 description: ''
Kailashaaa5fa22019-05-01 08:52:26 -0700183
184 project-type: pipeline
185 concurrent: false
186
187 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
188
189 triggers:
190 - reverse:
191 jobs: 'docker-publish_xos'
Kailash866e14f2019-02-22 10:43:23 -0800192 result: 'success'
Kailash2caf2b02019-05-01 14:50:47 -0700193
194- job-template:
195 id: 'att-wf'
196 name: 'att-workflow-validation-test'
197
198 description: |
199 <!-- Managed by Jenkins Job Builder -->
200 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
201
202 properties:
203 - cord-infra-properties:
204 build-days-to-keep: '{build-days-to-keep}'
205 artifact-num-to-keep: '{artifact-num-to-keep}'
206
207 wrappers:
208 - lf-infra-wrappers:
209 build-timeout: '{build-timeout}'
210 jenkins-ssh-credential: '{jenkins-ssh-credential}'
211
212 parameters:
213 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700214 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700215 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -0700216 description: 'Name of the Jenkins node to run the job on'
Kailash2caf2b02019-05-01 14:50:47 -0700217
218 - string:
hwchiu14f97852019-10-08 10:51:11 -0700219 name: manifestUrl
220 default: '{gerrit-server-url}/{cord-repo-manifest}'
221 description: 'URL to the repo manifest'
Kailash2caf2b02019-05-01 14:50:47 -0700222
223 - string:
hwchiu14f97852019-10-08 10:51:11 -0700224 name: manifestBranch
225 default: 'master'
226 description: 'Name of the repo branch to use'
Kailash2caf2b02019-05-01 14:50:47 -0700227
228 - string:
hwchiu14f97852019-10-08 10:51:11 -0700229 name: service
230 default: 'att-workflow-driver'
231 description: 'Name of the service being tested'
Kailash2caf2b02019-05-01 14:50:47 -0700232
233 - string:
hwchiu14f97852019-10-08 10:51:11 -0700234 name: helmChart
235 default: 'workflows/att-workflow'
236 description: 'Directory/name of the service helm-chart'
Kailash2caf2b02019-05-01 14:50:47 -0700237
238 - string:
hwchiu14f97852019-10-08 10:51:11 -0700239 name: TestDir
240 default: 'xos-att-workflow-driver-tests'
241 description: 'Directory where tests reside'
Kailash2caf2b02019-05-01 14:50:47 -0700242
243 - string:
hwchiu14f97852019-10-08 10:51:11 -0700244 name: TestCommand
245 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'
246 description: 'Exact command to execute the tests including arguments'
Kailash2caf2b02019-05-01 14:50:47 -0700247
248 - string:
hwchiu14f97852019-10-08 10:51:11 -0700249 name: notificationEmail
250 default: 'kailash@opennetworking.org, teo@opennetworking.org'
251 description: ''
Kailash2caf2b02019-05-01 14:50:47 -0700252
253 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700254 name: InstallService
255 default: true
256 description: 'Set to true when testing a particular xos-service'
Kailash2caf2b02019-05-01 14:50:47 -0700257
258 project-type: pipeline
259 concurrent: false
260
261 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
262
263 triggers:
264 - reverse:
265 jobs: 'docker-publish_att-workflow-driver'
266 result: 'success'