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