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 |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 233 | |
| 234 | description: | |
| 235 | <!-- Managed by Jenkins Job Builder --> |
| 236 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 237 | E2E Validation for Voltha 2.X |
| 238 | |
| 239 | properties: |
| 240 | - cord-infra-properties: |
| 241 | build-days-to-keep: '{build-days-to-keep}' |
| 242 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 243 | |
| 244 | wrappers: |
| 245 | - lf-infra-wrappers: |
| 246 | build-timeout: '{build-timeout}' |
| 247 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 248 | |
| 249 | parameters: |
| 250 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 251 | name: buildNode |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 252 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 253 | description: 'Name of the Jenkins node to run the job on' |
| 254 | |
| 255 | - string: |
| 256 | name: manifestUrl |
| 257 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 258 | description: 'URL to the repo manifest' |
| 259 | |
| 260 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 261 | name: branch |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 262 | default: '{override-branch}' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 263 | description: 'Name of the branch to use' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 264 | |
| 265 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 266 | name: gerritProject |
| 267 | default: '$GERRIT_PROJECT' |
| 268 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 269 | |
| 270 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 271 | name: gerritChangeNumber |
| 272 | default: '$GERRIT_CHANGE_NUMBER' |
| 273 | description: 'Changeset number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 274 | |
| 275 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 276 | name: gerritPatchsetNumber |
| 277 | default: '$GERRIT_PATCHSET_NUMBER' |
| 278 | description: 'PatchSet number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 279 | |
| 280 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 281 | name: extraHelmFlags |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 282 | default: '' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 283 | description: 'Helm flags to pass to ./voltha up' |
| 284 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 285 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 286 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 287 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 288 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 289 | |
| 290 | triggers: |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 291 | - gerrit: |
| 292 | server-name: '{gerrit-server-name}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 293 | dependency-jobs: '{dependency-jobs}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 294 | silent-start: true |
| 295 | trigger-on: |
| 296 | - patchset-created-event: |
| 297 | exclude-drafts: true |
| 298 | exclude-trivial-rebase: false |
| 299 | exclude-no-code-change: true |
| 300 | - draft-published-event |
| 301 | - comment-added-contains-event: |
| 302 | comment-contains-value: '(?i)^.*recheck$' |
| 303 | projects: |
| 304 | - project-compare-type: REG_EXP |
| 305 | project-pattern: '^{project}$' |
| 306 | branches: |
| 307 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 308 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 309 | file-paths: |
| 310 | - compare-type: REG_EXP |
| 311 | pattern: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 312 | |
| 313 | # POD Per Patchset Pipeline Jobs |
| 314 | |
| 315 | - job-template: |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 316 | name: '{name}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 317 | id: verify_physical_voltha_patchset_auto |
| 318 | description: | |
| 319 | <!-- Managed by Jenkins Job Builder --> |
| 320 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 321 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 322 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 323 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 324 | sandbox: true |
| 325 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 326 | default-test-args: '-i sanityORDeleteOLT -X' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 327 | |
| 328 | properties: |
| 329 | - cord-infra-properties: |
| 330 | build-days-to-keep: '{build-days-to-keep}' |
| 331 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 332 | |
| 333 | parameters: |
| 334 | - string: |
| 335 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 336 | default: '{build-node}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 337 | description: 'Pod management node' |
| 338 | |
| 339 | - string: |
| 340 | name: manifestUrl |
| 341 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 342 | description: 'URL to the repo manifest' |
| 343 | |
| 344 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 345 | name: branch |
| 346 | default: '$GERRIT_BRANCH' |
| 347 | description: 'Name of the branch to use' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 348 | |
| 349 | - string: |
| 350 | name: gerritProject |
| 351 | default: '$GERRIT_PROJECT' |
| 352 | description: 'Name of the Gerrit project' |
| 353 | |
| 354 | - string: |
| 355 | name: gerritChangeNumber |
| 356 | default: '$GERRIT_CHANGE_NUMBER' |
| 357 | description: 'Changeset number in Gerrit' |
| 358 | |
| 359 | - string: |
| 360 | name: gerritPatchsetNumber |
| 361 | default: '$GERRIT_PATCHSET_NUMBER' |
| 362 | description: 'PatchSet number in Gerrit' |
| 363 | |
| 364 | - string: |
| 365 | name: cordRepoUrl |
| 366 | default: '{gerrit-server-url}' |
| 367 | description: 'The URL of the CORD Project repository' |
| 368 | |
| 369 | - string: |
| 370 | name: podName |
| 371 | default: '{config-pod}' |
| 372 | |
| 373 | - string: |
| 374 | name: deploymentConfigFile |
| 375 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 376 | description: 'Path of deployment config file' |
| 377 | |
| 378 | - string: |
| 379 | name: kindVolthaValuesFile |
| 380 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 381 | description: 'Path of kind-voltha values override file' |
| 382 | |
| 383 | - string: |
| 384 | name: sadisConfigFile |
| 385 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 386 | description: 'Path of SADIS config to load' |
| 387 | |
| 388 | - string: |
| 389 | name: localConfigDir |
| 390 | default: null |
| 391 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 392 | |
| 393 | - string: |
| 394 | name: configRepo |
| 395 | default: 'pod-configs' |
| 396 | description: 'A repository containing the config files, will be checked out if specified' |
| 397 | |
| 398 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 399 | name: oltDebVersionMaster |
| 400 | default: '{oltDebVersionMaster}' |
| 401 | description: 'OLT Software version to install for master branch builds' |
| 402 | |
| 403 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 404 | name: oltDebVersion |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 405 | default: '{oltDebVersionVoltha23}' |
| 406 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 407 | |
| 408 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 409 | name: profile |
| 410 | default: '{profile}' |
| 411 | description: 'Technology Profile pushed to the ETCD' |
| 412 | |
| 413 | - string: |
| 414 | name: notificationEmail |
| 415 | default: 'andy@opennetworking.org' |
| 416 | description: '' |
| 417 | |
| 418 | - bool: |
| 419 | name: reinstallOlt |
| 420 | default: true |
| 421 | description: "Re-install OLT software" |
| 422 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 423 | - string: |
| 424 | name: manualBranch |
| 425 | default: '{manualBranch}' |
| 426 | 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] | 427 | |
| 428 | - string: |
| 429 | name: extraRobotArgs |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 430 | default: '{default-test-args}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 431 | description: 'Arguments to pass to robot' |
| 432 | |
| 433 | project-type: pipeline |
| 434 | concurrent: true |
| 435 | |
| 436 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 437 | |
| 438 | triggers: |
| 439 | - gerrit: |
| 440 | server-name: '{gerrit-server-name}' |
| 441 | dependency-jobs: '{dependency-jobs}' |
| 442 | silent-start: false |
| 443 | successful-message: "PASSED hardware test" |
| 444 | failure-message: "FAILED hardware test" |
| 445 | unstable-message: "UNSTABLE hardware test" |
| 446 | trigger-on: |
| 447 | - comment-added-event: |
| 448 | approval-category: 'Code-Review' |
| 449 | approval-value: '+2' |
| 450 | projects: |
| 451 | - project-compare-type: REG_EXP |
Andy Bavier | f2b2607 | 2020-03-05 16:02:29 -0700 | [diff] [blame] | 452 | project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-go)$' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 453 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 454 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 455 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 456 | |
| 457 | |
| 458 | - job-template: |
| 459 | name: '{name}' |
| 460 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 461 | description: | |
| 462 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 463 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 464 | 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] | 465 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 466 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 467 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 468 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 469 | trigger-string: 'hardware test' |
| 470 | default-test-args: '-i sanityORDeleteOLT -X' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 471 | |
| 472 | properties: |
| 473 | - cord-infra-properties: |
| 474 | build-days-to-keep: '{build-days-to-keep}' |
| 475 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 476 | |
| 477 | parameters: |
| 478 | - string: |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 479 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 480 | default: '{build-node}' |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 481 | description: 'Pod management node' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 482 | |
| 483 | - string: |
| 484 | name: manifestUrl |
| 485 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 486 | description: 'URL to the repo manifest' |
| 487 | |
| 488 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 489 | name: branch |
| 490 | default: '$GERRIT_BRANCH' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 491 | description: 'Name of the repo branch to use' |
| 492 | |
| 493 | - string: |
| 494 | name: gerritProject |
| 495 | default: '$GERRIT_PROJECT' |
| 496 | description: 'Name of the Gerrit project' |
| 497 | |
| 498 | - string: |
| 499 | name: gerritChangeNumber |
| 500 | default: '$GERRIT_CHANGE_NUMBER' |
| 501 | description: 'Changeset number in Gerrit' |
| 502 | |
| 503 | - string: |
| 504 | name: gerritPatchsetNumber |
| 505 | default: '$GERRIT_PATCHSET_NUMBER' |
| 506 | description: 'PatchSet number in Gerrit' |
| 507 | |
| 508 | - string: |
| 509 | name: cordRepoUrl |
| 510 | default: '{gerrit-server-url}' |
| 511 | description: 'The URL of the CORD Project repository' |
| 512 | |
| 513 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 514 | name: podName |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 515 | default: '{config-pod}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 516 | |
| 517 | - string: |
| 518 | name: deploymentConfigFile |
| 519 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 520 | description: 'Path of deployment config file' |
| 521 | |
| 522 | - string: |
| 523 | name: kindVolthaValuesFile |
| 524 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 525 | description: 'Path of kind-voltha values override file' |
| 526 | |
| 527 | - string: |
| 528 | name: sadisConfigFile |
| 529 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 530 | description: 'Path of SADIS config to load' |
| 531 | |
| 532 | - string: |
| 533 | name: localConfigDir |
| 534 | default: null |
| 535 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 536 | |
| 537 | - string: |
| 538 | name: configRepo |
| 539 | default: 'pod-configs' |
| 540 | 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] | 541 | |
| 542 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 543 | name: oltDebVersionMaster |
| 544 | default: '{oltDebVersionMaster}' |
| 545 | description: 'OLT Software version to install for master branch builds' |
| 546 | |
| 547 | - string: |
| 548 | name: oltDebVersionVoltha23 |
| 549 | default: '{oltDebVersionVoltha23}' |
| 550 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 551 | |
| 552 | - string: |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 553 | name: profile |
| 554 | default: '{profile}' |
| 555 | description: 'Technology Profile pushed to the ETCD' |
| 556 | |
| 557 | - string: |
| 558 | name: notificationEmail |
| 559 | default: 'andy@opennetworking.org' |
| 560 | description: '' |
| 561 | |
| 562 | - bool: |
| 563 | name: reinstallOlt |
| 564 | default: true |
| 565 | description: "Re-install OLT software" |
| 566 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 567 | - string: |
| 568 | name: manualBranch |
| 569 | default: '{manualBranch}' |
| 570 | 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] | 571 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 572 | - string: |
| 573 | name: extraRobotArgs |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 574 | default: '{default-test-args}' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 575 | description: 'Arguments to pass to robot' |
| 576 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 577 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 578 | concurrent: true |
| 579 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 580 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 581 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 582 | triggers: |
| 583 | - gerrit: |
| 584 | server-name: '{gerrit-server-name}' |
| 585 | dependency-jobs: '{dependency-jobs}' |
| 586 | silent-start: false |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 587 | successful-message: "PASSED {trigger-string}" |
| 588 | failure-message: "FAILED {trigger-string}" |
| 589 | unstable-message: "UNSTABLE {trigger-string}" |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 590 | trigger-on: |
| 591 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 592 | comment-contains-value: '^{trigger-string}$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 593 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 594 | comment-contains-value: '^{trigger-string} with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 595 | projects: |
| 596 | - project-compare-type: REG_EXP |
Andy Bavier | c1cb94b | 2020-06-04 16:39:32 -0700 | [diff] [blame] | 597 | 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] | 598 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 599 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 600 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 601 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 602 | |
| 603 | - job-template: |
| 604 | name: '{name}' |
| 605 | id: build_physical_voltha_manual |
| 606 | description: | |
| 607 | <!-- Managed by Jenkins Job Builder --> |
| 608 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 609 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 610 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 611 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 612 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 613 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 614 | |
| 615 | properties: |
| 616 | - cord-infra-properties: |
| 617 | build-days-to-keep: '{build-days-to-keep}' |
| 618 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 619 | |
| 620 | parameters: |
| 621 | - string: |
| 622 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 623 | default: '{build-node}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 624 | description: 'Pod management node' |
| 625 | |
| 626 | - string: |
| 627 | name: manifestUrl |
| 628 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 629 | description: 'URL to the repo manifest' |
| 630 | |
| 631 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 632 | name: branch |
| 633 | default: "$GERRIT_BRANCH" |
| 634 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 635 | |
| 636 | - string: |
| 637 | name: gerritProject |
| 638 | default: '$GERRIT_PROJECT' |
| 639 | description: 'Name of the Gerrit project' |
| 640 | |
| 641 | - string: |
| 642 | name: gerritChangeNumber |
| 643 | default: '$GERRIT_CHANGE_NUMBER' |
| 644 | description: 'Changeset number in Gerrit' |
| 645 | |
| 646 | - string: |
| 647 | name: gerritPatchsetNumber |
| 648 | default: '$GERRIT_PATCHSET_NUMBER' |
| 649 | description: 'PatchSet number in Gerrit' |
| 650 | |
| 651 | - string: |
| 652 | name: cordRepoUrl |
| 653 | default: '{gerrit-server-url}' |
| 654 | description: 'The URL of the CORD Project repository' |
| 655 | |
| 656 | - string: |
| 657 | name: podName |
| 658 | default: '{config-pod}' |
| 659 | |
| 660 | - string: |
| 661 | name: deploymentConfigFile |
| 662 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 663 | description: 'Path of deployment config file' |
| 664 | |
| 665 | - string: |
| 666 | name: kindVolthaValuesFile |
| 667 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 668 | description: 'Path of kind-voltha values override file' |
| 669 | |
| 670 | - string: |
| 671 | name: sadisConfigFile |
| 672 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 673 | description: 'Path of SADIS config to load' |
| 674 | |
| 675 | - string: |
| 676 | name: localConfigDir |
| 677 | default: null |
| 678 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 679 | |
| 680 | - string: |
| 681 | name: configRepo |
| 682 | default: 'pod-configs' |
| 683 | description: 'A repository containing the config files, will be checked out if specified' |
| 684 | |
| 685 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 686 | name: oltDebVersionMaster |
| 687 | default: '{oltDebVersionMaster}' |
| 688 | description: 'OLT Software version to install for master branch builds' |
| 689 | |
| 690 | - string: |
| 691 | name: oltDebVersionVoltha23 |
| 692 | default: '{oltDebVersionVoltha23}' |
| 693 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 694 | |
| 695 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 696 | name: profile |
| 697 | default: '{profile}' |
| 698 | description: 'Technology Profile pushed to the ETCD' |
| 699 | |
| 700 | - string: |
| 701 | name: notificationEmail |
| 702 | default: 'andy@opennetworking.org' |
| 703 | description: '' |
| 704 | |
| 705 | - bool: |
| 706 | name: reinstallOlt |
| 707 | default: false |
| 708 | description: "Re-install OLT software" |
| 709 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 710 | - string: |
| 711 | name: manualBranch |
| 712 | default: '{manualBranch}' |
| 713 | 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] | 714 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 715 | - string: |
| 716 | name: extraRobotArgs |
Andy Bavier | d2b25fe | 2020-06-09 07:22:00 -0700 | [diff] [blame] | 717 | default: '-e bbsim -X' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 718 | description: 'Arguments to pass to robot' |
| 719 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 720 | project-type: pipeline |
| 721 | concurrent: true |
| 722 | |
| 723 | dsl: !include-raw-escape: pipeline/{pipeline-script} |