blob: 761939f38381465c11757b28f01a6ac2853cf8a1 [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'
Kailash866e14f2019-02-22 10:43:23 -080013
14- job-template:
15 id: 'data-model-scale'
16 name: 'xos-data-model-scale'
17
18 description: |
19 <!-- Managed by Jenkins Job Builder -->
20 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
21
22 properties:
23 - cord-infra-properties:
24 build-days-to-keep: '{build-days-to-keep}'
25 artifact-num-to-keep: '{artifact-num-to-keep}'
26
27 wrappers:
28 - lf-infra-wrappers:
29 build-timeout: '{build-timeout}'
30 jenkins-ssh-credential: '{jenkins-ssh-credential}'
31
32 parameters:
33 - string:
34 name: executorNode
35 default: 'ubuntu16.04-basebuild-4c-8g'
36 description: 'Name of the Jenkins node to run the job on'
37
38 - string:
39 name: manifestUrl
40 default: '{gerrit-server-url}/{cord-repo-manifest}'
41 description: 'URL to the repo manifest'
42
43 - string:
44 name: manifestBranch
45 default: 'master'
46 description: 'Name of the repo branch to use'
47
48 - string:
Kailashc47d9c52019-03-05 13:10:47 -080049 name: TestDir
50 default: 'xos-scale-tests'
51 description: 'Directory where tests reside'
52
53 - string:
Kailash866e14f2019-02-22 10:43:23 -080054 name: TestCommand
Kailash4462aaf2019-03-26 21:35:11 -070055 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 -080056 description: 'Exact command to execute the tests including arguments'
57
58
59 project-type: pipeline
60 concurrent: false
61
62 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
63
64 triggers:
65 - timed: |
66 TZ=America/Los_Angeles
67 H 0,12 * * *
68
69- job-template:
70 id: 'data-migrations'
71 name: 'xos-data-migrations-test'
72
73 description: |
74 <!-- Managed by Jenkins Job Builder -->
75 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
76
77 properties:
78 - cord-infra-properties:
79 build-days-to-keep: '{build-days-to-keep}'
80 artifact-num-to-keep: '{artifact-num-to-keep}'
81
82 wrappers:
83 - lf-infra-wrappers:
84 build-timeout: '{build-timeout}'
85 jenkins-ssh-credential: '{jenkins-ssh-credential}'
86
87 parameters:
88 - string:
89 name: executorNode
90 default: 'ubuntu16.04-basebuild-4c-8g'
91 description: 'Name of the Jenkins node to run the job on'
92
93 - string:
94 name: manifestUrl
95 default: '{gerrit-server-url}/{cord-repo-manifest}'
96 description: 'URL to the repo manifest'
97
98 - string:
99 name: manifestBranch
100 default: 'master'
101 description: 'Name of the repo branch to use'
102
103 - string:
Kailashc47d9c52019-03-05 13:10:47 -0800104 name: TestDir
105 default: 'xos-migration-tests'
106 description: 'Directory where tests reside'
107
108 - string:
Kailash866e14f2019-02-22 10:43:23 -0800109 name: TestCommand
110 default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot'
111 description: 'Exact command to execute the tests including arguments'
112
113
114 project-type: pipeline
115 concurrent: false
116
117 dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy
118
119 triggers:
120 - reverse:
Kailashaaa5fa22019-05-01 08:52:26 -0700121 jobs: 'docker-publish_xos'
122 result: 'success'
123
124- job-template:
125 id: 'data-backup'
126 name: 'xos-data-backup-test'
127
128 description: |
129 <!-- Managed by Jenkins Job Builder -->
130 Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br />
131
132 properties:
133 - cord-infra-properties:
134 build-days-to-keep: '{build-days-to-keep}'
135 artifact-num-to-keep: '{artifact-num-to-keep}'
136
137 wrappers:
138 - lf-infra-wrappers:
139 build-timeout: '{build-timeout}'
140 jenkins-ssh-credential: '{jenkins-ssh-credential}'
141
142 parameters:
143 - string:
144 name: executorNode
145 default: 'ubuntu16.04-basebuild-4c-8g'
146 description: 'Name of the Jenkins node to run the job on'
147
148 - string:
149 name: manifestUrl
150 default: '{gerrit-server-url}/{cord-repo-manifest}'
151 description: 'URL to the repo manifest'
152
153 - string:
154 name: manifestBranch
155 default: 'master'
156 description: 'Name of the repo branch to use'
157
158 - string:
159 name: TestDir
160 default: 'xos-backup-tests'
161 description: 'Directory where tests reside'
162
163 - string:
164 name: TestCommand
165 default: 'robot -d Log -T xos-backup.robot'
166 description: 'Exact command to execute the tests including arguments'
167
168
169 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'