blob: d56ba8a7de12f9e03cd31fe1401e934fdf892486 [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
Kailash866e14f2019-02-22 10:43:23 -080061 project-type: pipeline
62 concurrent: false
63
64 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
65
66 triggers:
hwchiu14f97852019-10-08 10:51:11 -070067 - timed: |
Kailash866e14f2019-02-22 10:43:23 -080068 TZ=America/Los_Angeles
69 H 0,12 * * *
70
71- job-template:
72 id: 'data-migrations'
73 name: 'xos-data-migrations-test'
74
75 description: |
76 <!-- Managed by Jenkins Job Builder -->
77 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
78
79 properties:
80 - cord-infra-properties:
81 build-days-to-keep: '{build-days-to-keep}'
82 artifact-num-to-keep: '{artifact-num-to-keep}'
83
84 wrappers:
85 - lf-infra-wrappers:
86 build-timeout: '{build-timeout}'
87 jenkins-ssh-credential: '{jenkins-ssh-credential}'
88
89 parameters:
90 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070091 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070092 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -070093 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080094
95 - string:
hwchiu14f97852019-10-08 10:51:11 -070096 name: manifestUrl
97 default: '{gerrit-server-url}/{cord-repo-manifest}'
98 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -080099
100 - string:
hwchiu14f97852019-10-08 10:51:11 -0700101 name: manifestBranch
102 default: 'master'
103 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -0800104
105 - string:
hwchiu14f97852019-10-08 10:51:11 -0700106 name: TestDir
107 default: 'xos-migration-tests'
108 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -0800109
110 - string:
hwchiu14f97852019-10-08 10:51:11 -0700111 name: TestCommand
112 default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot'
113 description: 'Exact command to execute the tests including arguments'
Kailash866e14f2019-02-22 10:43:23 -0800114
Kailash866e14f2019-02-22 10:43:23 -0800115 project-type: pipeline
116 concurrent: false
117
118 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
119
120 triggers:
121 - reverse:
Kailashaaa5fa22019-05-01 08:52:26 -0700122 jobs: 'docker-publish_xos'
123 result: 'success'
124
125- job-template:
126 id: 'data-backup'
127 name: 'xos-data-backup-test'
128
129 description: |
130 <!-- Managed by Jenkins Job Builder -->
131 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
132
133 properties:
134 - cord-infra-properties:
135 build-days-to-keep: '{build-days-to-keep}'
136 artifact-num-to-keep: '{artifact-num-to-keep}'
137
138 wrappers:
139 - lf-infra-wrappers:
140 build-timeout: '{build-timeout}'
141 jenkins-ssh-credential: '{jenkins-ssh-credential}'
142
143 parameters:
144 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700145 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700146 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -0700147 description: 'Name of the Jenkins node to run the job on'
Kailashaaa5fa22019-05-01 08:52:26 -0700148
149 - string:
hwchiu14f97852019-10-08 10:51:11 -0700150 name: manifestUrl
151 default: '{gerrit-server-url}/{cord-repo-manifest}'
152 description: 'URL to the repo manifest'
Kailashaaa5fa22019-05-01 08:52:26 -0700153
154 - string:
hwchiu14f97852019-10-08 10:51:11 -0700155 name: manifestBranch
156 default: 'master'
157 description: 'Name of the repo branch to use'
Kailashaaa5fa22019-05-01 08:52:26 -0700158
159 - string:
hwchiu14f97852019-10-08 10:51:11 -0700160 name: TestDir
161 default: 'xos-backup-tests'
162 description: 'Directory where tests reside'
Kailashaaa5fa22019-05-01 08:52:26 -0700163
164 - string:
hwchiu14f97852019-10-08 10:51:11 -0700165 name: TestCommand
166 default: 'robot -d Log -T xos-backup.robot'
167 description: 'Exact command to execute the tests including arguments'
Kailashaaa5fa22019-05-01 08:52:26 -0700168
Kailashaaa5fa22019-05-01 08:52:26 -0700169 project-type: pipeline
170 concurrent: false
171
172 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
173
174 triggers:
175 - reverse:
176 jobs: 'docker-publish_xos'
Kailash866e14f2019-02-22 10:43:23 -0800177 result: 'success'
Kailash2caf2b02019-05-01 14:50:47 -0700178
179- job-template:
180 id: 'att-wf'
181 name: 'att-workflow-validation-test'
182
183 description: |
184 <!-- Managed by Jenkins Job Builder -->
185 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
186
187 properties:
188 - cord-infra-properties:
189 build-days-to-keep: '{build-days-to-keep}'
190 artifact-num-to-keep: '{artifact-num-to-keep}'
191
192 wrappers:
193 - lf-infra-wrappers:
194 build-timeout: '{build-timeout}'
195 jenkins-ssh-credential: '{jenkins-ssh-credential}'
196
197 parameters:
198 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700199 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -0700200 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -0700201 description: 'Name of the Jenkins node to run the job on'
Kailash2caf2b02019-05-01 14:50:47 -0700202
203 - string:
hwchiu14f97852019-10-08 10:51:11 -0700204 name: manifestUrl
205 default: '{gerrit-server-url}/{cord-repo-manifest}'
206 description: 'URL to the repo manifest'
Kailash2caf2b02019-05-01 14:50:47 -0700207
208 - string:
hwchiu14f97852019-10-08 10:51:11 -0700209 name: manifestBranch
210 default: 'master'
211 description: 'Name of the repo branch to use'
Kailash2caf2b02019-05-01 14:50:47 -0700212
213 - string:
hwchiu14f97852019-10-08 10:51:11 -0700214 name: service
215 default: 'att-workflow-driver'
216 description: 'Name of the service being tested'
Kailash2caf2b02019-05-01 14:50:47 -0700217
218 - string:
hwchiu14f97852019-10-08 10:51:11 -0700219 name: helmChart
220 default: 'workflows/att-workflow'
221 description: 'Directory/name of the service helm-chart'
Kailash2caf2b02019-05-01 14:50:47 -0700222
223 - string:
hwchiu14f97852019-10-08 10:51:11 -0700224 name: TestDir
225 default: 'xos-att-workflow-driver-tests'
226 description: 'Directory where tests reside'
Kailash2caf2b02019-05-01 14:50:47 -0700227
228 - string:
hwchiu14f97852019-10-08 10:51:11 -0700229 name: TestCommand
230 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'
231 description: 'Exact command to execute the tests including arguments'
Kailash2caf2b02019-05-01 14:50:47 -0700232
Kailash2caf2b02019-05-01 14:50:47 -0700233 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700234 name: InstallService
235 default: true
236 description: 'Set to true when testing a particular xos-service'
Kailash2caf2b02019-05-01 14:50:47 -0700237
238 project-type: pipeline
239 concurrent: false
240
241 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
242
243 triggers:
244 - reverse:
245 jobs: 'docker-publish_att-workflow-driver'
246 result: 'success'
Joey Armstrongaf679da2023-01-31 14:22:41 -0500247
248# [EOF]