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