blob: 71b1665cda084cc1dbf168cd9a67972d79a97df2 [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
8
9 jobs:
Kailashaad71012019-08-27 10:36:53 -070010 - 'voltha-periodic-test':
11 name: 'voltha-system-tests'
12 pipeline: 'voltha-go-tests.groovy'
Andy Bavieraaa60f72019-09-20 09:11:21 -070013 default-image-tag: 'voltha-2.1'
Matteo Scandoloe43b5f82019-09-23 15:21:04 -070014 - 'voltha-periodic-test-new-bbsim':
15 name: 'voltha-system-tests-new-bbsim'
16 pipeline: 'voltha-go-tests-new-bbsim.groovy'
17 default-image-tag: 'voltha-2.1'
Andy Bavieraaa60f72019-09-20 09:11:21 -070018 - 'voltha-periodic-test':
19 name: 'voltha-system-tests-master'
20 pipeline: 'voltha-go-tests.groovy'
21 default-image-tag: 'master'
Kailashaad71012019-08-27 10:36:53 -070022
Kailash8b8de742019-07-30 08:54:51 -070023- job-template:
Kailashaad71012019-08-27 10:36:53 -070024 id: 'voltha-periodic-test'
25 name: '{name}'
Kailash8b8de742019-07-30 08:54:51 -070026
27 description: |
28 <!-- Managed by Jenkins Job Builder -->
29 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
30 E2E Validation for Voltha 2.X
31
32 properties:
33 - cord-infra-properties:
34 build-days-to-keep: '{build-days-to-keep}'
35 artifact-num-to-keep: '{artifact-num-to-keep}'
36
37 wrappers:
38 - lf-infra-wrappers:
39 build-timeout: '{build-timeout}'
40 jenkins-ssh-credential: '{jenkins-ssh-credential}'
41
42 parameters:
43 - string:
44 name: executorNode
45 default: 'ubuntu16.04-basebuild-4c-8g'
46 description: 'Name of the Jenkins node to run the job on'
47
48 - string:
49 name: numOnus
50 default: '1'
51 description: 'Number of onus per pon port'
52
53 - string:
54 name: emulationMode
55 default: '--set emulation_mode=both'
56 description: 'Emulation for BBSIM (both|aaa)'
57
58 - string:
59 name: testTimeout
60 default: '90'
61 description: 'timeout for olt/onu validations'
62
63 - string:
64 name: testTags
65 default: '-e notready'
66 description: 'test tags'
67
Andy Bavierea26c5c2019-09-18 08:09:17 -070068 - string:
69 name: extraHelmFlags
Zack Williams04997502019-10-04 14:32:20 -070070 default: '--set defaults.image_tag={default-image-tag},images.afrouter.tag=master,images.afrouterd.tag=master,wpa_wait=10,dhcp_wait=10'
Andy Bavierea26c5c2019-09-18 08:09:17 -070071 description: 'Helm flags to pass to ./voltha up'
72
Kailash8b8de742019-07-30 08:54:51 -070073 project-type: pipeline
74 concurrent: false
75
Kailashaad71012019-08-27 10:36:53 -070076 dsl: !include-raw-escape: pipeline/{pipeline}
Kailash6be1aa92019-08-05 18:11:11 -070077
78 triggers:
79 - timed: |
80 TZ=America/Los_Angeles
Andy Bavierc08e4d22019-09-18 10:08:12 -070081 H/30 * * * *
Kailashaad71012019-08-27 10:36:53 -070082
83- job-template:
Matteo Scandoloe43b5f82019-09-23 15:21:04 -070084 id: 'voltha-periodic-test-new-bbsim'
85 name: '{name}'
86
87 description: |
88 <!-- Managed by Jenkins Job Builder -->
89 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
90 E2E Validation for Voltha 2.X and the new BBSim
91
92 properties:
93 - cord-infra-properties:
94 build-days-to-keep: '{build-days-to-keep}'
95 artifact-num-to-keep: '{artifact-num-to-keep}'
96
97 wrappers:
98 - lf-infra-wrappers:
99 build-timeout: '{build-timeout}'
100 jenkins-ssh-credential: '{jenkins-ssh-credential}'
101
102 parameters:
103 - string:
104 name: executorNode
105 default: 'ubuntu16.04-basebuild-4c-8g'
106 description: 'Name of the Jenkins node to run the job on'
107
108 - string:
109 name: numOnus
110 default: '1'
111 description: 'Number of onus per pon port'
112
113 - string:
114 name: testTimeout
115 default: '90'
116 description: 'timeout for olt/onu validations'
117
118 - string:
119 name: testTags
120 default: '-e notready'
121 description: 'test tags'
122
123 - string:
124 name: extraHelmFlags
Zack Williams04997502019-10-04 14:32:20 -0700125 default: '--set defaults.image_tag={default-image-tag},images.afrouter.tag=master,images.afrouterd.tag=master'
Matteo Scandoloe43b5f82019-09-23 15:21:04 -0700126 description: 'Helm flags to pass to ./voltha up'
127
128 project-type: pipeline
129 concurrent: false
130
131 dsl: !include-raw-escape: pipeline/{pipeline}
132
133 triggers:
134 - timed: |
135 TZ=America/Los_Angeles
136 H/30 * * * *
137
138- job-template:
Kailashaad71012019-08-27 10:36:53 -0700139 id: 'voltha-patch-test'
Kailash53d86722019-09-05 09:08:41 -0700140 name: '{project}_sanity-system-test'
Kailashaad71012019-08-27 10:36:53 -0700141
142 description: |
143 <!-- Managed by Jenkins Job Builder -->
144 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
145 E2E Validation for Voltha 2.X
146
147 properties:
148 - cord-infra-properties:
149 build-days-to-keep: '{build-days-to-keep}'
150 artifact-num-to-keep: '{artifact-num-to-keep}'
151
152 wrappers:
153 - lf-infra-wrappers:
154 build-timeout: '{build-timeout}'
155 jenkins-ssh-credential: '{jenkins-ssh-credential}'
156
157 parameters:
158 - string:
159 name: executorNode
160 default: 'ubuntu16.04-basebuild-4c-8g'
161 description: 'Name of the Jenkins node to run the job on'
162
163 - string:
164 name: manifestUrl
165 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
166 description: 'URL to the repo manifest'
167
168 - string:
169 name: manifestBranch
170 default: '$GERRIT_BRANCH'
171 description: 'Name of the repo branch to use'
172
173 - string:
174 name: gerritProject
175 default: '$GERRIT_PROJECT'
176 description: 'Name of the Gerrit project'
177
178 - string:
179 name: gerritChangeNumber
180 default: '$GERRIT_CHANGE_NUMBER'
181 description: 'Changeset number in Gerrit'
182
183 - string:
184 name: gerritPatchsetNumber
185 default: '$GERRIT_PATCHSET_NUMBER'
186 description: 'PatchSet number in Gerrit'
187
188 - string:
189 name: numOnus
190 default: '1'
191 description: 'Number of onus per pon port'
192
193 - string:
194 name: emulationMode
195 default: '--set emulation_mode=both'
196 description: 'Emulation for BBSIM (both|aaa)'
197
198 - string:
199 name: testTimeout
200 default: '90'
201 description: 'timeout for olt/onu validations'
202
203 - string:
204 name: testTags
205 default: '-e notready'
206 description: 'test tags'
207
208 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700209 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700210
211 dsl: !include-raw-escape: pipeline/{pipeline}
212
213 triggers:
214 - cord-infra-gerrit-trigger-patchset:
215 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700216 project-regexp: '^{project}$'
217 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700218 dependency-jobs: '{dependency-jobs}'
219 file-include-regexp: '{all-files-regexp}'