Hardik Windlass | 0f9621d | 2021-02-24 21:23:19 +0530 | [diff] [blame] | 1 | --- |
| 2 | # voltha 2.X tests |
| 3 | |
| 4 | - project: |
| 5 | name: software-upgrades |
| 6 | project-name: '{name}' |
| 7 | |
| 8 | jobs: |
| 9 | - 'software-upgrades-test': |
| 10 | name: 'periodic-software-upgrade-test-bbsim' |
| 11 | pipeline-script: 'voltha/master/software-upgrades.groovy' |
| 12 | build-node: 'qct-pod4-node2' |
| 13 | code-branch: 'master' |
| 14 | aaa-version: '2.3.0.SNAPSHOT' |
| 15 | aaa-oar-url: 'https://oss.sonatype.org/content/groups/public/org/opencord/aaa-app/2.3.0-SNAPSHOT/aaa-app-2.3.0-20201210.223737-1.oar' |
| 16 | adapter-open-olt-image: 'voltha/voltha-openolt-adapter:3.1.3' |
| 17 | time-trigger: "H H/23 * * *" |
| 18 | |
| 19 | - job-template: |
| 20 | id: 'software-upgrades-test' |
| 21 | name: '{name}' |
| 22 | sandbox: true |
| 23 | volthaSystemTestsChange: '' |
| 24 | volthaHelmChartsChange: '' |
| 25 | kindVolthaChange: '' |
| 26 | |
| 27 | description: | |
| 28 | <!-- Managed by Jenkins Job Builder --> |
| 29 | Created by {id} job-template from ci-management/jjb/software-upgrades.yaml <br /><br /> |
| 30 | E2E Validation for Voltha 2.X |
| 31 | properties: |
| 32 | - cord-infra-properties: |
| 33 | build-days-to-keep: '{build-days-to-keep}' |
| 34 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 35 | |
| 36 | wrappers: |
| 37 | - lf-infra-wrappers: |
| 38 | build-timeout: '{build-timeout}' |
| 39 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 40 | |
| 41 | parameters: |
| 42 | - string: |
| 43 | name: buildNode |
| 44 | default: '{build-node}' |
| 45 | description: 'Name of the Jenkins node to run the job on' |
| 46 | |
| 47 | - string: |
| 48 | name: extraHelmFlags |
| 49 | default: '' |
| 50 | description: 'Helm flags to pass to ./voltha up' |
| 51 | |
| 52 | - string: |
| 53 | name: volthaSystemTestsChange |
| 54 | default: '' |
| 55 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 56 | |
| 57 | - string: |
| 58 | name: volthaHelmChartsChange |
| 59 | default: '' |
| 60 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 61 | |
| 62 | - string: |
| 63 | name: branch |
| 64 | default: '{code-branch}' |
| 65 | description: 'Name of the branch to use' |
| 66 | |
| 67 | # deprecated params (not used in master, remove after 2.6 support is dropped) |
| 68 | - string: |
| 69 | name: kindVolthaChange |
| 70 | default: '' |
| 71 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 72 | |
| 73 | - string: |
| 74 | name: onosImg |
| 75 | default: '' |
| 76 | description: 'ONOS Image to use' |
| 77 | |
| 78 | - string: |
| 79 | name: aaaVer |
| 80 | default: '{aaa-version}' |
| 81 | description: 'ONOS AAA App Version to Test Upgrade' |
| 82 | |
| 83 | - string: |
| 84 | name: aaaOarUrl |
| 85 | default: '{aaa-oar-url}' |
| 86 | description: 'ONOS AAA App OAR File Url' |
| 87 | |
| 88 | # TODO: Add other ONOS Apps |
| 89 | |
| 90 | - string: |
| 91 | name: adapterOpenOltImage |
| 92 | default: '{adapter-open-olt-image}' |
| 93 | description: 'Voltha Adapter Open OLT Component Image' |
| 94 | |
| 95 | # TODO: Add other Voltha Components |
| 96 | |
| 97 | project-type: pipeline |
| 98 | concurrent: true |
| 99 | |
| 100 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 101 | |
| 102 | triggers: |
| 103 | - timed: | |
| 104 | TZ=America/Los_Angeles |
| 105 | {time-trigger} |
| 106 | |