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