blob: 55543d6a50b94a617dcfe4bac69810da8646249b [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: 'master'
Kailashaad71012019-08-27 10:36:53 -070014
Kailash8b8de742019-07-30 08:54:51 -070015- job-template:
Kailashaad71012019-08-27 10:36:53 -070016 id: 'voltha-periodic-test'
17 name: '{name}'
Kailash8b8de742019-07-30 08:54:51 -070018
19 description: |
20 <!-- Managed by Jenkins Job Builder -->
21 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
22 E2E Validation for Voltha 2.X
23
24 properties:
25 - cord-infra-properties:
26 build-days-to-keep: '{build-days-to-keep}'
27 artifact-num-to-keep: '{artifact-num-to-keep}'
28
29 wrappers:
30 - lf-infra-wrappers:
31 build-timeout: '{build-timeout}'
32 jenkins-ssh-credential: '{jenkins-ssh-credential}'
33
34 parameters:
35 - string:
36 name: executorNode
37 default: 'ubuntu16.04-basebuild-4c-8g'
38 description: 'Name of the Jenkins node to run the job on'
39
40 - string:
41 name: numOnus
42 default: '1'
43 description: 'Number of onus per pon port'
44
45 - string:
hwchiu14f97852019-10-08 10:51:11 -070046 name: emulationMode
47 default: '--set emulation_mode=both'
48 description: 'Emulation for BBSIM (both|aaa)'
Kailash8b8de742019-07-30 08:54:51 -070049
50 - string:
51 name: testTimeout
52 default: '90'
53 description: 'timeout for olt/onu validations'
54
55 - string:
56 name: testTags
57 default: '-e notready'
58 description: 'test tags'
59
Andy Bavierea26c5c2019-09-18 08:09:17 -070060 - string:
61 name: extraHelmFlags
Andy Bavierbedd0392019-10-16 13:58:18 -070062 default: '--set defaults.image_tag={default-image-tag}'
Andy Bavierea26c5c2019-09-18 08:09:17 -070063 description: 'Helm flags to pass to ./voltha up'
64
Kailash8b8de742019-07-30 08:54:51 -070065 project-type: pipeline
66 concurrent: false
67
Kailashaad71012019-08-27 10:36:53 -070068 dsl: !include-raw-escape: pipeline/{pipeline}
Kailash6be1aa92019-08-05 18:11:11 -070069
70 triggers:
hwchiu14f97852019-10-08 10:51:11 -070071 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -070072 TZ=America/Los_Angeles
Andy Bavierc08e4d22019-09-18 10:08:12 -070073 H/30 * * * *
Kailashaad71012019-08-27 10:36:53 -070074
75- job-template:
76 id: 'voltha-patch-test'
Kailash53d86722019-09-05 09:08:41 -070077 name: '{project}_sanity-system-test'
Kailashaad71012019-08-27 10:36:53 -070078
79 description: |
80 <!-- Managed by Jenkins Job Builder -->
81 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
82 E2E Validation for Voltha 2.X
83
84 properties:
85 - cord-infra-properties:
86 build-days-to-keep: '{build-days-to-keep}'
87 artifact-num-to-keep: '{artifact-num-to-keep}'
88
89 wrappers:
90 - lf-infra-wrappers:
91 build-timeout: '{build-timeout}'
92 jenkins-ssh-credential: '{jenkins-ssh-credential}'
93
94 parameters:
95 - string:
96 name: executorNode
97 default: 'ubuntu16.04-basebuild-4c-8g'
98 description: 'Name of the Jenkins node to run the job on'
99
100 - string:
101 name: manifestUrl
102 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
103 description: 'URL to the repo manifest'
104
105 - string:
hwchiu14f97852019-10-08 10:51:11 -0700106 name: manifestBranch
107 default: '$GERRIT_BRANCH'
108 description: 'Name of the repo branch to use'
Kailashaad71012019-08-27 10:36:53 -0700109
110 - string:
hwchiu14f97852019-10-08 10:51:11 -0700111 name: gerritProject
112 default: '$GERRIT_PROJECT'
113 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700114
115 - string:
hwchiu14f97852019-10-08 10:51:11 -0700116 name: gerritChangeNumber
117 default: '$GERRIT_CHANGE_NUMBER'
118 description: 'Changeset number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700119
120 - string:
hwchiu14f97852019-10-08 10:51:11 -0700121 name: gerritPatchsetNumber
122 default: '$GERRIT_PATCHSET_NUMBER'
123 description: 'PatchSet number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700124
125 - string:
126 name: numOnus
127 default: '1'
128 description: 'Number of onus per pon port'
129
130 - string:
hwchiu14f97852019-10-08 10:51:11 -0700131 name: emulationMode
132 default: '--set emulation_mode=both'
133 description: 'Emulation for BBSIM (both|aaa)'
Kailashaad71012019-08-27 10:36:53 -0700134
135 - string:
136 name: testTimeout
137 default: '90'
138 description: 'timeout for olt/onu validations'
139
140 - string:
141 name: testTags
142 default: '-e notready'
143 description: 'test tags'
144
Andy Bavierbedd0392019-10-16 13:58:18 -0700145 - string:
146 name: extraHelmFlags
147 default: '--set defaults.image_tag=$GERRIT_BRANCH'
148 description: 'Helm flags to pass to ./voltha up'
149
Kailashaad71012019-08-27 10:36:53 -0700150 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700151 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700152
153 dsl: !include-raw-escape: pipeline/{pipeline}
154
155 triggers:
156 - cord-infra-gerrit-trigger-patchset:
157 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700158 project-regexp: '^{project}$'
159 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700160 dependency-jobs: '{dependency-jobs}'
161 file-include-regexp: '{all-files-regexp}'