Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 1 | --- |
| 2 | # voltha 2.0 tests |
| 3 | |
| 4 | - project: |
| 5 | name: voltha-e2e |
| 6 | |
| 7 | project-name: '{name}' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 8 | manualBranch: '' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 9 | olts: 1 |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 10 | onus: 1 |
| 11 | pons: 1 |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 12 | withAlarms: true |
| 13 | make-target-failtest: bbsim-failurescenarios |
| 14 | make-target-errortest: bbsim-errorscenarios |
| 15 | make-target-alarmtest: bbsim-alarms-kind |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 16 | make-target-multipleolt: bbsim-multiolt-kind |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 17 | make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test |
| 18 | make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 19 | make-target-reconciletest: reconcile-openonu-go-adapter-test |
| 20 | make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt |
| 21 | make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 22 | |
| 23 | jobs: |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 24 | - 'voltha-periodic-test-kind-voltha-based': |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 25 | name: 'periodic-voltha-test-bbsim' |
| 26 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 27 | build-node: 'qct-pod4-node2' |
Andy Bavier | d4ba337 | 2020-01-21 17:01:53 -0700 | [diff] [blame] | 28 | make-target: functional-single-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 29 | make-target-failtest: bbsim-failurescenarios |
| 30 | make-target-errortest: bbsim-errorscenarios |
| 31 | make-target-alarmtest: bbsim-alarms-kind |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 32 | make-target-multipleolt: bbsim-multiolt-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 33 | withAlarms: true |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 34 | code-branch: 'master' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 35 | olts: 1 |
| 36 | onus: 2 |
| 37 | pons: 2 |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 38 | time-trigger: "H H/23 * * *" |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 39 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 40 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 41 | name: 'periodic-voltha-multiple-olts-test-bbsim' |
| 42 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
| 43 | build-node: 'qct-pod4-node2' |
Suchitra Vemuri | e50560a | 2020-11-18 14:14:09 -0800 | [diff] [blame] | 44 | make-target: functional-multi-olt |
| 45 | make-target-failtest: bbsim-multiolt-failurescenarios |
| 46 | make-target-errortest: bbsim-multiolt-errorscenarios |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 47 | make-target-alarmtest: bbsim-alarms-kind |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 48 | make-target-multipleolt: bbsim-multiolt-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 49 | withAlarms: false |
| 50 | code-branch: 'master' |
| 51 | olts: 2 |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 52 | onus: 2 |
| 53 | pons: 2 |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 54 | time-trigger: "H H/23 * * *" |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 55 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 56 | - 'voltha-periodic-test-kind-voltha-based': |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 57 | name: 'periodic-voltha-multiple-olts-test-bbsim-2.7' |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 58 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
| 59 | build-node: 'qct-pod4-node2' |
| 60 | make-target: functional-multi-olt |
| 61 | make-target-failtest: bbsim-multiolt-failurescenarios |
| 62 | make-target-errortest: bbsim-multiolt-errorscenarios |
| 63 | make-target-alarmtest: bbsim-alarms-kind |
| 64 | make-target-multipleolt: bbsim-multiolt-kind |
| 65 | withAlarms: false |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 66 | code-branch: 'voltha-2.7' |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 67 | olts: 2 |
| 68 | onus: 2 |
| 69 | pons: 2 |
Suchitra Vemuri | 5fc1c6a | 2021-04-13 19:12:38 -0700 | [diff] [blame] | 70 | time-trigger: "H H * * *" |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 71 | |
| 72 | - 'voltha-periodic-test': |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 73 | name: 'periodic-voltha-openonu-go-test-bbsim' |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 74 | code-branch: 'master' |
| 75 | time-trigger: "H H/12 * * *" |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 76 | testTargets: | |
| 77 | - target: openonu-go-adapter-test |
| 78 | workflow: att |
| 79 | flags: "" |
| 80 | - target: 1t4gem-openonu-go-adapter-test |
| 81 | workflow: att |
| 82 | flags: "" |
| 83 | - target: 1t8gem-openonu-go-adapter-test |
| 84 | workflow: att |
| 85 | flags: "" |
| 86 | - target: mib-upload-templating-openonu-go-adapter-test |
| 87 | workflow: att |
| 88 | flags: "--set pon=2,onu=2,controlledActivation=only-onu" |
| 89 | - target: reconcile-openonu-go-adapter-test |
| 90 | workflow: att |
| 91 | flags: "" |
| 92 | - target: reconcile-openonu-go-adapter-test-dt |
| 93 | workflow: dt |
| 94 | flags: "" |
| 95 | - target: reconcile-openonu-go-adapter-test-tt |
| 96 | workflow: tt |
| 97 | flags: "" |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 98 | |
| 99 | - 'voltha-periodic-test': |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 100 | name: 'patchset-voltha-openonu-go-test-bbsim' |
| 101 | trigger-comment: "voltha test openonu" |
| 102 | code-branch: '$GERRIT_BRANCH' |
| 103 | gerrit-project: '$GERRIT_PROJECT' |
| 104 | gerritRefspec: '$GERRIT_REFSPEC' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 105 | testTargets: | |
| 106 | - target: openonu-go-adapter-test |
| 107 | workflow: att |
| 108 | flags: "" |
| 109 | - target: 1t4gem-openonu-go-adapter-test |
| 110 | workflow: att |
| 111 | flags: "" |
| 112 | - target: 1t8gem-openonu-go-adapter-test |
| 113 | workflow: att |
| 114 | flags: "" |
| 115 | - target: mib-upload-templating-openonu-go-adapter-test |
| 116 | workflow: att |
| 117 | flags: "--set pon=2,onu=2,controlledActivation=only-onu" |
| 118 | - target: reconcile-openonu-go-adapter-test |
| 119 | workflow: att |
| 120 | flags: "" |
| 121 | - target: reconcile-openonu-go-adapter-test-dt |
| 122 | workflow: dt |
| 123 | flags: "" |
| 124 | - target: reconcile-openonu-go-adapter-test-tt |
| 125 | workflow: tt |
| 126 | flags: "" |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 127 | |
| 128 | - 'voltha-periodic-test-kind-voltha-based': |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 129 | name: 'periodic-voltha-openonu-go-test-bbsim-2.7' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 130 | pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 131 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 132 | make-target: openonu-go-adapter-test |
| 133 | make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test |
| 134 | make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 135 | make-target-reconciletest: reconcile-openonu-go-adapter-test |
| 136 | make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt |
| 137 | make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 138 | withAlarms: false |
| 139 | code-branch: 'voltha-2.7' |
| 140 | time-trigger: "H H/23 * * *" |
| 141 | |
| 142 | - 'voltha-periodic-test': |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 143 | name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 144 | code-branch: 'master' |
| 145 | olts: 2 |
| 146 | onus: 2 |
| 147 | pons: 2 |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 148 | testTargets: | |
| 149 | - target: openonu-go-adapter-multi-olt-test |
| 150 | workflow: att |
| 151 | flags: "" |
| 152 | - target: 1t4gem-openonu-go-adapter-multi-olt-test |
| 153 | workflow: att |
| 154 | flags: "" |
| 155 | - target: 1t8gem-openonu-go-adapter-multi-olt-test |
| 156 | workflow: att |
| 157 | flags: "" |
| 158 | - target: reconcile-openonu-go-adapter-multi-olt-test |
| 159 | workflow: att |
| 160 | flags: "" |
| 161 | - target: reconcile-openonu-go-adapter-multi-olt-test-dt |
| 162 | workflow: dt |
| 163 | flags: "" |
| 164 | - target: reconcile-openonu-go-adapter-multi-olt-test-tt |
| 165 | workflow: tt |
| 166 | flags: "" |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 167 | time-trigger: "H H/12 * * *" |
| 168 | |
| 169 | - 'voltha-periodic-test': |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 170 | name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim' |
| 171 | trigger-comment: "voltha test openonu multiolt" |
| 172 | code-branch: '$GERRIT_BRANCH' |
| 173 | gerrit-project: '$GERRIT_PROJECT' |
| 174 | gerritRefspec: '$GERRIT_REFSPEC' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 175 | testTargets: | |
| 176 | - target: openonu-go-adapter-multi-olt-test |
| 177 | workflow: att |
| 178 | flags: "" |
| 179 | - target: 1t4gem-openonu-go-adapter-multi-olt-test |
| 180 | workflow: att |
| 181 | flags: "" |
| 182 | - target: 1t8gem-openonu-go-adapter-multi-olt-test |
| 183 | workflow: att |
| 184 | flags: "" |
| 185 | - target: reconcile-openonu-go-adapter-multi-olt-test |
| 186 | workflow: att |
| 187 | flags: "" |
| 188 | - target: reconcile-openonu-go-adapter-multi-olt-test-dt |
| 189 | workflow: dt |
| 190 | flags: "" |
| 191 | - target: reconcile-openonu-go-adapter-multi-olt-test-tt |
| 192 | workflow: tt |
| 193 | flags: "" |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 194 | olts: 2 |
| 195 | onus: 2 |
| 196 | pons: 2 |
| 197 | |
| 198 | - 'voltha-periodic-test-kind-voltha-based': |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 199 | name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 200 | pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 201 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 202 | make-target: openonu-go-adapter-multi-olt-test |
| 203 | make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test |
| 204 | make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 205 | make-target-reconciletest: reconcile-openonu-go-adapter-test |
| 206 | make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt |
| 207 | make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 208 | withAlarms: false |
| 209 | code-branch: 'voltha-2.7' |
| 210 | olts: 2 |
| 211 | onus: 2 |
| 212 | pons: 2 |
| 213 | time-trigger: "H H/23 * * *" |
| 214 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 215 | - 'voltha-periodic-test-kind-voltha-based': |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 216 | name: 'periodic-voltha-test-DMI' |
| 217 | pipeline-script: 'voltha-DMI-bbsim-tests.groovy' |
| 218 | build-node: 'qct-pod4-node2' |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 219 | make-target: bbsim-dmi-hw-management-test |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 220 | withAlarms: false |
| 221 | code-branch: 'master' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 222 | time-trigger: "H H/23 * * *" |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 223 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 224 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 225 | name: 'periodic-voltha-test-DMI-2.7' |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 226 | pipeline-script: 'voltha-DMI-bbsim-tests.groovy' |
| 227 | build-node: 'qct-pod4-node2' |
| 228 | make-target: bbsim-dmi-hw-management-test |
| 229 | withAlarms: false |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 230 | code-branch: 'voltha-2.7' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 231 | time-trigger: "H H/23 * * *" |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 232 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 233 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 234 | name: 'periodic-voltha-test-bbsim-2.7' |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 235 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 236 | build-node: 'qct-pod4-node2' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 237 | make-target: functional-single-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 238 | make-target-failtest: bbsim-failurescenarios |
| 239 | make-target-errortest: bbsim-errorscenarios |
| 240 | make-target-alarmtest: bbsim-alarms-kind |
| 241 | withAlarms: true |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 242 | code-branch: 'voltha-2.7' |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 243 | onus: 2 |
| 244 | pons: 2 |
Suchitra Vemuri | 5fc1c6a | 2021-04-13 19:12:38 -0700 | [diff] [blame] | 245 | time-trigger: "H H * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 246 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 247 | - 'voltha-periodic-test-kind-voltha-based': |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 248 | name: 'periodic-voltha-etcd-test' |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 249 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 250 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | c9189b7 | 2019-12-02 15:12:29 -0800 | [diff] [blame] | 251 | code-branch: 'master' |
hwchiu | 593a95a | 2020-01-30 10:09:39 -0800 | [diff] [blame] | 252 | make-target: sanity-multi-kind |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 253 | onus: 2 |
| 254 | pons: 2 |
| 255 | time-trigger: "H H/12 * * *" |
| 256 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 257 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 258 | name: 'periodic-voltha-etcd-test-2.7' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 259 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 260 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 261 | code-branch: 'voltha-2.7' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 262 | make-target: sanity-multi-kind |
| 263 | onus: 2 |
| 264 | pons: 2 |
| 265 | time-trigger: "H H/12 * * *" |
| 266 | |
| 267 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 268 | - 'voltha-periodic-test-kind-voltha-based': |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 269 | name: 'periodic-voltha-sanity-test-multi-runs' |
Andy Bavier | 0088c21 | 2020-01-08 13:44:03 -0700 | [diff] [blame] | 270 | pipeline-script: 'voltha-go-multi-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 271 | build-node: 'qct-pod4-node2' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 272 | code-branch: 'master' |
Andy Bavier | eea37da | 2020-01-17 17:11:32 -0700 | [diff] [blame] | 273 | make-target: sanity-kind |
Andy Bavier | 93e125e | 2020-01-17 15:23:50 -0700 | [diff] [blame] | 274 | onus: 1 |
| 275 | pons: 1 |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 276 | test-runs: 5 |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 277 | time-trigger: "H H/23 * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 278 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 279 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 280 | name: 'periodic-voltha-sanity-test-multi-runs-2.7' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 281 | pipeline-script: 'voltha-go-multi-tests.groovy' |
| 282 | build-node: 'qct-pod4-node2' |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 283 | code-branch: 'voltha-2.7' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 284 | make-target: sanity-kind |
| 285 | onus: 1 |
| 286 | pons: 1 |
| 287 | test-runs: 5 |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 288 | time-trigger: "H H/23 * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 289 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 290 | - 'voltha-periodic-test-kind-voltha-based': |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 291 | name: 'nightly-voltha-DTflow-sanity-test' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 292 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 293 | code-branch: 'master' |
| 294 | make-target: sanity-kind-dt |
| 295 | onus: 1 |
| 296 | pons: 1 |
| 297 | time-trigger: "@daily" |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 298 | work-flow: DT |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 299 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 300 | # Per-patchset Pod builds on Tucson pod (master) |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 301 | - 'verify_physical_voltha_patchset_auto': |
| 302 | name: 'verify_physical_voltha_patchset_auto' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 303 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 304 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 305 | # Per-patchset Pod builds on Tucson pod (voltha-2.7) |
| 306 | - 'verify_physical_voltha_patchset_auto': |
| 307 | name: 'verify_physical_voltha_patchset_auto_voltha-2.7' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 308 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Girish Gowdra | b6015cf | 2021-03-18 12:55:20 -0700 | [diff] [blame] | 309 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 310 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
| 311 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
| 312 | branch-pattern: voltha-2.7 |
| 313 | |
| 314 | # Per-patchset Pod builds on Tucson pod (master) |
| 315 | - 'verify_physical_voltha_patchset_manual': |
| 316 | name: 'verify_physical_voltha_patchset_manual' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 317 | profile: 'Default' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 318 | trigger-string: 'hardware test' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 319 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 320 | branch-pattern: master |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 321 | |
| 322 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 323 | # Per-patchset Pod builds on Tucson pod (master) |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 324 | - 'verify_physical_voltha_patchset_manual': |
| 325 | name: 'verify_physical_voltha_patchset_manual_DT' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 326 | workflow: 'dt' |
| 327 | profile: 'Default' |
| 328 | pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy' |
| 329 | trigger-string: 'DT hardware test' |
| 330 | default-test-args: '-i sanityDt -i PowerSwitch -X' |
| 331 | branch-pattern: master |
| 332 | |
| 333 | # Per-patchset Pod builds on Tucson pod (voltha-2.7) |
| 334 | - 'verify_physical_voltha_patchset_manual': |
| 335 | name: 'verify_physical_voltha_patchset_manual_voltha-2.7' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 336 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Girish Gowdra | b6015cf | 2021-03-18 12:55:20 -0700 | [diff] [blame] | 337 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 338 | profile: 'Default' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 339 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
| 340 | trigger-string: 'hardware test' |
| 341 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
| 342 | branch-pattern: voltha-2.7 |
| 343 | |
| 344 | |
| 345 | # Per-patchset Pod builds on Tucson pod (voltha-2.7) |
| 346 | - 'verify_physical_voltha_patchset_manual': |
| 347 | name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7' |
| 348 | workflow: 'dt' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 349 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 350 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 351 | profile: 'Default' |
| 352 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 353 | trigger-string: 'DT hardware test' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 354 | default-test-args: '-i sanityDt -i PowerSwitch -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 355 | branch-pattern: voltha-2.7 |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 356 | |
| 357 | # Manual build job for Tucson pod |
| 358 | # Allow local testing without disrupting above job |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 359 | - 'build_physical_voltha_manual': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 360 | name: 'build_tucson-pod_manual' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 361 | config-pod: 'tucson-pod' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 362 | manualBranch: 'master' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 363 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Girish Gowdra | b6015cf | 2021-03-18 12:55:20 -0700 | [diff] [blame] | 364 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 365 | profile: 'Default' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 366 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 367 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 368 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 369 | id: 'voltha-periodic-test' |
| 370 | name: '{name}' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 371 | pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 372 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
| 373 | test-runs: 1 |
| 374 | robot-args: '' |
| 375 | gerrit-project: '' |
| 376 | gerritRefspec: '' |
| 377 | work-flow: '' |
| 378 | volthaSystemTestsChange: '' |
| 379 | volthaHelmChartsChange: '' |
| 380 | extraHelmFlags: '' |
| 381 | sandbox: true |
| 382 | olts: 1 |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 383 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 384 | trigger-comment: vv7CBoQQYYonvaN8xcru |
| 385 | time-trigger: 0 0 29 2 * |
| 386 | |
| 387 | description: | |
| 388 | <!-- Managed by Jenkins Job Builder --> |
| 389 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 390 | E2E Validation for Voltha 2.X |
| 391 | |
| 392 | properties: |
| 393 | - cord-infra-properties: |
| 394 | build-days-to-keep: '{big-build-days-to-keep}' |
| 395 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
| 396 | |
| 397 | wrappers: |
| 398 | - lf-infra-wrappers: |
| 399 | build-timeout: '{build-timeout}' |
| 400 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 401 | |
| 402 | parameters: |
| 403 | - string: |
| 404 | name: buildNode |
| 405 | default: '{build-node}' |
| 406 | description: 'Name of the Jenkins node to run the job on' |
| 407 | |
| 408 | - string: |
| 409 | name: extraHelmFlags |
| 410 | default: '--set onu={onus},pon={pons},{extraHelmFlags}' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 411 | description: 'Helm flags (passed to each deployment)' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 412 | |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 413 | # test configuration |
| 414 | # this is a parameter to drive the test execution, VOLTHA is redeployed each time with |
| 415 | # the provided configuration and then the make target is invoked, |
| 416 | # example value (has to be valid YAML): |
| 417 | # testTargets: | |
| 418 | # - target: openonu-go-adapter-test |
| 419 | # workflow: att |
| 420 | # flags: "" |
| 421 | - text: |
| 422 | name: testTargets |
| 423 | default: '{testTargets}' |
| 424 | description: 'Test configuration, see the ci-management job definition for more info' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 425 | |
| 426 | - string: |
| 427 | name: branch |
| 428 | default: '{code-branch}' |
| 429 | description: 'Repo manifest branch for code checkout' |
| 430 | |
| 431 | - string: |
| 432 | name: gerritProject |
| 433 | default: '{gerrit-project}' |
| 434 | description: 'Name of the Gerrit project' |
| 435 | |
| 436 | - string: |
| 437 | name: gerritRefspec |
| 438 | default: '' |
| 439 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
| 440 | |
| 441 | - string: |
| 442 | name: extraRobotArgs |
| 443 | default: '{robot-args}' |
| 444 | description: 'Arguments to pass to robot' |
| 445 | |
| 446 | - string: |
| 447 | name: volthaSystemTestsChange |
| 448 | default: '{volthaSystemTestsChange}' |
| 449 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 450 | |
| 451 | - string: |
| 452 | name: volthaHelmChartsChange |
| 453 | default: '{volthaHelmChartsChange}' |
| 454 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 455 | |
| 456 | - string: |
| 457 | name: olts |
| 458 | default: '{olts}' |
| 459 | description: 'How many BBSim instances to run' |
| 460 | |
| 461 | project-type: pipeline |
| 462 | concurrent: true |
| 463 | |
| 464 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 465 | |
| 466 | triggers: |
| 467 | # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years) |
| 468 | - timed: | |
| 469 | TZ=America/Los_Angeles |
| 470 | {time-trigger} |
| 471 | # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that) |
| 472 | - gerrit: |
| 473 | server-name: '{gerrit-server-name}' |
| 474 | silent-start: false |
| 475 | successful-message: "PASSED openonu-go test" |
| 476 | failure-message: "FAILED openonu-go test" |
| 477 | unstable-message: "UNSTABLE openonu-go test" |
| 478 | trigger-on: |
| 479 | - comment-added-contains-event: |
| 480 | comment-contains-value: '.*{trigger-comment}.*' |
| 481 | projects: |
| 482 | - project-compare-type: REG_EXP |
| 483 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$' |
| 484 | branches: |
| 485 | - branch-compare-type: REG_EXP |
| 486 | branch-pattern: '{all-branches-regexp}' |
| 487 | |
| 488 | - job-template: |
| 489 | id: 'voltha-periodic-test-kind-voltha-based' |
| 490 | name: '{name}' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 491 | pipeline-script: 'voltha-go-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 492 | test-runs: 1 |
| 493 | robot-args: '' |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 494 | gerrit-project: '' |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 495 | work-flow: '' |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 496 | volthaSystemTestsChange: '' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 497 | volthaHelmChartsChange: '' |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 498 | kindVolthaChange: '' |
Andrea Campanella | 6d56218 | 2020-10-06 18:39:30 +0200 | [diff] [blame] | 499 | extraHelmFlags: '' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 500 | sandbox: true |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 501 | olts: 1 |
Matteo Scandolo | b36f089 | 2020-11-23 12:19:48 -0800 | [diff] [blame] | 502 | withAlarms: false |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 503 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 504 | description: | |
| 505 | <!-- Managed by Jenkins Job Builder --> |
| 506 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 507 | E2E Validation for Voltha 2.X |
| 508 | |
| 509 | properties: |
| 510 | - cord-infra-properties: |
Matteo Scandolo | a0e6f3f | 2020-11-12 17:13:20 -0800 | [diff] [blame] | 511 | build-days-to-keep: '{big-build-days-to-keep}' |
| 512 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 513 | |
| 514 | wrappers: |
| 515 | - lf-infra-wrappers: |
| 516 | build-timeout: '{build-timeout}' |
| 517 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 518 | |
| 519 | parameters: |
| 520 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 521 | name: buildNode |
Andy Bavier | 833b78e | 2019-11-22 17:01:31 -0700 | [diff] [blame] | 522 | default: '{build-node}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 523 | description: 'Name of the Jenkins node to run the job on' |
| 524 | |
| 525 | - string: |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 526 | name: extraHelmFlags |
Andrea Campanella | 6d56218 | 2020-10-06 18:39:30 +0200 | [diff] [blame] | 527 | default: '--set onu={onus},pon={pons},{extraHelmFlags}' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 528 | description: 'Helm flags to pass to ./voltha up' |
| 529 | |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 530 | - bool: |
| 531 | name: withAlarms |
Matteo Scandolo | b36f089 | 2020-11-23 12:19:48 -0800 | [diff] [blame] | 532 | default: '{withAlarms}' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 533 | description: "Run alarm based tests when true" |
| 534 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 535 | - string: |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 536 | name: makeTarget |
| 537 | default: '{make-target}' |
| 538 | description: 'Makefile target to invoke during test' |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 539 | |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 540 | - string: |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 541 | name: makeFailtestTarget |
| 542 | default: '{make-target-failtest}' |
| 543 | description: 'Makefile target to invoke during failure/based test' |
| 544 | |
| 545 | - string: |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 546 | name: makeMultiOltTarget |
| 547 | default: '{make-target-multipleolt}' |
| 548 | description: 'Makefile target to invoke during multiple olt test' |
| 549 | |
| 550 | - string: |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 551 | name: makeErrortestTarget |
| 552 | default: '{make-target-errortest}' |
| 553 | description: 'Makefile target to invoke during error test' |
| 554 | |
| 555 | - string: |
| 556 | name: makeAlarmtestTarget |
| 557 | default: '{make-target-alarmtest}' |
| 558 | description: 'Makefile target to invoke during alarm test' |
| 559 | |
| 560 | - string: |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 561 | name: make1t4gemTestTarget |
| 562 | default: '{make-target-1t4gemtest}' |
| 563 | description: 'Makefile target to invoke during 1t4gem test' |
| 564 | |
| 565 | - string: |
| 566 | name: make1t8gemTestTarget |
| 567 | default: '{make-target-1t8gemtest}' |
| 568 | description: 'Makefile target to invoke during 1t8gem test' |
| 569 | |
| 570 | - string: |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 571 | name: makeReconcileTestTarget |
| 572 | default: '{make-target-reconciletest}' |
| 573 | description: 'Makefile target to invoke during reconcile test' |
| 574 | |
| 575 | - string: |
| 576 | name: makeReconcileDtTestTarget |
| 577 | default: '{make-target-reconciledttest}' |
| 578 | description: 'Makefile target to invoke during reconcile dt test' |
| 579 | |
| 580 | - string: |
| 581 | name: makeReconcileTtTestTarget |
| 582 | default: '{make-target-reconciletttest}' |
| 583 | description: 'Makefile target to invoke during reconcile tt test' |
| 584 | |
| 585 | - string: |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 586 | name: manifestUrl |
| 587 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 588 | description: 'Repo manifest URL for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 589 | |
| 590 | - string: |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 591 | name: branch |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 592 | default: '{code-branch}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 593 | description: 'Repo manifest branch for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 594 | |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 595 | - string: |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 596 | name: gerritProject |
| 597 | default: '{gerrit-project}' |
| 598 | description: 'Name of the Gerrit project' |
| 599 | |
| 600 | - string: |
| 601 | name: gerritChangeNumber |
| 602 | default: '' |
| 603 | description: 'Changeset number in Gerrit' |
| 604 | |
| 605 | - string: |
| 606 | name: gerritPatchsetNumber |
| 607 | default: '' |
| 608 | description: 'PatchSet number in Gerrit' |
| 609 | |
| 610 | - string: |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 611 | name: testRuns |
| 612 | default: '{test-runs}' |
| 613 | description: 'How many times to repeat the tests' |
| 614 | |
| 615 | - string: |
| 616 | name: extraRobotArgs |
| 617 | default: '{robot-args}' |
| 618 | description: 'Arguments to pass to robot' |
| 619 | |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 620 | - string: |
| 621 | name: workFlow |
| 622 | default: '{work-flow}' |
| 623 | description: 'Workflow for testcase' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 624 | |
pierventre | f48ebc1 | 2020-07-17 16:01:32 +0200 | [diff] [blame] | 625 | - string: |
| 626 | name: karafHome |
| 627 | default: '{karaf-home}' |
| 628 | description: 'Karaf home' |
| 629 | |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 630 | - string: |
| 631 | name: volthaSystemTestsChange |
| 632 | default: '{volthaSystemTestsChange}' |
| 633 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 634 | |
| 635 | - string: |
| 636 | name: kindVolthaChange |
| 637 | default: '{kindVolthaChange}' |
| 638 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 639 | |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 640 | - string: |
| 641 | name: olts |
| 642 | default: '{olts}' |
| 643 | description: 'How many BBSim instances to run' |
| 644 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 645 | project-type: pipeline |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 646 | concurrent: true |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 647 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 648 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 649 | |
| 650 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 651 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 652 | TZ=America/Los_Angeles |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 653 | {time-trigger} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 654 | |
| 655 | - job-template: |
| 656 | id: 'voltha-patch-test' |
Matteo Scandolo | 84e5f00 | 2020-02-10 11:50:05 -0800 | [diff] [blame] | 657 | name: 'verify_{project}_sanity-test{name-extension}' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 658 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 659 | override-branch: '$GERRIT_BRANCH' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 660 | sandbox: true |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 661 | build-timeout: 20 |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 662 | volthaSystemTestsChange: '' |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 663 | volthaHelmChartsChange: '' |
Matteo Scandolo | cecb084 | 2021-05-04 13:16:47 -0700 | [diff] [blame] | 664 | extraHelmFlags: '' |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 665 | branch-regexp: '{all-branches-regexp}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 666 | |
| 667 | description: | |
| 668 | <!-- Managed by Jenkins Job Builder --> |
| 669 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 670 | E2E Validation for Voltha 2.X |
| 671 | |
| 672 | properties: |
| 673 | - cord-infra-properties: |
| 674 | build-days-to-keep: '{build-days-to-keep}' |
| 675 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 676 | |
| 677 | wrappers: |
| 678 | - lf-infra-wrappers: |
| 679 | build-timeout: '{build-timeout}' |
| 680 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 681 | |
| 682 | parameters: |
| 683 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 684 | name: buildNode |
Andrea Campanella | 4792b7f | 2021-04-23 15:06:42 +0200 | [diff] [blame] | 685 | default: '{build-node}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 686 | description: 'Name of the Jenkins node to run the job on' |
| 687 | |
| 688 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 689 | name: gerritProject |
| 690 | default: '$GERRIT_PROJECT' |
| 691 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 692 | |
| 693 | - string: |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 694 | name: gerritRefspec |
| 695 | default: '$GERRIT_REFSPEC' |
| 696 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 697 | |
| 698 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 699 | name: extraHelmFlags |
Matteo Scandolo | cecb084 | 2021-05-04 13:16:47 -0700 | [diff] [blame] | 700 | default: '{extraHelmFlags}' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 701 | description: 'Helm flags to pass to ./voltha up' |
| 702 | |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 703 | - string: |
| 704 | name: volthaSystemTestsChange |
| 705 | default: '{volthaSystemTestsChange}' |
| 706 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 707 | |
| 708 | - string: |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 709 | name: volthaHelmChartsChange |
| 710 | default: '{volthaHelmChartsChange}' |
| 711 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 712 | |
| 713 | - string: |
| 714 | name: branch |
| 715 | default: '{override-branch}' |
| 716 | description: 'Name of the branch to use' |
| 717 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 718 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 719 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 720 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 721 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 722 | |
| 723 | triggers: |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 724 | - gerrit: |
| 725 | server-name: '{gerrit-server-name}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 726 | dependency-jobs: '{dependency-jobs}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 727 | silent-start: true |
| 728 | trigger-on: |
| 729 | - patchset-created-event: |
| 730 | exclude-drafts: true |
| 731 | exclude-trivial-rebase: false |
| 732 | exclude-no-code-change: true |
| 733 | - draft-published-event |
| 734 | - comment-added-contains-event: |
| 735 | comment-contains-value: '(?i)^.*recheck$' |
| 736 | projects: |
| 737 | - project-compare-type: REG_EXP |
| 738 | project-pattern: '^{project}$' |
| 739 | branches: |
| 740 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 741 | branch-pattern: '{branch-regexp}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 742 | file-paths: |
| 743 | - compare-type: REG_EXP |
| 744 | pattern: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 745 | |
| 746 | # POD Per Patchset Pipeline Jobs |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 747 | # to use these parameters in a job: `<<: *voltha-physical-patchset-parameters` |
| 748 | - voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters |
| 749 | name: voltha-physical-patchset-parameters |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 750 | parameters: |
| 751 | - string: |
| 752 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 753 | default: '{build-node}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 754 | description: 'Pod management node' |
| 755 | |
| 756 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 757 | name: branch |
| 758 | default: '$GERRIT_BRANCH' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 759 | description: 'Name of the repo branch to use' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 760 | |
| 761 | - string: |
| 762 | name: gerritProject |
| 763 | default: '$GERRIT_PROJECT' |
| 764 | description: 'Name of the Gerrit project' |
| 765 | |
| 766 | - string: |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 767 | name: gerritRefspec |
| 768 | default: '$GERRIT_REFSPEC' |
| 769 | description: 'RefSpec number in Gerrit' |
| 770 | |
| 771 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 772 | name: gerritComment |
| 773 | default: '$GERRIT_EVENT_COMMENT_TEXT' |
| 774 | description: 'RefSpec number in Gerrit' |
| 775 | |
| 776 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 777 | name: cordRepoUrl |
| 778 | default: '{gerrit-server-url}' |
| 779 | description: 'The URL of the CORD Project repository' |
| 780 | |
| 781 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 782 | name: configBaseDir |
| 783 | default: 'pod-configs' |
| 784 | description: 'The directory inside the POD configs repository' |
| 785 | |
| 786 | - string: |
| 787 | name: configDeploymentDir |
| 788 | default: 'deployment-configs' |
| 789 | description: 'The deployment configs folder' |
| 790 | |
| 791 | - string: |
| 792 | name: configKubernetesDir |
| 793 | default: 'kubernetes-configs' |
| 794 | description: 'The kubernetes config folder' |
| 795 | |
| 796 | - string: |
| 797 | name: configFileName |
| 798 | default: '{config-pod}' |
| 799 | description: 'The config file' |
| 800 | |
| 801 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 802 | name: podName |
| 803 | default: '{config-pod}' |
| 804 | |
| 805 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 806 | name: sadisConfigFile |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 807 | default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 808 | description: 'Path of SADIS config to load' |
| 809 | |
| 810 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 811 | name: oltDebVersionMaster |
| 812 | default: '{oltDebVersionMaster}' |
| 813 | description: 'OLT Software version to install for master branch builds' |
| 814 | |
| 815 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 816 | name: oltDebVersionVoltha23 |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 817 | default: '{oltDebVersionVoltha23}' |
| 818 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 819 | |
| 820 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 821 | name: profile |
| 822 | default: '{profile}' |
| 823 | description: 'Technology Profile pushed to the ETCD' |
| 824 | |
| 825 | - string: |
| 826 | name: notificationEmail |
| 827 | default: 'andy@opennetworking.org' |
| 828 | description: '' |
| 829 | |
| 830 | - bool: |
| 831 | name: reinstallOlt |
| 832 | default: true |
| 833 | description: "Re-install OLT software" |
| 834 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 835 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 836 | name: extraRobotArgs |
| 837 | default: '{default-test-args}' |
| 838 | description: 'Arguments to pass to robot' |
| 839 | |
| 840 | - string: |
| 841 | name: volthaSystemTestsChange |
| 842 | default: '{volthaSystemTestsChange}' |
| 843 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 844 | |
| 845 | - string: |
| 846 | name: volthaHelmChartsChange |
| 847 | default: '{volthaHelmChartsChange}' |
| 848 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 849 | |
| 850 | - string: |
| 851 | name: workflow |
| 852 | default: '{workflow}' |
| 853 | description: 'Installs and uses the specified work flow on the POD' |
| 854 | |
| 855 | # deprecated parameters, remove after VOLTHA-2.8 is released |
| 856 | - string: |
| 857 | name: deploymentConfigFile |
| 858 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 859 | description: 'Path of deployment config file' |
| 860 | |
| 861 | - string: |
| 862 | name: kindVolthaValuesFile |
| 863 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 864 | description: 'Path of kind-voltha values override file' |
| 865 | |
| 866 | - string: |
| 867 | name: manifestUrl |
| 868 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 869 | description: 'URL to the repo manifest' |
| 870 | |
| 871 | - string: |
| 872 | name: gerritChangeNumber |
| 873 | default: '$GERRIT_CHANGE_NUMBER' |
| 874 | description: 'Changeset number in Gerrit' |
| 875 | |
| 876 | - string: |
| 877 | name: gerritPatchsetNumber |
| 878 | default: '$GERRIT_PATCHSET_NUMBER' |
| 879 | description: 'PatchSet number in Gerrit' |
| 880 | |
| 881 | - string: |
| 882 | name: localConfigDir |
| 883 | default: null |
| 884 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 885 | |
| 886 | - string: |
| 887 | name: configRepo |
| 888 | default: 'pod-configs' |
| 889 | description: 'A repository containing the config files, will be checked out if specified' |
| 890 | |
| 891 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 892 | name: manualBranch |
| 893 | default: '{manualBranch}' |
| 894 | description: "If a non-empty string, build manually as a specific branch, not with a specific patchset" |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 895 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 896 | - job-template: |
| 897 | name: '{name}' |
| 898 | id: verify_physical_voltha_patchset_auto |
| 899 | description: | |
| 900 | <!-- Managed by Jenkins Job Builder --> |
| 901 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 902 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 903 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 904 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 905 | sandbox: true |
| 906 | pipeline-script: 'voltha/master/tucson-build-and-test.groovy' |
| 907 | default-test-args: '-i sanityORDeleteOLT -X' |
| 908 | branch-pattern: '{all-branches-regexp}' |
| 909 | build-node: 'tucson-pod' |
| 910 | config-pod: 'tucson-pod' |
| 911 | workflow: 'att' |
| 912 | profile: 'Default' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 913 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 914 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 915 | volthaSystemTestsChange: '' |
| 916 | volthaHelmChartsChange: '' |
| 917 | |
| 918 | properties: |
| 919 | - cord-infra-properties: |
| 920 | build-days-to-keep: '{build-days-to-keep}' |
| 921 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 922 | |
| 923 | <<: *voltha-physical-patchset-parameters |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 924 | |
| 925 | project-type: pipeline |
| 926 | concurrent: true |
| 927 | |
| 928 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 929 | |
| 930 | triggers: |
| 931 | - gerrit: |
| 932 | server-name: '{gerrit-server-name}' |
| 933 | dependency-jobs: '{dependency-jobs}' |
| 934 | silent-start: false |
| 935 | successful-message: "PASSED hardware test" |
| 936 | failure-message: "FAILED hardware test" |
| 937 | unstable-message: "UNSTABLE hardware test" |
| 938 | trigger-on: |
| 939 | - comment-added-event: |
| 940 | approval-category: 'Code-Review' |
| 941 | approval-value: '+2' |
| 942 | projects: |
| 943 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 944 | project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-go)$' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 945 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 946 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 5b998a2 | 2021-04-22 09:42:40 -0700 | [diff] [blame] | 947 | branch-pattern: '{branch-pattern}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 948 | |
| 949 | |
| 950 | - job-template: |
| 951 | name: '{name}' |
| 952 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 953 | description: | |
| 954 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 955 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 956 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 957 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 958 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 959 | sandbox: true |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 960 | build-node: 'tucson-pod' |
| 961 | config-pod: 'tucson-pod' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 962 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 963 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 964 | pipeline-script: 'voltha/master/tucson-build-and-test.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 965 | trigger-string: 'hardware test' |
| 966 | default-test-args: '-i sanityORDeleteOLT -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 967 | branch-pattern: '{all-branches-regexp}' |
| 968 | volthaSystemTestsChange: '' |
| 969 | volthaHelmChartsChange: '' |
| 970 | workflow: 'att' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 971 | |
| 972 | properties: |
| 973 | - cord-infra-properties: |
| 974 | build-days-to-keep: '{build-days-to-keep}' |
| 975 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 976 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 977 | <<: *voltha-physical-patchset-parameters |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 978 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 979 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 980 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 981 | concurrent: true |
| 982 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 983 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 984 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 985 | triggers: |
| 986 | - gerrit: |
| 987 | server-name: '{gerrit-server-name}' |
| 988 | dependency-jobs: '{dependency-jobs}' |
| 989 | silent-start: false |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 990 | successful-message: "PASSED {trigger-string}" |
| 991 | failure-message: "FAILED {trigger-string}" |
| 992 | unstable-message: "UNSTABLE {trigger-string}" |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 993 | trigger-on: |
| 994 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 995 | comment-contains-value: '^{trigger-string}$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 996 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 997 | comment-contains-value: '^{trigger-string} with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 998 | projects: |
| 999 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 1000 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-openonu-adapter-go|voltha-api-server|voltha-system-tests|ofagent-py|ofagent-go|voltha-onos|kind-voltha|voltha-helm-charts)$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1001 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 1002 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1003 | branch-pattern: '{branch-pattern}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1004 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1005 | |
| 1006 | - job-template: |
| 1007 | name: '{name}' |
| 1008 | id: build_physical_voltha_manual |
| 1009 | description: | |
| 1010 | <!-- Managed by Jenkins Job Builder --> |
| 1011 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 1012 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 1013 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 1014 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1015 | sandbox: true |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1016 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1017 | |
| 1018 | properties: |
| 1019 | - cord-infra-properties: |
| 1020 | build-days-to-keep: '{build-days-to-keep}' |
| 1021 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1022 | |
| 1023 | parameters: |
| 1024 | - string: |
| 1025 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 1026 | default: '{build-node}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1027 | description: 'Pod management node' |
| 1028 | |
| 1029 | - string: |
| 1030 | name: manifestUrl |
| 1031 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 1032 | description: 'URL to the repo manifest' |
| 1033 | |
| 1034 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1035 | name: branch |
| 1036 | default: "$GERRIT_BRANCH" |
| 1037 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1038 | |
| 1039 | - string: |
| 1040 | name: gerritProject |
| 1041 | default: '$GERRIT_PROJECT' |
| 1042 | description: 'Name of the Gerrit project' |
| 1043 | |
| 1044 | - string: |
| 1045 | name: gerritChangeNumber |
| 1046 | default: '$GERRIT_CHANGE_NUMBER' |
| 1047 | description: 'Changeset number in Gerrit' |
| 1048 | |
| 1049 | - string: |
| 1050 | name: gerritPatchsetNumber |
| 1051 | default: '$GERRIT_PATCHSET_NUMBER' |
| 1052 | description: 'PatchSet number in Gerrit' |
| 1053 | |
| 1054 | - string: |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 1055 | name: gerritRefspec |
| 1056 | default: '$GERRIT_REFSPEC' |
| 1057 | description: 'RefSpec number in Gerrit' |
| 1058 | |
| 1059 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1060 | name: cordRepoUrl |
| 1061 | default: '{gerrit-server-url}' |
| 1062 | description: 'The URL of the CORD Project repository' |
| 1063 | |
| 1064 | - string: |
| 1065 | name: podName |
| 1066 | default: '{config-pod}' |
| 1067 | |
| 1068 | - string: |
| 1069 | name: deploymentConfigFile |
| 1070 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 1071 | description: 'Path of deployment config file' |
| 1072 | |
| 1073 | - string: |
| 1074 | name: kindVolthaValuesFile |
| 1075 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 1076 | description: 'Path of kind-voltha values override file' |
| 1077 | |
| 1078 | - string: |
| 1079 | name: sadisConfigFile |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 1080 | default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1081 | description: 'Path of SADIS config to load' |
| 1082 | |
| 1083 | - string: |
| 1084 | name: localConfigDir |
| 1085 | default: null |
| 1086 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 1087 | |
| 1088 | - string: |
| 1089 | name: configRepo |
| 1090 | default: 'pod-configs' |
| 1091 | description: 'A repository containing the config files, will be checked out if specified' |
| 1092 | |
| 1093 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 1094 | name: oltDebVersionMaster |
| 1095 | default: '{oltDebVersionMaster}' |
| 1096 | description: 'OLT Software version to install for master branch builds' |
| 1097 | |
| 1098 | - string: |
| 1099 | name: oltDebVersionVoltha23 |
| 1100 | default: '{oltDebVersionVoltha23}' |
| 1101 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1102 | |
| 1103 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1104 | name: profile |
| 1105 | default: '{profile}' |
| 1106 | description: 'Technology Profile pushed to the ETCD' |
| 1107 | |
| 1108 | - string: |
| 1109 | name: notificationEmail |
| 1110 | default: 'andy@opennetworking.org' |
| 1111 | description: '' |
| 1112 | |
| 1113 | - bool: |
| 1114 | name: reinstallOlt |
| 1115 | default: false |
| 1116 | description: "Re-install OLT software" |
| 1117 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1118 | - string: |
| 1119 | name: manualBranch |
| 1120 | default: '{manualBranch}' |
| 1121 | description: "If a non-empty string, build manually on a specific branch, not with a specific patchset" |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1122 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1123 | - string: |
| 1124 | name: extraRobotArgs |
Andy Bavier | d2b25fe | 2020-06-09 07:22:00 -0700 | [diff] [blame] | 1125 | default: '-e bbsim -X' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1126 | description: 'Arguments to pass to robot' |
| 1127 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1128 | project-type: pipeline |
| 1129 | concurrent: true |
| 1130 | |
| 1131 | dsl: !include-raw-escape: pipeline/{pipeline-script} |