blob: b887912f3660be2e0542c920ab67ff4a8187fb1b [file] [log] [blame]
Hardik Windlass0f9621d2021-02-24 21:23:19 +05301---
2# voltha 2.X tests
3
4- project:
5 name: software-upgrades
6 project-name: '{name}'
7
8 jobs:
9 - 'software-upgrades-test':
10 name: 'periodic-software-upgrade-test-bbsim'
11 pipeline-script: 'voltha/master/software-upgrades.groovy'
Hardik Windlass6cac6592021-03-22 17:30:43 +053012 onos-image: 'andreacampanella/voltha-onos:olt-group-pkt-req-mcast-fix'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053013 build-node: 'qct-pod4-node2'
14 code-branch: 'master'
15 aaa-version: '2.3.0.SNAPSHOT'
Hardik Windlass5e9daf52021-03-23 08:52:39 +053016 aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.3.0-SNAPSHOT/aaa-app-2.3.0-20210322.191830-3.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053017 olt-version: '4.4.0.SNAPSHOT'
Hardik Windlass4f592592021-03-22 11:29:49 +053018 olt-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/olt-app/4.4.0-SNAPSHOT/olt-app-4.4.0-20210319.122447-8.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053019 dhcpl2relay-version: '2.4.0.SNAPSHOT'
20 dhcpl2relay-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/dhcpl2relay-app/2.4.0-SNAPSHOT/dhcpl2relay-app-2.4.0-20210311.091154-2.oar'
21 igmpproxy-version: '2.2.0.SNAPSHOT'
Hardik Windlass4f592592021-03-22 11:29:49 +053022 igmpproxy-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/onos-app-igmpproxy-app/2.2.0-SNAPSHOT/onos-app-igmpproxy-app-2.2.0-20210312.105254-9.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053023 sadis-version: '5.3.0.SNAPSHOT'
24 sadis-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/sadis-app/5.3.0-SNAPSHOT/sadis-app-5.3.0-20210311.085841-3.oar'
25 mcast-version: '2.2.0.SNAPSHOT'
Hardik Windlass4f592592021-03-22 11:29:49 +053026 mcast-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/mcast-app/2.2.0-SNAPSHOT/mcast-app-2.2.0-20210316.083454-5.oar'
Hardik Windlass31c17822021-03-12 11:02:31 +053027 kafka-version: '2.6.0.SNAPSHOT'
28 kafka-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/kafka/2.6.0-SNAPSHOT/kafka-2.6.0-20210311.093145-2.oar'
Hardik Windlass4f592592021-03-22 11:29:49 +053029 adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.1.6'
Hardik Windlass20a305f2021-03-17 09:55:59 +053030 adapter-open-onu-image: 'voltha/voltha-openonu-adapter-go:1.2.6'
Hardik Windlass98506e72021-03-09 14:29:17 +053031 rw-core-image: 'voltha/voltha-rw-core:2.6.3'
Hardik Windlass2ba6e662021-03-19 16:25:14 +053032 ofagent-image: 'voltha/voltha-ofagent-go:1.5.2'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053033 time-trigger: "H H/23 * * *"
34
35- job-template:
36 id: 'software-upgrades-test'
37 name: '{name}'
38 sandbox: true
39 volthaSystemTestsChange: ''
40 volthaHelmChartsChange: ''
41 kindVolthaChange: ''
42
43 description: |
44 <!-- Managed by Jenkins Job Builder -->
45 Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br />
46 E2E Validation for Voltha 2.X
47 properties:
48 - cord-infra-properties:
49 build-days-to-keep: '{build-days-to-keep}'
50 artifact-num-to-keep: '{artifact-num-to-keep}'
51
52 wrappers:
53 - lf-infra-wrappers:
54 build-timeout: '{build-timeout}'
55 jenkins-ssh-credential: '{jenkins-ssh-credential}'
56
57 parameters:
58 - string:
59 name: buildNode
60 default: '{build-node}'
61 description: 'Name of the Jenkins node to run the job on'
62
63 - string:
64 name: extraHelmFlags
65 default: ''
66 description: 'Helm flags to pass to ./voltha up'
67
68 - string:
69 name: volthaSystemTestsChange
70 default: ''
71 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
72
73 - string:
74 name: volthaHelmChartsChange
75 default: ''
76 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
77
78 - string:
79 name: branch
80 default: '{code-branch}'
81 description: 'Name of the branch to use'
82
83 # deprecated params (not used in master, remove after 2.6 support is dropped)
84 - string:
85 name: kindVolthaChange
86 default: ''
87 description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"'
88
89 - string:
90 name: onosImg
Hardik Windlass6cac6592021-03-22 17:30:43 +053091 default: '{onos-image}'
Hardik Windlass0f9621d2021-02-24 21:23:19 +053092 description: 'ONOS Image to use'
93
94 - string:
95 name: aaaVer
96 default: '{aaa-version}'
97 description: 'ONOS AAA App Version to Test Upgrade'
98
99 - string:
100 name: aaaOarUrl
101 default: '{aaa-oar-url}'
102 description: 'ONOS AAA App OAR File Url'
103
Hardik Windlass98506e72021-03-09 14:29:17 +0530104 - string:
105 name: oltVer
106 default: '{olt-version}'
107 description: 'ONOS OLT App Version to Test Upgrade'
108
109 - string:
110 name: oltOarUrl
111 default: '{olt-oar-url}'
112 description: 'ONOS OLT App OAR File Url'
113
114 - string:
115 name: dhcpl2relayVer
116 default: '{dhcpl2relay-version}'
117 description: 'ONOS DHCP L2 Relay App Version to Test Upgrade'
118
119 - string:
120 name: dhcpl2relayOarUrl
121 default: '{dhcpl2relay-oar-url}'
122 description: 'ONOS DHCP L2 Relay App OAR File Url'
123
124 - string:
125 name: igmpproxyVer
126 default: '{igmpproxy-version}'
127 description: 'ONOS Igmp Proxy App Version to Test Upgrade'
128
129 - string:
130 name: igmpproxyOarUrl
131 default: '{igmpproxy-oar-url}'
132 description: 'ONOS Igmp Proxy App OAR File Url'
133
134 - string:
135 name: sadisVer
136 default: '{sadis-version}'
137 description: 'ONOS Sadis App Version to Test Upgrade'
138
139 - string:
140 name: sadisOarUrl
141 default: '{sadis-oar-url}'
142 description: 'ONOS Sadis App OAR File Url'
143
144 - string:
145 name: mcastVer
146 default: '{mcast-version}'
147 description: 'ONOS MCast App Version to Test Upgrade'
148
149 - string:
150 name: mcastOarUrl
151 default: '{mcast-oar-url}'
152 description: 'ONOS MCast App OAR File Url'
153
154 - string:
155 name: kafkaVer
156 default: '{kafka-version}'
157 description: 'ONOS Kafka App Version to Test Upgrade'
158
159 - string:
160 name: kafkaOarUrl
161 default: '{kafka-oar-url}'
162 description: 'ONOS Kafka App OAR File Url'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530163
164 - string:
165 name: adapterOpenOltImage
166 default: '{adapter-open-olt-image}'
167 description: 'Voltha Adapter Open OLT Component Image'
168
Hardik Windlass98506e72021-03-09 14:29:17 +0530169 - string:
170 name: adapterOpenOnuImage
171 default: '{adapter-open-onu-image}'
172 description: 'Voltha Adapter Open ONU Component Image'
173
174 - string:
175 name: rwCoreImage
176 default: '{rw-core-image}'
177 description: 'Voltha RW Core Component Image'
178
179 - string:
180 name: ofAgentImage
181 default: '{ofagent-image}'
182 description: 'Voltha Ofagent Component Image'
Hardik Windlass0f9621d2021-02-24 21:23:19 +0530183
184 project-type: pipeline
185 concurrent: true
186
187 dsl: !include-raw-escape: pipeline/{pipeline-script}
188
189 triggers:
190 - timed: |
191 TZ=America/Los_Angeles
192 {time-trigger}
193