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