blob: 4930be000cfe389cfcd9934f3e7cb31cf556b1ef [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'
14 - 'voltha-periodic-test':
15 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:
50 name: emulationMode
51 default: '--set emulation_mode=both'
52 description: 'Emulation for BBSIM (both|aaa)'
53
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
Andy Bavieraaa60f72019-09-20 09:11:21 -070066 default: '--set defaults.image_tag={default-image-tag},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:
75 - timed: |
76 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:
110 name: manifestBranch
111 default: '$GERRIT_BRANCH'
112 description: 'Name of the repo branch to use'
113
114 - string:
115 name: gerritProject
116 default: '$GERRIT_PROJECT'
117 description: 'Name of the Gerrit project'
118
119 - string:
120 name: gerritChangeNumber
121 default: '$GERRIT_CHANGE_NUMBER'
122 description: 'Changeset number in Gerrit'
123
124 - string:
125 name: gerritPatchsetNumber
126 default: '$GERRIT_PATCHSET_NUMBER'
127 description: 'PatchSet number in Gerrit'
128
129 - string:
130 name: numOnus
131 default: '1'
132 description: 'Number of onus per pon port'
133
134 - string:
135 name: emulationMode
136 default: '--set emulation_mode=both'
137 description: 'Emulation for BBSIM (both|aaa)'
138
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}'