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