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