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