blob: 9de0ca28acd29d8d4c7d819f107f3684cda81b9b [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'
Zack Williamsb3292082019-10-11 17:15:18 -070012 pipeline-script: '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:
Zack Williamsb3292082019-10-11 17:15:18 -070036 name: buildNode
Kailash8b8de742019-07-30 08:54:51 -070037 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 Bavierdabe9fc2019-10-24 17:10:48 -070062 default: '--set defaults.image_tag={default-image-tag},onu=2,pon=2'
Andy Bavierea26c5c2019-09-18 08:09:17 -070063 description: 'Helm flags to pass to ./voltha up'
64
Andy Bavierdabe9fc2019-10-24 17:10:48 -070065 - string:
66 name: robotVarFile
67 default: 'bbsim-kind-2x2.yaml'
68 description: 'Pod config file to use for tests'
69
Kailash8b8de742019-07-30 08:54:51 -070070 project-type: pipeline
71 concurrent: false
72
Zack Williamsb3292082019-10-11 17:15:18 -070073 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailash6be1aa92019-08-05 18:11:11 -070074
75 triggers:
hwchiu14f97852019-10-08 10:51:11 -070076 - timed: |
Kailash6be1aa92019-08-05 18:11:11 -070077 TZ=America/Los_Angeles
Andy Bavierc08e4d22019-09-18 10:08:12 -070078 H/30 * * * *
Kailashaad71012019-08-27 10:36:53 -070079
80- job-template:
81 id: 'voltha-patch-test'
Kailash53d86722019-09-05 09:08:41 -070082 name: '{project}_sanity-system-test'
Kailashaad71012019-08-27 10:36:53 -070083
84 description: |
85 <!-- Managed by Jenkins Job Builder -->
86 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
87 E2E Validation for Voltha 2.X
88
89 properties:
90 - cord-infra-properties:
91 build-days-to-keep: '{build-days-to-keep}'
92 artifact-num-to-keep: '{artifact-num-to-keep}'
93
94 wrappers:
95 - lf-infra-wrappers:
96 build-timeout: '{build-timeout}'
97 jenkins-ssh-credential: '{jenkins-ssh-credential}'
98
99 parameters:
100 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700101 name: buildNode
Kailashaad71012019-08-27 10:36:53 -0700102 default: 'ubuntu16.04-basebuild-4c-8g'
103 description: 'Name of the Jenkins node to run the job on'
104
105 - string:
106 name: manifestUrl
107 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
108 description: 'URL to the repo manifest'
109
110 - string:
hwchiu14f97852019-10-08 10:51:11 -0700111 name: manifestBranch
112 default: '$GERRIT_BRANCH'
113 description: 'Name of the repo branch to use'
Kailashaad71012019-08-27 10:36:53 -0700114
115 - string:
hwchiu14f97852019-10-08 10:51:11 -0700116 name: gerritProject
117 default: '$GERRIT_PROJECT'
118 description: 'Name of the Gerrit project'
Kailashaad71012019-08-27 10:36:53 -0700119
120 - string:
hwchiu14f97852019-10-08 10:51:11 -0700121 name: gerritChangeNumber
122 default: '$GERRIT_CHANGE_NUMBER'
123 description: 'Changeset number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700124
125 - string:
hwchiu14f97852019-10-08 10:51:11 -0700126 name: gerritPatchsetNumber
127 default: '$GERRIT_PATCHSET_NUMBER'
128 description: 'PatchSet number in Gerrit'
Kailashaad71012019-08-27 10:36:53 -0700129
130 - string:
131 name: numOnus
132 default: '1'
133 description: 'Number of onus per pon port'
134
135 - string:
hwchiu14f97852019-10-08 10:51:11 -0700136 name: emulationMode
137 default: '--set emulation_mode=both'
138 description: 'Emulation for BBSIM (both|aaa)'
Kailashaad71012019-08-27 10:36:53 -0700139
140 - string:
141 name: testTimeout
142 default: '90'
143 description: 'timeout for olt/onu validations'
144
145 - string:
146 name: testTags
147 default: '-e notready'
148 description: 'test tags'
149
Andy Bavierbedd0392019-10-16 13:58:18 -0700150 - string:
151 name: extraHelmFlags
152 default: '--set defaults.image_tag=$GERRIT_BRANCH'
153 description: 'Helm flags to pass to ./voltha up'
154
Kailashaad71012019-08-27 10:36:53 -0700155 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700156 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700157
Zack Williamsb3292082019-10-11 17:15:18 -0700158 dsl: !include-raw-escape: pipeline/{pipeline-script}
Kailashaad71012019-08-27 10:36:53 -0700159
160 triggers:
161 - cord-infra-gerrit-trigger-patchset:
162 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700163 project-regexp: '^{project}$'
164 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700165 dependency-jobs: '{dependency-jobs}'
166 file-include-regexp: '{all-files-regexp}'