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