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