Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 1 | --- |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame^] | 2 | # VOLTHA-Automated-Tests |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 3 | |
| 4 | - project: |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame^] | 5 | name: voltha-atests |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 6 | |
| 7 | project-name: 'voltha' |
| 8 | |
| 9 | jobs: |
| 10 | - 'voltha-atest-provisioning' |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame^] | 11 | - 'voltha-atest-bbsim' |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 12 | |
| 13 | - job-template: |
| 14 | id: voltha-atest-provisioning |
| 15 | name: 'voltha-atest-provisioning' |
| 16 | description: | |
| 17 | Created by {id} job-template from ci-management/jjb/voltha-atest-provisioning.yaml |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame^] | 18 | Voltha automated tests run per commit. Voltha testing with ponsim to validate voltha+ponsim |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 19 | |
| 20 | triggers: |
| 21 | - cord-infra-gerrit-trigger-patchset: |
| 22 | gerrit-server-name: '{gerrit-server-name}' |
| 23 | project-regexp: 'voltha' |
| 24 | branch-regexp: '{supported-branches-regexp}' |
| 25 | dependency-jobs: '{dependency-jobs}' |
| 26 | file-include-regexp: '{all-files-regexp}' |
| 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: 'qct-pod3-voltha-testing' |
| 42 | description: 'Name of the Jenkins node to run the job on' |
| 43 | |
| 44 | - string: |
| 45 | name: manifestUrl |
| 46 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 47 | description: 'URL to the repo manifest' |
| 48 | |
| 49 | - string: |
| 50 | name: manifestBranch |
| 51 | default: 'master' |
| 52 | description: 'Name of the repo branch to use' |
| 53 | |
| 54 | - string: |
| 55 | name: gerritChangeNumber |
| 56 | default: '$GERRIT_CHANGE_NUMBER' |
| 57 | description: 'Changeset number in Gerrit' |
| 58 | |
| 59 | - string: |
| 60 | name: gerritPatchsetNumber |
| 61 | default: '$GERRIT_PATCHSET_NUMBER' |
| 62 | description: 'PatchSet number in Gerrit' |
| 63 | |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame^] | 64 | - bool: |
| 65 | name: BuildVoltha |
| 66 | default: true |
| 67 | description: 'Build modified voltha component' |
| 68 | |
| 69 | - bool: |
| 70 | name: BuildBbsim |
| 71 | default: false |
| 72 | description: 'Build modified bbsim component' |
| 73 | |
| 74 | project-type: pipeline |
| 75 | concurrent: false |
| 76 | |
| 77 | dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy |
| 78 | |
| 79 | - job-template: |
| 80 | id: voltha-atest-bbsim |
| 81 | name: 'voltha-atest-bbsim' |
| 82 | description: | |
| 83 | Created by {id} job-template from ci-management/jjb/voltha-atest-provisioning.yaml |
| 84 | Voltha automated tests run per commit. Voltha testing with bbsim to validate voltha+bbsim |
| 85 | |
| 86 | triggers: |
| 87 | - cord-infra-gerrit-trigger-patchset: |
| 88 | gerrit-server-name: '{gerrit-server-name}' |
| 89 | project-regexp: 'bbsim' |
| 90 | branch-regexp: '{supported-branches-regexp}' |
| 91 | dependency-jobs: '{dependency-jobs}' |
| 92 | file-include-regexp: '{all-files-regexp}' |
| 93 | |
| 94 | properties: |
| 95 | - cord-infra-properties: |
| 96 | build-days-to-keep: '{build-days-to-keep}' |
| 97 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 98 | |
| 99 | wrappers: |
| 100 | - lf-infra-wrappers: |
| 101 | build-timeout: '{build-timeout}' |
| 102 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 103 | |
| 104 | parameters: |
| 105 | - string: |
| 106 | name: executorNode |
| 107 | default: 'qct-pod3-voltha-testing' |
| 108 | description: 'Name of the Jenkins node to run the job on' |
| 109 | |
| 110 | - string: |
| 111 | name: manifestUrl |
| 112 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 113 | description: 'URL to the repo manifest' |
| 114 | |
| 115 | - string: |
| 116 | name: manifestBranch |
| 117 | default: 'master' |
| 118 | description: 'Name of the repo branch to use' |
| 119 | |
| 120 | - string: |
| 121 | name: gerritChangeNumber |
| 122 | default: '$GERRIT_CHANGE_NUMBER' |
| 123 | description: 'Changeset number in Gerrit' |
| 124 | |
| 125 | - string: |
| 126 | name: gerritPatchsetNumber |
| 127 | default: '$GERRIT_PATCHSET_NUMBER' |
| 128 | description: 'PatchSet number in Gerrit' |
| 129 | |
| 130 | - string: |
| 131 | name: adapter |
| 132 | default: 'bbsim' |
| 133 | description: 'virtual olt to install with voltha' |
| 134 | |
| 135 | - bool: |
| 136 | name: BuildVoltha |
| 137 | default: false |
| 138 | description: 'Build modified voltha component' |
| 139 | |
| 140 | - bool: |
| 141 | name: BuildBbsim |
| 142 | default: true |
| 143 | description: 'Build modified bbsim component' |
| 144 | |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 145 | |
| 146 | project-type: pipeline |
| 147 | concurrent: false |
| 148 | |
| 149 | dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy |