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}' |
| 8 | |
| 9 | jobs: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 10 | - 'voltha-periodic-test': |
| 11 | name: 'voltha-system-tests' |
| 12 | pipeline: 'voltha-go-tests.groovy' |
Andy Bavier | aaa60f7 | 2019-09-20 09:11:21 -0700 | [diff] [blame] | 13 | default-image-tag: 'voltha-2.1' |
Matteo Scandolo | e43b5f8 | 2019-09-23 15:21:04 -0700 | [diff] [blame] | 14 | - 'voltha-periodic-test-new-bbsim': |
| 15 | name: 'voltha-system-tests-new-bbsim' |
| 16 | pipeline: 'voltha-go-tests-new-bbsim.groovy' |
| 17 | default-image-tag: 'voltha-2.1' |
Andy Bavier | aaa60f7 | 2019-09-20 09:11:21 -0700 | [diff] [blame] | 18 | - 'voltha-periodic-test': |
| 19 | name: 'voltha-system-tests-master' |
| 20 | pipeline: 'voltha-go-tests.groovy' |
| 21 | default-image-tag: 'master' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 22 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 23 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 24 | id: 'voltha-periodic-test' |
| 25 | name: '{name}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 26 | |
| 27 | description: | |
| 28 | <!-- Managed by Jenkins Job Builder --> |
| 29 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 30 | E2E Validation for Voltha 2.X |
| 31 | |
| 32 | properties: |
| 33 | - cord-infra-properties: |
| 34 | build-days-to-keep: '{build-days-to-keep}' |
| 35 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 36 | |
| 37 | wrappers: |
| 38 | - lf-infra-wrappers: |
| 39 | build-timeout: '{build-timeout}' |
| 40 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 41 | |
| 42 | parameters: |
| 43 | - string: |
| 44 | name: executorNode |
| 45 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 46 | description: 'Name of the Jenkins node to run the job on' |
| 47 | |
| 48 | - string: |
| 49 | name: numOnus |
| 50 | default: '1' |
| 51 | description: 'Number of onus per pon port' |
| 52 | |
| 53 | - string: |
| 54 | name: emulationMode |
| 55 | default: '--set emulation_mode=both' |
| 56 | description: 'Emulation for BBSIM (both|aaa)' |
| 57 | |
| 58 | - string: |
| 59 | name: testTimeout |
| 60 | default: '90' |
| 61 | description: 'timeout for olt/onu validations' |
| 62 | |
| 63 | - string: |
| 64 | name: testTags |
| 65 | default: '-e notready' |
| 66 | description: 'test tags' |
| 67 | |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 68 | - string: |
| 69 | name: extraHelmFlags |
Zack Williams | 0499750 | 2019-10-04 14:32:20 -0700 | [diff] [blame] | 70 | default: '--set defaults.image_tag={default-image-tag},images.afrouter.tag=master,images.afrouterd.tag=master,wpa_wait=10,dhcp_wait=10' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 71 | description: 'Helm flags to pass to ./voltha up' |
| 72 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 73 | project-type: pipeline |
| 74 | concurrent: false |
| 75 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 76 | dsl: !include-raw-escape: pipeline/{pipeline} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 77 | |
| 78 | triggers: |
| 79 | - timed: | |
| 80 | TZ=America/Los_Angeles |
Andy Bavier | c08e4d2 | 2019-09-18 10:08:12 -0700 | [diff] [blame] | 81 | H/30 * * * * |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 82 | |
| 83 | - job-template: |
Matteo Scandolo | e43b5f8 | 2019-09-23 15:21:04 -0700 | [diff] [blame] | 84 | id: 'voltha-periodic-test-new-bbsim' |
| 85 | name: '{name}' |
| 86 | |
| 87 | description: | |
| 88 | <!-- Managed by Jenkins Job Builder --> |
| 89 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 90 | E2E Validation for Voltha 2.X and the new BBSim |
| 91 | |
| 92 | properties: |
| 93 | - cord-infra-properties: |
| 94 | build-days-to-keep: '{build-days-to-keep}' |
| 95 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 96 | |
| 97 | wrappers: |
| 98 | - lf-infra-wrappers: |
| 99 | build-timeout: '{build-timeout}' |
| 100 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 101 | |
| 102 | parameters: |
| 103 | - string: |
| 104 | name: executorNode |
| 105 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 106 | description: 'Name of the Jenkins node to run the job on' |
| 107 | |
| 108 | - string: |
| 109 | name: numOnus |
| 110 | default: '1' |
| 111 | description: 'Number of onus per pon port' |
| 112 | |
| 113 | - string: |
| 114 | name: testTimeout |
| 115 | default: '90' |
| 116 | description: 'timeout for olt/onu validations' |
| 117 | |
| 118 | - string: |
| 119 | name: testTags |
| 120 | default: '-e notready' |
| 121 | description: 'test tags' |
| 122 | |
| 123 | - string: |
| 124 | name: extraHelmFlags |
Zack Williams | 0499750 | 2019-10-04 14:32:20 -0700 | [diff] [blame] | 125 | default: '--set defaults.image_tag={default-image-tag},images.afrouter.tag=master,images.afrouterd.tag=master' |
Matteo Scandolo | e43b5f8 | 2019-09-23 15:21:04 -0700 | [diff] [blame] | 126 | description: 'Helm flags to pass to ./voltha up' |
| 127 | |
| 128 | project-type: pipeline |
| 129 | concurrent: false |
| 130 | |
| 131 | dsl: !include-raw-escape: pipeline/{pipeline} |
| 132 | |
| 133 | triggers: |
| 134 | - timed: | |
| 135 | TZ=America/Los_Angeles |
| 136 | H/30 * * * * |
| 137 | |
| 138 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 139 | id: 'voltha-patch-test' |
Kailash | 53d8672 | 2019-09-05 09:08:41 -0700 | [diff] [blame] | 140 | name: '{project}_sanity-system-test' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 141 | |
| 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: |
| 159 | name: executorNode |
| 160 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 161 | description: 'Name of the Jenkins node to run the job on' |
| 162 | |
| 163 | - string: |
| 164 | name: manifestUrl |
| 165 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 166 | description: 'URL to the repo manifest' |
| 167 | |
| 168 | - string: |
| 169 | name: manifestBranch |
| 170 | default: '$GERRIT_BRANCH' |
| 171 | description: 'Name of the repo branch to use' |
| 172 | |
| 173 | - string: |
| 174 | name: gerritProject |
| 175 | default: '$GERRIT_PROJECT' |
| 176 | description: 'Name of the Gerrit project' |
| 177 | |
| 178 | - string: |
| 179 | name: gerritChangeNumber |
| 180 | default: '$GERRIT_CHANGE_NUMBER' |
| 181 | description: 'Changeset number in Gerrit' |
| 182 | |
| 183 | - string: |
| 184 | name: gerritPatchsetNumber |
| 185 | default: '$GERRIT_PATCHSET_NUMBER' |
| 186 | description: 'PatchSet number in Gerrit' |
| 187 | |
| 188 | - string: |
| 189 | name: numOnus |
| 190 | default: '1' |
| 191 | description: 'Number of onus per pon port' |
| 192 | |
| 193 | - string: |
| 194 | name: emulationMode |
| 195 | default: '--set emulation_mode=both' |
| 196 | description: 'Emulation for BBSIM (both|aaa)' |
| 197 | |
| 198 | - string: |
| 199 | name: testTimeout |
| 200 | default: '90' |
| 201 | description: 'timeout for olt/onu validations' |
| 202 | |
| 203 | - string: |
| 204 | name: testTags |
| 205 | default: '-e notready' |
| 206 | description: 'test tags' |
| 207 | |
| 208 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 209 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 210 | |
| 211 | dsl: !include-raw-escape: pipeline/{pipeline} |
| 212 | |
| 213 | triggers: |
| 214 | - cord-infra-gerrit-trigger-patchset: |
| 215 | gerrit-server-name: '{gerrit-server-name}' |
Kailash | 53d8672 | 2019-09-05 09:08:41 -0700 | [diff] [blame] | 216 | project-regexp: '^{project}$' |
| 217 | branch-regexp: '{branch-regexp}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 218 | dependency-jobs: '{dependency-jobs}' |
| 219 | file-include-regexp: '{all-files-regexp}' |