blob: 4ecccf323c1cabc88c8d698b6d45fce24f2b622b [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'
13
Kailash8b8de742019-07-30 08:54:51 -070014- job-template:
Kailashaad71012019-08-27 10:36:53 -070015 id: 'voltha-periodic-test'
16 name: '{name}'
Kailash8b8de742019-07-30 08:54:51 -070017
18 description: |
19 <!-- Managed by Jenkins Job Builder -->
20 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
21 E2E Validation for Voltha 2.X
22
23 properties:
24 - cord-infra-properties:
25 build-days-to-keep: '{build-days-to-keep}'
26 artifact-num-to-keep: '{artifact-num-to-keep}'
27
28 wrappers:
29 - lf-infra-wrappers:
30 build-timeout: '{build-timeout}'
31 jenkins-ssh-credential: '{jenkins-ssh-credential}'
32
33 parameters:
34 - string:
35 name: executorNode
36 default: 'ubuntu16.04-basebuild-4c-8g'
37 description: 'Name of the Jenkins node to run the job on'
38
39 - string:
40 name: numOnus
41 default: '1'
42 description: 'Number of onus per pon port'
43
44 - string:
45 name: emulationMode
46 default: '--set emulation_mode=both'
47 description: 'Emulation for BBSIM (both|aaa)'
48
49 - string:
50 name: testTimeout
51 default: '90'
52 description: 'timeout for olt/onu validations'
53
54 - string:
55 name: testTags
56 default: '-e notready'
57 description: 'test tags'
58
Andy Bavierea26c5c2019-09-18 08:09:17 -070059 - string:
60 name: extraHelmFlags
61 default: '--set defaults.image_tag=voltha-2.1,images.afrouter.repository=volthacore/voltha-afrouter,images.afrouter.tag=khen,images.ro_core.repository=volthacore/voltha-ro-core,images.ro_core.tag=khen,images.rw_core.repository=volthacore/voltha-rw-core,images.rw_core.tag=khen'
62 description: 'Helm flags to pass to ./voltha up'
63
Kailash8b8de742019-07-30 08:54:51 -070064 project-type: pipeline
65 concurrent: false
66
Kailashaad71012019-08-27 10:36:53 -070067 dsl: !include-raw-escape: pipeline/{pipeline}
Kailash6be1aa92019-08-05 18:11:11 -070068
69 triggers:
70 - timed: |
71 TZ=America/Los_Angeles
Andy Bavierea26c5c2019-09-18 08:09:17 -070072 H/20 * * * *
Kailashaad71012019-08-27 10:36:53 -070073
74- job-template:
75 id: 'voltha-patch-test'
Kailash53d86722019-09-05 09:08:41 -070076 name: '{project}_sanity-system-test'
Kailashaad71012019-08-27 10:36:53 -070077
78 description: |
79 <!-- Managed by Jenkins Job Builder -->
80 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
81 E2E Validation for Voltha 2.X
82
83 properties:
84 - cord-infra-properties:
85 build-days-to-keep: '{build-days-to-keep}'
86 artifact-num-to-keep: '{artifact-num-to-keep}'
87
88 wrappers:
89 - lf-infra-wrappers:
90 build-timeout: '{build-timeout}'
91 jenkins-ssh-credential: '{jenkins-ssh-credential}'
92
93 parameters:
94 - string:
95 name: executorNode
96 default: 'ubuntu16.04-basebuild-4c-8g'
97 description: 'Name of the Jenkins node to run the job on'
98
99 - string:
100 name: manifestUrl
101 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
102 description: 'URL to the repo manifest'
103
104 - string:
105 name: manifestBranch
106 default: '$GERRIT_BRANCH'
107 description: 'Name of the repo branch to use'
108
109 - string:
110 name: gerritProject
111 default: '$GERRIT_PROJECT'
112 description: 'Name of the Gerrit project'
113
114 - string:
115 name: gerritChangeNumber
116 default: '$GERRIT_CHANGE_NUMBER'
117 description: 'Changeset number in Gerrit'
118
119 - string:
120 name: gerritPatchsetNumber
121 default: '$GERRIT_PATCHSET_NUMBER'
122 description: 'PatchSet number in Gerrit'
123
124 - string:
125 name: numOnus
126 default: '1'
127 description: 'Number of onus per pon port'
128
129 - string:
130 name: emulationMode
131 default: '--set emulation_mode=both'
132 description: 'Emulation for BBSIM (both|aaa)'
133
134 - string:
135 name: testTimeout
136 default: '90'
137 description: 'timeout for olt/onu validations'
138
139 - string:
140 name: testTags
141 default: '-e notready'
142 description: 'test tags'
143
144 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700145 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700146
147 dsl: !include-raw-escape: pipeline/{pipeline}
148
149 triggers:
150 - cord-infra-gerrit-trigger-patchset:
151 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700152 project-regexp: '^{project}$'
153 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700154 dependency-jobs: '{dependency-jobs}'
155 file-include-regexp: '{all-files-regexp}'