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 | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 641 | kindVolthaChange: '' |
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 |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 677 | default: '' |
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 | |
| 695 | # deprecated params (not used in master, remove after 2.6 support is dropped) |
| 696 | - string: |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 697 | name: kindVolthaChange |
| 698 | default: '{kindVolthaChange}' |
| 699 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 700 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 701 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 702 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 703 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 704 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 705 | |
| 706 | triggers: |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 707 | - gerrit: |
| 708 | server-name: '{gerrit-server-name}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 709 | dependency-jobs: '{dependency-jobs}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 710 | silent-start: true |
| 711 | trigger-on: |
| 712 | - patchset-created-event: |
| 713 | exclude-drafts: true |
| 714 | exclude-trivial-rebase: false |
| 715 | exclude-no-code-change: true |
| 716 | - draft-published-event |
| 717 | - comment-added-contains-event: |
| 718 | comment-contains-value: '(?i)^.*recheck$' |
| 719 | projects: |
| 720 | - project-compare-type: REG_EXP |
| 721 | project-pattern: '^{project}$' |
| 722 | branches: |
| 723 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 724 | branch-pattern: '{branch-regexp}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 725 | file-paths: |
| 726 | - compare-type: REG_EXP |
| 727 | pattern: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 728 | |
| 729 | # POD Per Patchset Pipeline Jobs |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 730 | # to use these parameters in a job: `<<: *voltha-physical-patchset-parameters` |
| 731 | - voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters |
| 732 | name: voltha-physical-patchset-parameters |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 733 | parameters: |
| 734 | - string: |
| 735 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 736 | default: '{build-node}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 737 | description: 'Pod management node' |
| 738 | |
| 739 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 740 | name: branch |
| 741 | default: '$GERRIT_BRANCH' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 742 | description: 'Name of the repo branch to use' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 743 | |
| 744 | - string: |
| 745 | name: gerritProject |
| 746 | default: '$GERRIT_PROJECT' |
| 747 | description: 'Name of the Gerrit project' |
| 748 | |
| 749 | - string: |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 750 | name: gerritRefspec |
| 751 | default: '$GERRIT_REFSPEC' |
| 752 | description: 'RefSpec number in Gerrit' |
| 753 | |
| 754 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 755 | name: gerritComment |
| 756 | default: '$GERRIT_EVENT_COMMENT_TEXT' |
| 757 | description: 'RefSpec number in Gerrit' |
| 758 | |
| 759 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 760 | name: cordRepoUrl |
| 761 | default: '{gerrit-server-url}' |
| 762 | description: 'The URL of the CORD Project repository' |
| 763 | |
| 764 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 765 | name: configBaseDir |
| 766 | default: 'pod-configs' |
| 767 | description: 'The directory inside the POD configs repository' |
| 768 | |
| 769 | - string: |
| 770 | name: configDeploymentDir |
| 771 | default: 'deployment-configs' |
| 772 | description: 'The deployment configs folder' |
| 773 | |
| 774 | - string: |
| 775 | name: configKubernetesDir |
| 776 | default: 'kubernetes-configs' |
| 777 | description: 'The kubernetes config folder' |
| 778 | |
| 779 | - string: |
| 780 | name: configFileName |
| 781 | default: '{config-pod}' |
| 782 | description: 'The config file' |
| 783 | |
| 784 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 785 | name: podName |
| 786 | default: '{config-pod}' |
| 787 | |
| 788 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 789 | name: sadisConfigFile |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 790 | default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 791 | description: 'Path of SADIS config to load' |
| 792 | |
| 793 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 794 | name: oltDebVersionMaster |
| 795 | default: '{oltDebVersionMaster}' |
| 796 | description: 'OLT Software version to install for master branch builds' |
| 797 | |
| 798 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 799 | name: oltDebVersionVoltha23 |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 800 | default: '{oltDebVersionVoltha23}' |
| 801 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 802 | |
| 803 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 804 | name: profile |
| 805 | default: '{profile}' |
| 806 | description: 'Technology Profile pushed to the ETCD' |
| 807 | |
| 808 | - string: |
| 809 | name: notificationEmail |
| 810 | default: 'andy@opennetworking.org' |
| 811 | description: '' |
| 812 | |
| 813 | - bool: |
| 814 | name: reinstallOlt |
| 815 | default: true |
| 816 | description: "Re-install OLT software" |
| 817 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 818 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 819 | name: extraRobotArgs |
| 820 | default: '{default-test-args}' |
| 821 | description: 'Arguments to pass to robot' |
| 822 | |
| 823 | - string: |
| 824 | name: volthaSystemTestsChange |
| 825 | default: '{volthaSystemTestsChange}' |
| 826 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 827 | |
| 828 | - string: |
| 829 | name: volthaHelmChartsChange |
| 830 | default: '{volthaHelmChartsChange}' |
| 831 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 832 | |
| 833 | - string: |
| 834 | name: workflow |
| 835 | default: '{workflow}' |
| 836 | description: 'Installs and uses the specified work flow on the POD' |
| 837 | |
| 838 | # deprecated parameters, remove after VOLTHA-2.8 is released |
| 839 | - string: |
| 840 | name: deploymentConfigFile |
| 841 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 842 | description: 'Path of deployment config file' |
| 843 | |
| 844 | - string: |
| 845 | name: kindVolthaValuesFile |
| 846 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 847 | description: 'Path of kind-voltha values override file' |
| 848 | |
| 849 | - string: |
| 850 | name: manifestUrl |
| 851 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 852 | description: 'URL to the repo manifest' |
| 853 | |
| 854 | - string: |
| 855 | name: gerritChangeNumber |
| 856 | default: '$GERRIT_CHANGE_NUMBER' |
| 857 | description: 'Changeset number in Gerrit' |
| 858 | |
| 859 | - string: |
| 860 | name: gerritPatchsetNumber |
| 861 | default: '$GERRIT_PATCHSET_NUMBER' |
| 862 | description: 'PatchSet number in Gerrit' |
| 863 | |
| 864 | - string: |
| 865 | name: localConfigDir |
| 866 | default: null |
| 867 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 868 | |
| 869 | - string: |
| 870 | name: configRepo |
| 871 | default: 'pod-configs' |
| 872 | description: 'A repository containing the config files, will be checked out if specified' |
| 873 | |
| 874 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 875 | name: manualBranch |
| 876 | default: '{manualBranch}' |
| 877 | 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] | 878 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 879 | - job-template: |
| 880 | name: '{name}' |
| 881 | id: verify_physical_voltha_patchset_auto |
| 882 | description: | |
| 883 | <!-- Managed by Jenkins Job Builder --> |
| 884 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 885 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 886 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 887 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 888 | sandbox: true |
| 889 | pipeline-script: 'voltha/master/tucson-build-and-test.groovy' |
| 890 | default-test-args: '-i sanityORDeleteOLT -X' |
| 891 | branch-pattern: '{all-branches-regexp}' |
| 892 | build-node: 'tucson-pod' |
| 893 | config-pod: 'tucson-pod' |
| 894 | workflow: 'att' |
| 895 | profile: 'Default' |
| 896 | oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 897 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 898 | volthaSystemTestsChange: '' |
| 899 | volthaHelmChartsChange: '' |
| 900 | |
| 901 | properties: |
| 902 | - cord-infra-properties: |
| 903 | build-days-to-keep: '{build-days-to-keep}' |
| 904 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 905 | |
| 906 | <<: *voltha-physical-patchset-parameters |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 907 | |
| 908 | project-type: pipeline |
| 909 | concurrent: true |
| 910 | |
| 911 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 912 | |
| 913 | triggers: |
| 914 | - gerrit: |
| 915 | server-name: '{gerrit-server-name}' |
| 916 | dependency-jobs: '{dependency-jobs}' |
| 917 | silent-start: false |
| 918 | successful-message: "PASSED hardware test" |
| 919 | failure-message: "FAILED hardware test" |
| 920 | unstable-message: "UNSTABLE hardware test" |
| 921 | trigger-on: |
| 922 | - comment-added-event: |
| 923 | approval-category: 'Code-Review' |
| 924 | approval-value: '+2' |
| 925 | projects: |
| 926 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 927 | 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] | 928 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 929 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 5b998a2 | 2021-04-22 09:42:40 -0700 | [diff] [blame] | 930 | branch-pattern: '{branch-pattern}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 931 | |
| 932 | |
| 933 | - job-template: |
| 934 | name: '{name}' |
| 935 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 936 | description: | |
| 937 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 938 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 939 | 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] | 940 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 941 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 942 | sandbox: true |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 943 | build-node: 'tucson-pod' |
| 944 | config-pod: 'tucson-pod' |
| 945 | oltDebVersionMaster: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 946 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 947 | pipeline-script: 'voltha/master/tucson-build-and-test.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 948 | trigger-string: 'hardware test' |
| 949 | default-test-args: '-i sanityORDeleteOLT -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 950 | branch-pattern: '{all-branches-regexp}' |
| 951 | volthaSystemTestsChange: '' |
| 952 | volthaHelmChartsChange: '' |
| 953 | workflow: 'att' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 954 | |
| 955 | properties: |
| 956 | - cord-infra-properties: |
| 957 | build-days-to-keep: '{build-days-to-keep}' |
| 958 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 959 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 960 | <<: *voltha-physical-patchset-parameters |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 961 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 962 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 963 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 964 | concurrent: true |
| 965 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 966 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 967 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 968 | triggers: |
| 969 | - gerrit: |
| 970 | server-name: '{gerrit-server-name}' |
| 971 | dependency-jobs: '{dependency-jobs}' |
| 972 | silent-start: false |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 973 | successful-message: "PASSED {trigger-string}" |
| 974 | failure-message: "FAILED {trigger-string}" |
| 975 | unstable-message: "UNSTABLE {trigger-string}" |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 976 | trigger-on: |
| 977 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 978 | comment-contains-value: '^{trigger-string}$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 979 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 980 | comment-contains-value: '^{trigger-string} with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 981 | projects: |
| 982 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 983 | 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] | 984 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 985 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 986 | branch-pattern: '{branch-pattern}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 987 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 988 | |
| 989 | - job-template: |
| 990 | name: '{name}' |
| 991 | id: build_physical_voltha_manual |
| 992 | description: | |
| 993 | <!-- Managed by Jenkins Job Builder --> |
| 994 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 995 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 996 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 997 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 998 | sandbox: true |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 999 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1000 | |
| 1001 | properties: |
| 1002 | - cord-infra-properties: |
| 1003 | build-days-to-keep: '{build-days-to-keep}' |
| 1004 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1005 | |
| 1006 | parameters: |
| 1007 | - string: |
| 1008 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 1009 | default: '{build-node}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1010 | description: 'Pod management node' |
| 1011 | |
| 1012 | - string: |
| 1013 | name: manifestUrl |
| 1014 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 1015 | description: 'URL to the repo manifest' |
| 1016 | |
| 1017 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1018 | name: branch |
| 1019 | default: "$GERRIT_BRANCH" |
| 1020 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1021 | |
| 1022 | - string: |
| 1023 | name: gerritProject |
| 1024 | default: '$GERRIT_PROJECT' |
| 1025 | description: 'Name of the Gerrit project' |
| 1026 | |
| 1027 | - string: |
| 1028 | name: gerritChangeNumber |
| 1029 | default: '$GERRIT_CHANGE_NUMBER' |
| 1030 | description: 'Changeset number in Gerrit' |
| 1031 | |
| 1032 | - string: |
| 1033 | name: gerritPatchsetNumber |
| 1034 | default: '$GERRIT_PATCHSET_NUMBER' |
| 1035 | description: 'PatchSet number in Gerrit' |
| 1036 | |
| 1037 | - string: |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 1038 | name: gerritRefspec |
| 1039 | default: '$GERRIT_REFSPEC' |
| 1040 | description: 'RefSpec number in Gerrit' |
| 1041 | |
| 1042 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1043 | name: cordRepoUrl |
| 1044 | default: '{gerrit-server-url}' |
| 1045 | description: 'The URL of the CORD Project repository' |
| 1046 | |
| 1047 | - string: |
| 1048 | name: podName |
| 1049 | default: '{config-pod}' |
| 1050 | |
| 1051 | - string: |
| 1052 | name: deploymentConfigFile |
| 1053 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 1054 | description: 'Path of deployment config file' |
| 1055 | |
| 1056 | - string: |
| 1057 | name: kindVolthaValuesFile |
| 1058 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 1059 | description: 'Path of kind-voltha values override file' |
| 1060 | |
| 1061 | - string: |
| 1062 | name: sadisConfigFile |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 1063 | default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1064 | description: 'Path of SADIS config to load' |
| 1065 | |
| 1066 | - string: |
| 1067 | name: localConfigDir |
| 1068 | default: null |
| 1069 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 1070 | |
| 1071 | - string: |
| 1072 | name: configRepo |
| 1073 | default: 'pod-configs' |
| 1074 | description: 'A repository containing the config files, will be checked out if specified' |
| 1075 | |
| 1076 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 1077 | name: oltDebVersionMaster |
| 1078 | default: '{oltDebVersionMaster}' |
| 1079 | description: 'OLT Software version to install for master branch builds' |
| 1080 | |
| 1081 | - string: |
| 1082 | name: oltDebVersionVoltha23 |
| 1083 | default: '{oltDebVersionVoltha23}' |
| 1084 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1085 | |
| 1086 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1087 | name: profile |
| 1088 | default: '{profile}' |
| 1089 | description: 'Technology Profile pushed to the ETCD' |
| 1090 | |
| 1091 | - string: |
| 1092 | name: notificationEmail |
| 1093 | default: 'andy@opennetworking.org' |
| 1094 | description: '' |
| 1095 | |
| 1096 | - bool: |
| 1097 | name: reinstallOlt |
| 1098 | default: false |
| 1099 | description: "Re-install OLT software" |
| 1100 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1101 | - string: |
| 1102 | name: manualBranch |
| 1103 | default: '{manualBranch}' |
| 1104 | 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] | 1105 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1106 | - string: |
| 1107 | name: extraRobotArgs |
Andy Bavier | d2b25fe | 2020-06-09 07:22:00 -0700 | [diff] [blame] | 1108 | default: '-e bbsim -X' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1109 | description: 'Arguments to pass to robot' |
| 1110 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1111 | project-type: pipeline |
| 1112 | concurrent: true |
| 1113 | |
| 1114 | dsl: !include-raw-escape: pipeline/{pipeline-script} |