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