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