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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 10 | - 'voltha-periodic-test': |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 11 | name: 'voltha-system-tests' |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 12 | pipeline-script: 'voltha-go-tests.groovy' |
Andy Bavier | aaa60f7 | 2019-09-20 09:11:21 -0700 | [diff] [blame] | 13 | default-image-tag: 'master' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 14 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 15 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 16 | id: 'voltha-periodic-test' |
| 17 | name: '{name}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 18 | |
| 19 | description: | |
| 20 | <!-- Managed by Jenkins Job Builder --> |
| 21 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 22 | E2E Validation for Voltha 2.X |
| 23 | |
| 24 | properties: |
| 25 | - cord-infra-properties: |
| 26 | build-days-to-keep: '{build-days-to-keep}' |
| 27 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 28 | |
| 29 | wrappers: |
| 30 | - lf-infra-wrappers: |
| 31 | build-timeout: '{build-timeout}' |
| 32 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 33 | |
| 34 | parameters: |
| 35 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 36 | name: buildNode |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 37 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 38 | description: 'Name of the Jenkins node to run the job on' |
| 39 | |
| 40 | - string: |
| 41 | name: numOnus |
| 42 | default: '1' |
| 43 | description: 'Number of onus per pon port' |
| 44 | |
| 45 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 46 | name: emulationMode |
| 47 | default: '--set emulation_mode=both' |
| 48 | description: 'Emulation for BBSIM (both|aaa)' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 49 | |
| 50 | - string: |
| 51 | name: testTimeout |
| 52 | default: '90' |
| 53 | description: 'timeout for olt/onu validations' |
| 54 | |
| 55 | - string: |
| 56 | name: testTags |
| 57 | default: '-e notready' |
| 58 | description: 'test tags' |
| 59 | |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 60 | - string: |
| 61 | name: extraHelmFlags |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 62 | default: '--set defaults.image_tag={default-image-tag},onu=2,pon=2' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 63 | description: 'Helm flags to pass to ./voltha up' |
| 64 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 65 | - string: |
| 66 | name: robotVarFile |
| 67 | default: 'bbsim-kind-2x2.yaml' |
| 68 | description: 'Pod config file to use for tests' |
| 69 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 70 | project-type: pipeline |
| 71 | concurrent: false |
| 72 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 73 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 74 | |
| 75 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 76 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 77 | TZ=America/Los_Angeles |
Andy Bavier | c08e4d2 | 2019-09-18 10:08:12 -0700 | [diff] [blame] | 78 | H/30 * * * * |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 79 | |
| 80 | - job-template: |
| 81 | id: 'voltha-patch-test' |
Kailash | 53d8672 | 2019-09-05 09:08:41 -0700 | [diff] [blame] | 82 | name: '{project}_sanity-system-test' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 83 | |
| 84 | description: | |
| 85 | <!-- Managed by Jenkins Job Builder --> |
| 86 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 87 | E2E Validation for Voltha 2.X |
| 88 | |
| 89 | properties: |
| 90 | - cord-infra-properties: |
| 91 | build-days-to-keep: '{build-days-to-keep}' |
| 92 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 93 | |
| 94 | wrappers: |
| 95 | - lf-infra-wrappers: |
| 96 | build-timeout: '{build-timeout}' |
| 97 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 98 | |
| 99 | parameters: |
| 100 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 101 | name: buildNode |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 102 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 103 | description: 'Name of the Jenkins node to run the job on' |
| 104 | |
| 105 | - string: |
| 106 | name: manifestUrl |
| 107 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 108 | description: 'URL to the repo manifest' |
| 109 | |
| 110 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 111 | name: manifestBranch |
| 112 | default: '$GERRIT_BRANCH' |
| 113 | description: 'Name of the repo branch to use' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 114 | |
| 115 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 116 | name: gerritProject |
| 117 | default: '$GERRIT_PROJECT' |
| 118 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 119 | |
| 120 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 121 | name: gerritChangeNumber |
| 122 | default: '$GERRIT_CHANGE_NUMBER' |
| 123 | description: 'Changeset number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 124 | |
| 125 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 126 | name: gerritPatchsetNumber |
| 127 | default: '$GERRIT_PATCHSET_NUMBER' |
| 128 | description: 'PatchSet number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 129 | |
| 130 | - string: |
| 131 | name: numOnus |
| 132 | default: '1' |
| 133 | description: 'Number of onus per pon port' |
| 134 | |
| 135 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 136 | name: emulationMode |
| 137 | default: '--set emulation_mode=both' |
| 138 | description: 'Emulation for BBSIM (both|aaa)' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 139 | |
| 140 | - string: |
| 141 | name: testTimeout |
| 142 | default: '90' |
| 143 | description: 'timeout for olt/onu validations' |
| 144 | |
| 145 | - string: |
| 146 | name: testTags |
| 147 | default: '-e notready' |
| 148 | description: 'test tags' |
| 149 | |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 150 | - string: |
| 151 | name: extraHelmFlags |
| 152 | default: '--set defaults.image_tag=$GERRIT_BRANCH' |
| 153 | description: 'Helm flags to pass to ./voltha up' |
| 154 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 155 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 156 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 157 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 158 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 159 | |
| 160 | triggers: |
| 161 | - cord-infra-gerrit-trigger-patchset: |
| 162 | gerrit-server-name: '{gerrit-server-name}' |
Kailash | 53d8672 | 2019-09-05 09:08:41 -0700 | [diff] [blame] | 163 | project-regexp: '^{project}$' |
| 164 | branch-regexp: '{branch-regexp}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 165 | dependency-jobs: '{dependency-jobs}' |
| 166 | file-include-regexp: '{all-files-regexp}' |