blob: c67d2df5fdf500c9dc775aacb6983394599c730e [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
Joey Armstrongc5194c42024-07-23 15:31:18 -040038 # default: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -040039 default: 'ubuntu18.04-basebuild-8c-15g'
hwchiu14f97852019-10-08 10:51:11 -070040 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080041
42 - string:
hwchiu14f97852019-10-08 10:51:11 -070043 name: manifestUrl
44 default: '{gerrit-server-url}/{cord-repo-manifest}'
45 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -080046
47 - string:
hwchiu14f97852019-10-08 10:51:11 -070048 name: manifestBranch
49 default: 'master'
50 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -080051
52 - string:
hwchiu14f97852019-10-08 10:51:11 -070053 name: TestDir
54 default: 'xos-scale-tests'
55 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -080056
57 - string:
hwchiu14f97852019-10-08 10:51:11 -070058 name: TestCommand
59 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'
60 description: 'Exact command to execute the tests including arguments'
Kailash866e14f2019-02-22 10:43:23 -080061
Kailash866e14f2019-02-22 10:43:23 -080062 project-type: pipeline
63 concurrent: false
64
65 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
66
67 triggers:
hwchiu14f97852019-10-08 10:51:11 -070068 - timed: |
Kailash866e14f2019-02-22 10:43:23 -080069 TZ=America/Los_Angeles
70 H 0,12 * * *
71
72- job-template:
73 id: 'data-migrations'
74 name: 'xos-data-migrations-test'
75
76 description: |
77 <!-- Managed by Jenkins Job Builder -->
78 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
79
80 properties:
81 - cord-infra-properties:
82 build-days-to-keep: '{build-days-to-keep}'
83 artifact-num-to-keep: '{artifact-num-to-keep}'
84
85 wrappers:
86 - lf-infra-wrappers:
87 build-timeout: '{build-timeout}'
88 jenkins-ssh-credential: '{jenkins-ssh-credential}'
89
90 parameters:
91 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070092 name: buildNode
Joey Armstrongc5194c42024-07-23 15:31:18 -040093 # default: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -040094 default: 'ubuntu18.04-basebuild-8c-15g'
hwchiu14f97852019-10-08 10:51:11 -070095 description: 'Name of the Jenkins node to run the job on'
Kailash866e14f2019-02-22 10:43:23 -080096
97 - string:
hwchiu14f97852019-10-08 10:51:11 -070098 name: manifestUrl
99 default: '{gerrit-server-url}/{cord-repo-manifest}'
100 description: 'URL to the repo manifest'
Kailash866e14f2019-02-22 10:43:23 -0800101
102 - string:
hwchiu14f97852019-10-08 10:51:11 -0700103 name: manifestBranch
104 default: 'master'
105 description: 'Name of the repo branch to use'
Kailash866e14f2019-02-22 10:43:23 -0800106
107 - string:
hwchiu14f97852019-10-08 10:51:11 -0700108 name: TestDir
109 default: 'xos-migration-tests'
110 description: 'Directory where tests reside'
Kailashc47d9c52019-03-05 13:10:47 -0800111
112 - string:
hwchiu14f97852019-10-08 10:51:11 -0700113 name: TestCommand
114 default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot'
115 description: 'Exact command to execute the tests including arguments'
Kailash866e14f2019-02-22 10:43:23 -0800116
Kailash866e14f2019-02-22 10:43:23 -0800117 project-type: pipeline
118 concurrent: false
119
120 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
121
122 triggers:
123 - reverse:
Kailashaaa5fa22019-05-01 08:52:26 -0700124 jobs: 'docker-publish_xos'
125 result: 'success'
126
127- job-template:
128 id: 'data-backup'
129 name: 'xos-data-backup-test'
130
131 description: |
132 <!-- Managed by Jenkins Job Builder -->
133 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
134
135 properties:
136 - cord-infra-properties:
137 build-days-to-keep: '{build-days-to-keep}'
138 artifact-num-to-keep: '{artifact-num-to-keep}'
139
140 wrappers:
141 - lf-infra-wrappers:
142 build-timeout: '{build-timeout}'
143 jenkins-ssh-credential: '{jenkins-ssh-credential}'
144
145 parameters:
146 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700147 name: buildNode
Joey Armstrongc5194c42024-07-23 15:31:18 -0400148 # default: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -0400149 default: 'ubuntu18.04-basebuild-8c-15g'
hwchiu14f97852019-10-08 10:51:11 -0700150 description: 'Name of the Jenkins node to run the job on'
Kailashaaa5fa22019-05-01 08:52:26 -0700151
152 - string:
hwchiu14f97852019-10-08 10:51:11 -0700153 name: manifestUrl
154 default: '{gerrit-server-url}/{cord-repo-manifest}'
155 description: 'URL to the repo manifest'
Kailashaaa5fa22019-05-01 08:52:26 -0700156
157 - string:
hwchiu14f97852019-10-08 10:51:11 -0700158 name: manifestBranch
159 default: 'master'
160 description: 'Name of the repo branch to use'
Kailashaaa5fa22019-05-01 08:52:26 -0700161
162 - string:
hwchiu14f97852019-10-08 10:51:11 -0700163 name: TestDir
164 default: 'xos-backup-tests'
165 description: 'Directory where tests reside'
Kailashaaa5fa22019-05-01 08:52:26 -0700166
167 - string:
hwchiu14f97852019-10-08 10:51:11 -0700168 name: TestCommand
169 default: 'robot -d Log -T xos-backup.robot'
170 description: 'Exact command to execute the tests including arguments'
Kailashaaa5fa22019-05-01 08:52:26 -0700171
Kailashaaa5fa22019-05-01 08:52:26 -0700172 project-type: pipeline
173 concurrent: false
174
175 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
176
177 triggers:
178 - reverse:
179 jobs: 'docker-publish_xos'
Kailash866e14f2019-02-22 10:43:23 -0800180 result: 'success'
Kailash2caf2b02019-05-01 14:50:47 -0700181
182- job-template:
183 id: 'att-wf'
184 name: 'att-workflow-validation-test'
185
186 description: |
187 <!-- Managed by Jenkins Job Builder -->
188 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
189
190 properties:
191 - cord-infra-properties:
192 build-days-to-keep: '{build-days-to-keep}'
193 artifact-num-to-keep: '{artifact-num-to-keep}'
194
195 wrappers:
196 - lf-infra-wrappers:
197 build-timeout: '{build-timeout}'
198 jenkins-ssh-credential: '{jenkins-ssh-credential}'
199
200 parameters:
201 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700202 name: buildNode
Joey Armstrongc5194c42024-07-23 15:31:18 -0400203 # default: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -0400204 default: 'ubuntu18.04-basebuild-8c-15g'
hwchiu14f97852019-10-08 10:51:11 -0700205 description: 'Name of the Jenkins node to run the job on'
Kailash2caf2b02019-05-01 14:50:47 -0700206
207 - string:
hwchiu14f97852019-10-08 10:51:11 -0700208 name: manifestUrl
209 default: '{gerrit-server-url}/{cord-repo-manifest}'
210 description: 'URL to the repo manifest'
Kailash2caf2b02019-05-01 14:50:47 -0700211
212 - string:
hwchiu14f97852019-10-08 10:51:11 -0700213 name: manifestBranch
214 default: 'master'
215 description: 'Name of the repo branch to use'
Kailash2caf2b02019-05-01 14:50:47 -0700216
217 - string:
hwchiu14f97852019-10-08 10:51:11 -0700218 name: service
219 default: 'att-workflow-driver'
220 description: 'Name of the service being tested'
Kailash2caf2b02019-05-01 14:50:47 -0700221
222 - string:
hwchiu14f97852019-10-08 10:51:11 -0700223 name: helmChart
224 default: 'workflows/att-workflow'
225 description: 'Directory/name of the service helm-chart'
Kailash2caf2b02019-05-01 14:50:47 -0700226
227 - string:
hwchiu14f97852019-10-08 10:51:11 -0700228 name: TestDir
229 default: 'xos-att-workflow-driver-tests'
230 description: 'Directory where tests reside'
Kailash2caf2b02019-05-01 14:50:47 -0700231
232 - string:
hwchiu14f97852019-10-08 10:51:11 -0700233 name: TestCommand
234 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'
235 description: 'Exact command to execute the tests including arguments'
Kailash2caf2b02019-05-01 14:50:47 -0700236
Kailash2caf2b02019-05-01 14:50:47 -0700237 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700238 name: InstallService
239 default: true
240 description: 'Set to true when testing a particular xos-service'
Kailash2caf2b02019-05-01 14:50:47 -0700241
242 project-type: pipeline
243 concurrent: false
244
245 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
246
247 triggers:
248 - reverse:
249 jobs: 'docker-publish_att-workflow-driver'
250 result: 'success'
Joey Armstrongaf679da2023-01-31 14:22:41 -0500251
252# [EOF]