blob: f7e571660180b82cedc3d696425aa53cba875fe2 [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:
hwchiu14f97852019-10-08 10:51:11 -070010 - 'voltha-periodic-test':
Kailashaad71012019-08-27 10:36:53 -070011 name: 'voltha-system-tests'
12 pipeline: 'voltha-go-tests.groovy'
Andy Bavieraaa60f72019-09-20 09:11:21 -070013 default-image-tag: 'voltha-2.1'
hwchiu14f97852019-10-08 10:51:11 -070014 - 'voltha-periodic-test':
Andy Bavieraaa60f72019-09-20 09:11:21 -070015 name: 'voltha-system-tests-master'
16 pipeline: 'voltha-go-tests.groovy'
17 default-image-tag: 'master'
Kailashaad71012019-08-27 10:36:53 -070018
Kailash8b8de742019-07-30 08:54:51 -070019- job-template:
Kailashaad71012019-08-27 10:36:53 -070020 id: 'voltha-periodic-test'
21 name: '{name}'
Kailash8b8de742019-07-30 08:54:51 -070022
23 description: |
24 <!-- Managed by Jenkins Job Builder -->
25 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
26 E2E Validation for Voltha 2.X
27
28 properties:
29 - cord-infra-properties:
30 build-days-to-keep: '{build-days-to-keep}'
31 artifact-num-to-keep: '{artifact-num-to-keep}'
32
33 wrappers:
34 - lf-infra-wrappers:
35 build-timeout: '{build-timeout}'
36 jenkins-ssh-credential: '{jenkins-ssh-credential}'
37
38 parameters:
39 - string:
40 name: executorNode
41 default: 'ubuntu16.04-basebuild-4c-8g'
42 description: 'Name of the Jenkins node to run the job on'
43
44 - string:
45 name: numOnus
46 default: '1'
47 description: 'Number of onus per pon port'
48
49 - string:
hwchiu14f97852019-10-08 10:51:11 -070050 name: emulationMode
51 default: '--set emulation_mode=both'
52 description: 'Emulation for BBSIM (both|aaa)'
Kailash8b8de742019-07-30 08:54:51 -070053
54 - string:
55 name: testTimeout
56 default: '90'
57 description: 'timeout for olt/onu validations'
58
59 - string:
60 name: testTags
61 default: '-e notready'
62 description: 'test tags'
63
Andy Bavierea26c5c2019-09-18 08:09:17 -070064 - string:
65 name: extraHelmFlags
Zack Williams04997502019-10-04 14:32:20 -070066 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 -070067 description: 'Helm flags to pass to ./voltha up'
68
Kailash8b8de742019-07-30 08:54:51 -070069 project-type: pipeline
70 concurrent: false
71
Kailashaad71012019-08-27 10:36:53 -070072 dsl: !include-raw-escape: pipeline/{pipeline}
Kailash6be1aa92019-08-05 18:11:11 -070073
74 triggers:
hwchiu14f97852019-10-08 10:51:11 -070075 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -070076 TZ=America/Los_Angeles
Andy Bavierc08e4d22019-09-18 10:08:12 -070077 H/30 * * * *
Kailashaad71012019-08-27 10:36:53 -070078
79- job-template:
80 id: 'voltha-patch-test'
Kailash53d86722019-09-05 09:08:41 -070081 name: '{project}_sanity-system-test'
Kailashaad71012019-08-27 10:36:53 -070082
83 description: |
84 <!-- Managed by Jenkins Job Builder -->
85 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
86 E2E Validation for Voltha 2.X
87
88 properties:
89 - cord-infra-properties:
90 build-days-to-keep: '{build-days-to-keep}'
91 artifact-num-to-keep: '{artifact-num-to-keep}'
92
93 wrappers:
94 - lf-infra-wrappers:
95 build-timeout: '{build-timeout}'
96 jenkins-ssh-credential: '{jenkins-ssh-credential}'
97
98 parameters:
99 - string:
100 name: executorNode
101 default: 'ubuntu16.04-basebuild-4c-8g'
102 description: 'Name of the Jenkins node to run the job on'
103
104 - string:
105 name: manifestUrl
106 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
107 description: 'URL to the repo manifest'
108
109 - string:
hwchiu14f97852019-10-08 10:51:11 -0700110 name: manifestBranch
111 default: '$GERRIT_BRANCH'
112 description: 'Name of the repo branch to use'
Kailashaad71012019-08-27 10:36:53 -0700113
114 - string:
hwchiu14f97852019-10-08 10:51:11 -0700115 name: gerritProject
116 default: '$GERRIT_PROJECT'
117 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700118
119 - string:
hwchiu14f97852019-10-08 10:51:11 -0700120 name: gerritChangeNumber
121 default: '$GERRIT_CHANGE_NUMBER'
122 description: 'Changeset number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700123
124 - string:
hwchiu14f97852019-10-08 10:51:11 -0700125 name: gerritPatchsetNumber
126 default: '$GERRIT_PATCHSET_NUMBER'
127 description: 'PatchSet number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700128
129 - string:
130 name: numOnus
131 default: '1'
132 description: 'Number of onus per pon port'
133
134 - string:
hwchiu14f97852019-10-08 10:51:11 -0700135 name: emulationMode
136 default: '--set emulation_mode=both'
137 description: 'Emulation for BBSIM (both|aaa)'
Kailashaad71012019-08-27 10:36:53 -0700138
139 - string:
140 name: testTimeout
141 default: '90'
142 description: 'timeout for olt/onu validations'
143
144 - string:
145 name: testTags
146 default: '-e notready'
147 description: 'test tags'
148
149 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700150 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700151
152 dsl: !include-raw-escape: pipeline/{pipeline}
153
154 triggers:
155 - cord-infra-gerrit-trigger-patchset:
156 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700157 project-regexp: '^{project}$'
158 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700159 dependency-jobs: '{dependency-jobs}'
160 file-include-regexp: '{all-files-regexp}'