| --- |
| # voltha 2.0 tests |
| |
| - project: |
| name: voltha-e2e |
| |
| project-name: '{name}' |
| |
| jobs: |
| - 'voltha-periodic-test': |
| name: 'voltha-system-tests' |
| pipeline: 'voltha-go-tests.groovy' |
| default-image-tag: 'voltha-2.1' |
| - 'voltha-periodic-test-new-bbsim': |
| name: 'voltha-system-tests-new-bbsim' |
| pipeline: 'voltha-go-tests-new-bbsim.groovy' |
| default-image-tag: 'voltha-2.1' |
| - 'voltha-periodic-test': |
| name: 'voltha-system-tests-master' |
| pipeline: 'voltha-go-tests.groovy' |
| default-image-tag: 'master' |
| |
| - job-template: |
| id: 'voltha-periodic-test' |
| name: '{name}' |
| |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| E2E Validation for Voltha 2.X |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: '{build-timeout}' |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| parameters: |
| - string: |
| name: executorNode |
| default: 'ubuntu16.04-basebuild-4c-8g' |
| description: 'Name of the Jenkins node to run the job on' |
| |
| - string: |
| name: numOnus |
| default: '1' |
| description: 'Number of onus per pon port' |
| |
| - string: |
| name: emulationMode |
| default: '--set emulation_mode=both' |
| description: 'Emulation for BBSIM (both|aaa)' |
| |
| - string: |
| name: testTimeout |
| default: '90' |
| description: 'timeout for olt/onu validations' |
| |
| - string: |
| name: testTags |
| default: '-e notready' |
| description: 'test tags' |
| |
| - string: |
| name: extraHelmFlags |
| default: '--set defaults.image_tag={default-image-tag},images.afrouter.tag=master,images.afrouterd.tag=master,wpa_wait=10,dhcp_wait=10' |
| description: 'Helm flags to pass to ./voltha up' |
| |
| project-type: pipeline |
| concurrent: false |
| |
| dsl: !include-raw-escape: pipeline/{pipeline} |
| |
| triggers: |
| - timed: | |
| TZ=America/Los_Angeles |
| H/30 * * * * |
| |
| - job-template: |
| id: 'voltha-periodic-test-new-bbsim' |
| name: '{name}' |
| |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| E2E Validation for Voltha 2.X and the new BBSim |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: '{build-timeout}' |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| parameters: |
| - string: |
| name: executorNode |
| default: 'ubuntu16.04-basebuild-4c-8g' |
| description: 'Name of the Jenkins node to run the job on' |
| |
| - string: |
| name: numOnus |
| default: '1' |
| description: 'Number of onus per pon port' |
| |
| - string: |
| name: testTimeout |
| default: '90' |
| description: 'timeout for olt/onu validations' |
| |
| - string: |
| name: testTags |
| default: '-e notready' |
| description: 'test tags' |
| |
| - string: |
| name: extraHelmFlags |
| default: '--set defaults.image_tag={default-image-tag},images.afrouter.tag=master,images.afrouterd.tag=master' |
| description: 'Helm flags to pass to ./voltha up' |
| |
| project-type: pipeline |
| concurrent: false |
| |
| dsl: !include-raw-escape: pipeline/{pipeline} |
| |
| triggers: |
| - timed: | |
| TZ=America/Los_Angeles |
| H/30 * * * * |
| |
| - job-template: |
| id: 'voltha-patch-test' |
| name: '{project}_sanity-system-test' |
| |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| E2E Validation for Voltha 2.X |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: '{build-timeout}' |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| parameters: |
| - string: |
| name: executorNode |
| default: 'ubuntu16.04-basebuild-4c-8g' |
| description: 'Name of the Jenkins node to run the job on' |
| |
| - string: |
| name: manifestUrl |
| default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| description: 'URL to the repo manifest' |
| |
| - string: |
| name: manifestBranch |
| default: '$GERRIT_BRANCH' |
| description: 'Name of the repo branch to use' |
| |
| - string: |
| name: gerritProject |
| default: '$GERRIT_PROJECT' |
| description: 'Name of the Gerrit project' |
| |
| - string: |
| name: gerritChangeNumber |
| default: '$GERRIT_CHANGE_NUMBER' |
| description: 'Changeset number in Gerrit' |
| |
| - string: |
| name: gerritPatchsetNumber |
| default: '$GERRIT_PATCHSET_NUMBER' |
| description: 'PatchSet number in Gerrit' |
| |
| - string: |
| name: numOnus |
| default: '1' |
| description: 'Number of onus per pon port' |
| |
| - string: |
| name: emulationMode |
| default: '--set emulation_mode=both' |
| description: 'Emulation for BBSIM (both|aaa)' |
| |
| - string: |
| name: testTimeout |
| default: '90' |
| description: 'timeout for olt/onu validations' |
| |
| - string: |
| name: testTags |
| default: '-e notready' |
| description: 'test tags' |
| |
| project-type: pipeline |
| concurrent: true |
| |
| dsl: !include-raw-escape: pipeline/{pipeline} |
| |
| triggers: |
| - cord-infra-gerrit-trigger-patchset: |
| gerrit-server-name: '{gerrit-server-name}' |
| project-regexp: '^{project}$' |
| branch-regexp: '{branch-regexp}' |
| dependency-jobs: '{dependency-jobs}' |
| file-include-regexp: '{all-files-regexp}' |