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