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 |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 17 | |
| 18 | jobs: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 19 | - 'voltha-periodic-test': |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 20 | name: 'periodic-voltha-test-bbsim' |
| 21 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 22 | build-node: 'qct-pod4-node2' |
Andy Bavier | d4ba337 | 2020-01-21 17:01:53 -0700 | [diff] [blame] | 23 | make-target: functional-single-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 24 | make-target-failtest: bbsim-failurescenarios |
| 25 | make-target-errortest: bbsim-errorscenarios |
| 26 | make-target-alarmtest: bbsim-alarms-kind |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 27 | make-target-multipleolt: bbsim-multiolt-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 28 | withAlarms: true |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 29 | code-branch: 'master' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 30 | olts: 1 |
| 31 | onus: 2 |
| 32 | pons: 2 |
| 33 | time-trigger: "H H/12 * * *" |
| 34 | |
| 35 | - 'voltha-periodic-test': |
| 36 | name: 'periodic-voltha-multiple-olts-test-bbsim' |
| 37 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
| 38 | build-node: 'qct-pod4-node2' |
Suchitra Vemuri | e50560a | 2020-11-18 14:14:09 -0800 | [diff] [blame] | 39 | make-target: functional-multi-olt |
| 40 | make-target-failtest: bbsim-multiolt-failurescenarios |
| 41 | make-target-errortest: bbsim-multiolt-errorscenarios |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 42 | make-target-alarmtest: bbsim-alarms-kind |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 43 | make-target-multipleolt: bbsim-multiolt-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 44 | withAlarms: false |
| 45 | code-branch: 'master' |
| 46 | olts: 2 |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 47 | onus: 2 |
| 48 | pons: 2 |
Andy Bavier | d4ba337 | 2020-01-21 17:01:53 -0700 | [diff] [blame] | 49 | time-trigger: "H H/12 * * *" |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 50 | |
| 51 | - 'voltha-periodic-test': |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 52 | name: 'periodic-voltha-2.6-multiple-olts-test-bbsim' |
| 53 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
| 54 | build-node: 'qct-pod4-node2' |
| 55 | make-target: functional-multi-olt |
| 56 | make-target-failtest: bbsim-multiolt-failurescenarios |
| 57 | make-target-errortest: bbsim-multiolt-errorscenarios |
| 58 | make-target-alarmtest: bbsim-alarms-kind |
| 59 | make-target-multipleolt: bbsim-multiolt-kind |
| 60 | withAlarms: false |
| 61 | code-branch: 'voltha-2.6' |
| 62 | olts: 2 |
| 63 | onus: 2 |
| 64 | pons: 2 |
| 65 | time-trigger: "H H/12 * * *" |
| 66 | |
| 67 | - 'voltha-periodic-test': |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 68 | name: 'periodic-voltha-test-DMI' |
| 69 | pipeline-script: 'voltha-DMI-bbsim-tests.groovy' |
| 70 | build-node: 'qct-pod4-node2' |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 71 | make-target: bbsim-dmi-hw-management-test |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 72 | withAlarms: false |
| 73 | code-branch: 'master' |
| 74 | time-trigger: "H H/12 * * *" |
| 75 | |
| 76 | - 'voltha-periodic-test': |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 77 | name: 'periodic-voltha-test-DMI-2.6' |
| 78 | pipeline-script: 'voltha-DMI-bbsim-tests.groovy' |
| 79 | build-node: 'qct-pod4-node2' |
| 80 | make-target: bbsim-dmi-hw-management-test |
| 81 | withAlarms: false |
| 82 | code-branch: 'voltha-2.6' |
| 83 | time-trigger: "H H/12 * * *" |
| 84 | |
| 85 | - 'voltha-periodic-test': |
Suchitra Vemuri | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 86 | name: 'periodic-voltha-test-bbsim-2.6' |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 87 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 88 | build-node: 'qct-pod4-node2' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 89 | make-target: functional-single-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 90 | make-target-failtest: bbsim-failurescenarios |
| 91 | make-target-errortest: bbsim-errorscenarios |
| 92 | make-target-alarmtest: bbsim-alarms-kind |
| 93 | withAlarms: true |
Suchitra Vemuri | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 94 | code-branch: 'voltha-2.6' |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 95 | onus: 2 |
| 96 | pons: 2 |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 97 | time-trigger: "H H/12 * * *" |
| 98 | |
| 99 | - 'voltha-periodic-test': |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 100 | name: 'periodic-voltha-etcd-test' |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 101 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
hwchiu | c7d5d03 | 2019-12-03 16:42:47 -0800 | [diff] [blame] | 102 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
hwchiu | c9189b7 | 2019-12-02 15:12:29 -0800 | [diff] [blame] | 103 | code-branch: 'master' |
hwchiu | 593a95a | 2020-01-30 10:09:39 -0800 | [diff] [blame] | 104 | make-target: sanity-multi-kind |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 105 | onus: 2 |
| 106 | pons: 2 |
| 107 | time-trigger: "H H/12 * * *" |
| 108 | |
| 109 | - 'voltha-periodic-test': |
Suchitra Vemuri | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 110 | name: 'periodic-voltha-etcd-test-2.6' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 111 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
| 112 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
Suchitra Vemuri | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 113 | code-branch: 'voltha-2.6' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 114 | make-target: sanity-multi-kind |
| 115 | onus: 2 |
| 116 | pons: 2 |
| 117 | time-trigger: "H H/12 * * *" |
| 118 | |
| 119 | |
| 120 | - 'voltha-periodic-test': |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 121 | name: 'periodic-voltha-sanity-test-multi-runs' |
Andy Bavier | 0088c21 | 2020-01-08 13:44:03 -0700 | [diff] [blame] | 122 | pipeline-script: 'voltha-go-multi-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 123 | build-node: 'qct-pod4-node2' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 124 | code-branch: 'master' |
Andy Bavier | eea37da | 2020-01-17 17:11:32 -0700 | [diff] [blame] | 125 | make-target: sanity-kind |
Andy Bavier | 93e125e | 2020-01-17 15:23:50 -0700 | [diff] [blame] | 126 | onus: 1 |
| 127 | pons: 1 |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 128 | test-runs: 5 |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 129 | time-trigger: "H H/12 * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 130 | |
| 131 | - 'voltha-periodic-test': |
Suchitra Vemuri | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 132 | name: 'periodic-voltha-sanity-test-multi-runs-2.6' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 133 | pipeline-script: 'voltha-go-multi-tests.groovy' |
| 134 | build-node: 'qct-pod4-node2' |
Suchitra Vemuri | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 135 | code-branch: 'voltha-2.6' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 136 | make-target: sanity-kind |
| 137 | onus: 1 |
| 138 | pons: 1 |
| 139 | test-runs: 5 |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 140 | time-trigger: "H H/12 * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 141 | |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 142 | - 'voltha-periodic-test': |
| 143 | name: 'nightly-voltha-DTflow-sanity-test' |
| 144 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
| 145 | code-branch: 'master' |
| 146 | make-target: sanity-kind-dt |
| 147 | onus: 1 |
| 148 | pons: 1 |
| 149 | time-trigger: "@daily" |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 150 | work-flow: DT |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 151 | |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 152 | # Per-patchset Pod builds on Tucson pod |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 153 | - 'verify_physical_voltha_patchset_auto': |
| 154 | name: 'verify_physical_voltha_patchset_auto' |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 155 | build-node: 'tucson-pod' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 156 | config-pod: 'tucson-pod' |
Girish Gowdra | 3a3d5f8 | 2020-12-01 16:18:43 -0800 | [diff] [blame] | 157 | oltDebVersionMaster: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 158 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 159 | profile: 'Default' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 160 | |
| 161 | # Per-patchset Pod builds on Tucson pod |
| 162 | - 'verify_physical_voltha_patchset_manual': |
| 163 | name: 'verify_physical_voltha_patchset_manual' |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 164 | build-node: 'tucson-pod' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 165 | config-pod: 'tucson-pod' |
Girish Gowdra | 3a3d5f8 | 2020-12-01 16:18:43 -0800 | [diff] [blame] | 166 | oltDebVersionMaster: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 167 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 168 | profile: 'Default' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 169 | trigger-string: 'hardware test' |
| 170 | default-test-args: '-i sanityORDeleteOLT -X' |
| 171 | |
| 172 | |
| 173 | # Per-patchset Pod builds on Tucson pod |
| 174 | - 'verify_physical_voltha_patchset_manual': |
| 175 | name: 'verify_physical_voltha_patchset_manual_DT' |
| 176 | build-node: 'tucson-pod' |
| 177 | config-pod: 'tucson-pod-DT' |
Girish Gowdra | 3a3d5f8 | 2020-12-01 16:18:43 -0800 | [diff] [blame] | 178 | oltDebVersionMaster: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 179 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 180 | profile: 'Default' |
| 181 | pipeline-script: 'voltha-dt-physical-build-and-tests.groovy' |
| 182 | trigger-string: 'DT hardware test' |
| 183 | default-test-args: '-i sanityDt -X' |
| 184 | |
| 185 | |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 186 | |
| 187 | # Manual build job for Tucson pod |
| 188 | # Allow local testing without disrupting above job |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 189 | - 'build_physical_voltha_manual': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 190 | name: 'build_tucson-pod_manual' |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 191 | build-node: 'tucson-pod' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 192 | config-pod: 'tucson-pod' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 193 | manualBranch: 'master' |
Girish Gowdra | 3a3d5f8 | 2020-12-01 16:18:43 -0800 | [diff] [blame] | 194 | oltDebVersionMaster: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 195 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-40G-NNI.deb' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 196 | profile: 'Default' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 197 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 198 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 199 | id: 'voltha-periodic-test' |
| 200 | name: '{name}' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 201 | pipeline-script: 'voltha-go-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 202 | test-runs: 1 |
| 203 | robot-args: '' |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 204 | gerrit-project: '' |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 205 | work-flow: '' |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 206 | volthaSystemTestsChange: '' |
| 207 | kindVolthaChange: '' |
Andrea Campanella | 6d56218 | 2020-10-06 18:39:30 +0200 | [diff] [blame] | 208 | extraHelmFlags: '' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 209 | sandbox: true |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 210 | olts: 1 |
Matteo Scandolo | b36f089 | 2020-11-23 12:19:48 -0800 | [diff] [blame] | 211 | withAlarms: false |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 212 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 213 | description: | |
| 214 | <!-- Managed by Jenkins Job Builder --> |
| 215 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 216 | E2E Validation for Voltha 2.X |
| 217 | |
| 218 | properties: |
| 219 | - cord-infra-properties: |
Matteo Scandolo | a0e6f3f | 2020-11-12 17:13:20 -0800 | [diff] [blame] | 220 | build-days-to-keep: '{big-build-days-to-keep}' |
| 221 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 222 | |
| 223 | wrappers: |
| 224 | - lf-infra-wrappers: |
| 225 | build-timeout: '{build-timeout}' |
| 226 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 227 | |
| 228 | parameters: |
| 229 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 230 | name: buildNode |
Andy Bavier | 833b78e | 2019-11-22 17:01:31 -0700 | [diff] [blame] | 231 | default: '{build-node}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 232 | description: 'Name of the Jenkins node to run the job on' |
| 233 | |
| 234 | - string: |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 235 | name: extraHelmFlags |
Andrea Campanella | 6d56218 | 2020-10-06 18:39:30 +0200 | [diff] [blame] | 236 | default: '--set onu={onus},pon={pons},{extraHelmFlags}' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 237 | description: 'Helm flags to pass to ./voltha up' |
| 238 | |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 239 | - bool: |
| 240 | name: withAlarms |
Matteo Scandolo | b36f089 | 2020-11-23 12:19:48 -0800 | [diff] [blame] | 241 | default: '{withAlarms}' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 242 | description: "Run alarm based tests when true" |
| 243 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 244 | - string: |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 245 | name: makeTarget |
| 246 | default: '{make-target}' |
| 247 | description: 'Makefile target to invoke during test' |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 248 | |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 249 | - string: |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 250 | name: makeFailtestTarget |
| 251 | default: '{make-target-failtest}' |
| 252 | description: 'Makefile target to invoke during failure/based test' |
| 253 | |
| 254 | - string: |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 255 | name: makeMultiOltTarget |
| 256 | default: '{make-target-multipleolt}' |
| 257 | description: 'Makefile target to invoke during multiple olt test' |
| 258 | |
| 259 | - string: |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 260 | name: makeErrortestTarget |
| 261 | default: '{make-target-errortest}' |
| 262 | description: 'Makefile target to invoke during error test' |
| 263 | |
| 264 | - string: |
| 265 | name: makeAlarmtestTarget |
| 266 | default: '{make-target-alarmtest}' |
| 267 | description: 'Makefile target to invoke during alarm test' |
| 268 | |
| 269 | - string: |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 270 | name: manifestUrl |
| 271 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 272 | description: 'Repo manifest URL for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 273 | |
| 274 | - string: |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 275 | name: branch |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 276 | default: '{code-branch}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 277 | description: 'Repo manifest branch for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 278 | |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 279 | - string: |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 280 | name: gerritProject |
| 281 | default: '{gerrit-project}' |
| 282 | description: 'Name of the Gerrit project' |
| 283 | |
| 284 | - string: |
| 285 | name: gerritChangeNumber |
| 286 | default: '' |
| 287 | description: 'Changeset number in Gerrit' |
| 288 | |
| 289 | - string: |
| 290 | name: gerritPatchsetNumber |
| 291 | default: '' |
| 292 | description: 'PatchSet number in Gerrit' |
| 293 | |
| 294 | - string: |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 295 | name: testRuns |
| 296 | default: '{test-runs}' |
| 297 | description: 'How many times to repeat the tests' |
| 298 | |
| 299 | - string: |
| 300 | name: extraRobotArgs |
| 301 | default: '{robot-args}' |
| 302 | description: 'Arguments to pass to robot' |
| 303 | |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 304 | - string: |
| 305 | name: workFlow |
| 306 | default: '{work-flow}' |
| 307 | description: 'Workflow for testcase' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 308 | |
pierventre | f48ebc1 | 2020-07-17 16:01:32 +0200 | [diff] [blame] | 309 | - string: |
| 310 | name: karafHome |
| 311 | default: '{karaf-home}' |
| 312 | description: 'Karaf home' |
| 313 | |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 314 | - string: |
| 315 | name: volthaSystemTestsChange |
| 316 | default: '{volthaSystemTestsChange}' |
| 317 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 318 | |
| 319 | - string: |
| 320 | name: kindVolthaChange |
| 321 | default: '{kindVolthaChange}' |
| 322 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 323 | |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 324 | - string: |
| 325 | name: olts |
| 326 | default: '{olts}' |
| 327 | description: 'How many BBSim instances to run' |
| 328 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 329 | project-type: pipeline |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 330 | concurrent: true |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 331 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 332 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 333 | |
| 334 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 335 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 336 | TZ=America/Los_Angeles |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 337 | {time-trigger} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 338 | |
| 339 | - job-template: |
| 340 | id: 'voltha-patch-test' |
Matteo Scandolo | 84e5f00 | 2020-02-10 11:50:05 -0800 | [diff] [blame] | 341 | name: 'verify_{project}_sanity-test{name-extension}' |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 342 | override-branch: '$GERRIT_BRANCH' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 343 | sandbox: true |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 344 | volthaSystemTestsChange: '' |
| 345 | kindVolthaChange: '' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 346 | |
| 347 | description: | |
| 348 | <!-- Managed by Jenkins Job Builder --> |
| 349 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 350 | E2E Validation for Voltha 2.X |
| 351 | |
| 352 | properties: |
| 353 | - cord-infra-properties: |
| 354 | build-days-to-keep: '{build-days-to-keep}' |
| 355 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 356 | |
| 357 | wrappers: |
| 358 | - lf-infra-wrappers: |
| 359 | build-timeout: '{build-timeout}' |
| 360 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 361 | |
| 362 | parameters: |
| 363 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 364 | name: buildNode |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 365 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 366 | description: 'Name of the Jenkins node to run the job on' |
| 367 | |
| 368 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 369 | name: branch |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 370 | default: '{override-branch}' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 371 | description: 'Name of the branch to use' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 372 | |
| 373 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 374 | name: gerritProject |
| 375 | default: '$GERRIT_PROJECT' |
| 376 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 377 | |
| 378 | - string: |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 379 | name: gerritRefspec |
| 380 | default: '$GERRIT_REFSPEC' |
| 381 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 382 | |
| 383 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 384 | name: extraHelmFlags |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 385 | default: '' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 386 | description: 'Helm flags to pass to ./voltha up' |
| 387 | |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 388 | - string: |
| 389 | name: volthaSystemTestsChange |
| 390 | default: '{volthaSystemTestsChange}' |
| 391 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 392 | |
| 393 | - string: |
| 394 | name: kindVolthaChange |
| 395 | default: '{kindVolthaChange}' |
| 396 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 397 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 398 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 399 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 400 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 401 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 402 | |
| 403 | triggers: |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 404 | - gerrit: |
| 405 | server-name: '{gerrit-server-name}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 406 | dependency-jobs: '{dependency-jobs}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 407 | silent-start: true |
| 408 | trigger-on: |
| 409 | - patchset-created-event: |
| 410 | exclude-drafts: true |
| 411 | exclude-trivial-rebase: false |
| 412 | exclude-no-code-change: true |
| 413 | - draft-published-event |
| 414 | - comment-added-contains-event: |
| 415 | comment-contains-value: '(?i)^.*recheck$' |
| 416 | projects: |
| 417 | - project-compare-type: REG_EXP |
| 418 | project-pattern: '^{project}$' |
| 419 | branches: |
| 420 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 421 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 422 | file-paths: |
| 423 | - compare-type: REG_EXP |
| 424 | pattern: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 425 | |
| 426 | # POD Per Patchset Pipeline Jobs |
| 427 | |
| 428 | - job-template: |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 429 | name: '{name}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 430 | id: verify_physical_voltha_patchset_auto |
| 431 | description: | |
| 432 | <!-- Managed by Jenkins Job Builder --> |
| 433 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 434 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 435 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 436 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 437 | sandbox: true |
| 438 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 439 | default-test-args: '-i sanityORDeleteOLT -X' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 440 | |
| 441 | properties: |
| 442 | - cord-infra-properties: |
| 443 | build-days-to-keep: '{build-days-to-keep}' |
| 444 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 445 | |
| 446 | parameters: |
| 447 | - string: |
| 448 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 449 | default: '{build-node}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 450 | description: 'Pod management node' |
| 451 | |
| 452 | - string: |
| 453 | name: manifestUrl |
| 454 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 455 | description: 'URL to the repo manifest' |
| 456 | |
| 457 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 458 | name: branch |
| 459 | default: '$GERRIT_BRANCH' |
| 460 | description: 'Name of the branch to use' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 461 | |
| 462 | - string: |
| 463 | name: gerritProject |
| 464 | default: '$GERRIT_PROJECT' |
| 465 | description: 'Name of the Gerrit project' |
| 466 | |
| 467 | - string: |
| 468 | name: gerritChangeNumber |
| 469 | default: '$GERRIT_CHANGE_NUMBER' |
| 470 | description: 'Changeset number in Gerrit' |
| 471 | |
| 472 | - string: |
| 473 | name: gerritPatchsetNumber |
| 474 | default: '$GERRIT_PATCHSET_NUMBER' |
| 475 | description: 'PatchSet number in Gerrit' |
| 476 | |
| 477 | - string: |
| 478 | name: cordRepoUrl |
| 479 | default: '{gerrit-server-url}' |
| 480 | description: 'The URL of the CORD Project repository' |
| 481 | |
| 482 | - string: |
| 483 | name: podName |
| 484 | default: '{config-pod}' |
| 485 | |
| 486 | - string: |
| 487 | name: deploymentConfigFile |
| 488 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 489 | description: 'Path of deployment config file' |
| 490 | |
| 491 | - string: |
| 492 | name: kindVolthaValuesFile |
| 493 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 494 | description: 'Path of kind-voltha values override file' |
| 495 | |
| 496 | - string: |
| 497 | name: sadisConfigFile |
| 498 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 499 | description: 'Path of SADIS config to load' |
| 500 | |
| 501 | - string: |
| 502 | name: localConfigDir |
| 503 | default: null |
| 504 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 505 | |
| 506 | - string: |
| 507 | name: configRepo |
| 508 | default: 'pod-configs' |
| 509 | description: 'A repository containing the config files, will be checked out if specified' |
| 510 | |
| 511 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 512 | name: oltDebVersionMaster |
| 513 | default: '{oltDebVersionMaster}' |
| 514 | description: 'OLT Software version to install for master branch builds' |
| 515 | |
| 516 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 517 | name: oltDebVersion |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 518 | default: '{oltDebVersionVoltha23}' |
| 519 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 520 | |
| 521 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 522 | name: profile |
| 523 | default: '{profile}' |
| 524 | description: 'Technology Profile pushed to the ETCD' |
| 525 | |
| 526 | - string: |
| 527 | name: notificationEmail |
| 528 | default: 'andy@opennetworking.org' |
| 529 | description: '' |
| 530 | |
| 531 | - bool: |
| 532 | name: reinstallOlt |
| 533 | default: true |
| 534 | description: "Re-install OLT software" |
| 535 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 536 | - string: |
| 537 | name: manualBranch |
| 538 | default: '{manualBranch}' |
| 539 | 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] | 540 | |
| 541 | - string: |
| 542 | name: extraRobotArgs |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 543 | default: '{default-test-args}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 544 | description: 'Arguments to pass to robot' |
| 545 | |
| 546 | project-type: pipeline |
| 547 | concurrent: true |
| 548 | |
| 549 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 550 | |
| 551 | triggers: |
| 552 | - gerrit: |
| 553 | server-name: '{gerrit-server-name}' |
| 554 | dependency-jobs: '{dependency-jobs}' |
| 555 | silent-start: false |
| 556 | successful-message: "PASSED hardware test" |
| 557 | failure-message: "FAILED hardware test" |
| 558 | unstable-message: "UNSTABLE hardware test" |
| 559 | trigger-on: |
| 560 | - comment-added-event: |
| 561 | approval-category: 'Code-Review' |
| 562 | approval-value: '+2' |
| 563 | projects: |
| 564 | - project-compare-type: REG_EXP |
Andy Bavier | f2b2607 | 2020-03-05 16:02:29 -0700 | [diff] [blame] | 565 | project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-go)$' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 566 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 567 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 568 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 569 | |
| 570 | |
| 571 | - job-template: |
| 572 | name: '{name}' |
| 573 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 574 | description: | |
| 575 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 576 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 577 | 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] | 578 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 579 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 580 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 581 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 582 | trigger-string: 'hardware test' |
| 583 | default-test-args: '-i sanityORDeleteOLT -X' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 584 | |
| 585 | properties: |
| 586 | - cord-infra-properties: |
| 587 | build-days-to-keep: '{build-days-to-keep}' |
| 588 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 589 | |
| 590 | parameters: |
| 591 | - string: |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 592 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 593 | default: '{build-node}' |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 594 | description: 'Pod management node' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 595 | |
| 596 | - string: |
| 597 | name: manifestUrl |
| 598 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 599 | description: 'URL to the repo manifest' |
| 600 | |
| 601 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 602 | name: branch |
| 603 | default: '$GERRIT_BRANCH' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 604 | description: 'Name of the repo branch to use' |
| 605 | |
| 606 | - string: |
| 607 | name: gerritProject |
| 608 | default: '$GERRIT_PROJECT' |
| 609 | description: 'Name of the Gerrit project' |
| 610 | |
| 611 | - string: |
| 612 | name: gerritChangeNumber |
| 613 | default: '$GERRIT_CHANGE_NUMBER' |
| 614 | description: 'Changeset number in Gerrit' |
| 615 | |
| 616 | - string: |
| 617 | name: gerritPatchsetNumber |
| 618 | default: '$GERRIT_PATCHSET_NUMBER' |
| 619 | description: 'PatchSet number in Gerrit' |
| 620 | |
| 621 | - string: |
| 622 | name: cordRepoUrl |
| 623 | default: '{gerrit-server-url}' |
| 624 | description: 'The URL of the CORD Project repository' |
| 625 | |
| 626 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 627 | name: podName |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 628 | default: '{config-pod}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 629 | |
| 630 | - string: |
| 631 | name: deploymentConfigFile |
| 632 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 633 | description: 'Path of deployment config file' |
| 634 | |
| 635 | - string: |
| 636 | name: kindVolthaValuesFile |
| 637 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 638 | description: 'Path of kind-voltha values override file' |
| 639 | |
| 640 | - string: |
| 641 | name: sadisConfigFile |
| 642 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 643 | description: 'Path of SADIS config to load' |
| 644 | |
| 645 | - string: |
| 646 | name: localConfigDir |
| 647 | default: null |
| 648 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 649 | |
| 650 | - string: |
| 651 | name: configRepo |
| 652 | default: 'pod-configs' |
| 653 | description: 'A repository containing the config files, will be checked out if specified' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 654 | |
| 655 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 656 | name: oltDebVersionMaster |
| 657 | default: '{oltDebVersionMaster}' |
| 658 | description: 'OLT Software version to install for master branch builds' |
| 659 | |
| 660 | - string: |
| 661 | name: oltDebVersionVoltha23 |
| 662 | default: '{oltDebVersionVoltha23}' |
| 663 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 664 | |
| 665 | - string: |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 666 | name: profile |
| 667 | default: '{profile}' |
| 668 | description: 'Technology Profile pushed to the ETCD' |
| 669 | |
| 670 | - string: |
| 671 | name: notificationEmail |
| 672 | default: 'andy@opennetworking.org' |
| 673 | description: '' |
| 674 | |
| 675 | - bool: |
| 676 | name: reinstallOlt |
| 677 | default: true |
| 678 | description: "Re-install OLT software" |
| 679 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 680 | - string: |
| 681 | name: manualBranch |
| 682 | default: '{manualBranch}' |
| 683 | description: "If a non-empty string, build manually on a specific branch, not with a specific patchset" |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 684 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 685 | - string: |
| 686 | name: extraRobotArgs |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 687 | default: '{default-test-args}' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 688 | description: 'Arguments to pass to robot' |
| 689 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 690 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 691 | concurrent: true |
| 692 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 693 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 694 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 695 | triggers: |
| 696 | - gerrit: |
| 697 | server-name: '{gerrit-server-name}' |
| 698 | dependency-jobs: '{dependency-jobs}' |
| 699 | silent-start: false |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 700 | successful-message: "PASSED {trigger-string}" |
| 701 | failure-message: "FAILED {trigger-string}" |
| 702 | unstable-message: "UNSTABLE {trigger-string}" |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 703 | trigger-on: |
| 704 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 705 | comment-contains-value: '^{trigger-string}$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 706 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 707 | comment-contains-value: '^{trigger-string} with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 708 | projects: |
| 709 | - project-compare-type: REG_EXP |
Andy Bavier | c1cb94b | 2020-06-04 16:39:32 -0700 | [diff] [blame] | 710 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|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] | 711 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 712 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 713 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 714 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 715 | |
| 716 | - job-template: |
| 717 | name: '{name}' |
| 718 | id: build_physical_voltha_manual |
| 719 | description: | |
| 720 | <!-- Managed by Jenkins Job Builder --> |
| 721 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 722 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 723 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 724 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 725 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 726 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 727 | |
| 728 | properties: |
| 729 | - cord-infra-properties: |
| 730 | build-days-to-keep: '{build-days-to-keep}' |
| 731 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 732 | |
| 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 | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 737 | description: 'Pod management node' |
| 738 | |
| 739 | - string: |
| 740 | name: manifestUrl |
| 741 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 742 | description: 'URL to the repo manifest' |
| 743 | |
| 744 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 745 | name: branch |
| 746 | default: "$GERRIT_BRANCH" |
| 747 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 748 | |
| 749 | - string: |
| 750 | name: gerritProject |
| 751 | default: '$GERRIT_PROJECT' |
| 752 | description: 'Name of the Gerrit project' |
| 753 | |
| 754 | - string: |
| 755 | name: gerritChangeNumber |
| 756 | default: '$GERRIT_CHANGE_NUMBER' |
| 757 | description: 'Changeset number in Gerrit' |
| 758 | |
| 759 | - string: |
| 760 | name: gerritPatchsetNumber |
| 761 | default: '$GERRIT_PATCHSET_NUMBER' |
| 762 | description: 'PatchSet number in Gerrit' |
| 763 | |
| 764 | - string: |
| 765 | name: cordRepoUrl |
| 766 | default: '{gerrit-server-url}' |
| 767 | description: 'The URL of the CORD Project repository' |
| 768 | |
| 769 | - string: |
| 770 | name: podName |
| 771 | default: '{config-pod}' |
| 772 | |
| 773 | - string: |
| 774 | name: deploymentConfigFile |
| 775 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 776 | description: 'Path of deployment config file' |
| 777 | |
| 778 | - string: |
| 779 | name: kindVolthaValuesFile |
| 780 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 781 | description: 'Path of kind-voltha values override file' |
| 782 | |
| 783 | - string: |
| 784 | name: sadisConfigFile |
| 785 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 786 | description: 'Path of SADIS config to load' |
| 787 | |
| 788 | - string: |
| 789 | name: localConfigDir |
| 790 | default: null |
| 791 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 792 | |
| 793 | - string: |
| 794 | name: configRepo |
| 795 | default: 'pod-configs' |
| 796 | description: 'A repository containing the config files, will be checked out if specified' |
| 797 | |
| 798 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 799 | name: oltDebVersionMaster |
| 800 | default: '{oltDebVersionMaster}' |
| 801 | description: 'OLT Software version to install for master branch builds' |
| 802 | |
| 803 | - string: |
| 804 | name: oltDebVersionVoltha23 |
| 805 | default: '{oltDebVersionVoltha23}' |
| 806 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 807 | |
| 808 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 809 | name: profile |
| 810 | default: '{profile}' |
| 811 | description: 'Technology Profile pushed to the ETCD' |
| 812 | |
| 813 | - string: |
| 814 | name: notificationEmail |
| 815 | default: 'andy@opennetworking.org' |
| 816 | description: '' |
| 817 | |
| 818 | - bool: |
| 819 | name: reinstallOlt |
| 820 | default: false |
| 821 | description: "Re-install OLT software" |
| 822 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 823 | - string: |
| 824 | name: manualBranch |
| 825 | default: '{manualBranch}' |
| 826 | 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] | 827 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 828 | - string: |
| 829 | name: extraRobotArgs |
Andy Bavier | d2b25fe | 2020-06-09 07:22:00 -0700 | [diff] [blame] | 830 | default: '-e bbsim -X' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 831 | description: 'Arguments to pass to robot' |
| 832 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 833 | project-type: pipeline |
| 834 | concurrent: true |
| 835 | |
| 836 | dsl: !include-raw-escape: pipeline/{pipeline-script} |