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' |
Kailash | cddcc46 | 2019-06-25 08:42:05 -0700 | [diff] [blame] | 24 | branch-regexp: '^(master|voltha-1.7)$' |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 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 | c24db75 | 2019-05-07 14:01:40 -0700 | [diff] [blame] | 64 | - string: |
| 65 | name: adapter |
| 66 | default: '' |
| 67 | description: 'BLANK for ponsim' |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame] | 68 | - bool: |
| 69 | name: BuildVoltha |
| 70 | default: true |
| 71 | description: 'Build modified voltha component' |
| 72 | |
| 73 | - bool: |
| 74 | name: BuildBbsim |
| 75 | default: false |
| 76 | description: 'Build modified bbsim component' |
| 77 | |
| 78 | project-type: pipeline |
| 79 | concurrent: false |
| 80 | |
| 81 | dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy |
| 82 | |
| 83 | - job-template: |
| 84 | id: voltha-atest-bbsim |
| 85 | name: 'voltha-atest-bbsim' |
| 86 | description: | |
| 87 | Created by {id} job-template from ci-management/jjb/voltha-atest-provisioning.yaml |
| 88 | Voltha automated tests run per commit. Voltha testing with bbsim to validate voltha+bbsim |
| 89 | |
| 90 | triggers: |
| 91 | - cord-infra-gerrit-trigger-patchset: |
| 92 | gerrit-server-name: '{gerrit-server-name}' |
Kailash | 645eed1 | 2019-05-14 10:05:00 -0700 | [diff] [blame] | 93 | project-regexp: 'voltha-bbsim' |
Kailash | 74eed21 | 2019-05-07 09:57:59 -0700 | [diff] [blame] | 94 | branch-regexp: '{supported-branches-regexp}' |
| 95 | dependency-jobs: '{dependency-jobs}' |
| 96 | file-include-regexp: '{all-files-regexp}' |
| 97 | |
| 98 | properties: |
| 99 | - cord-infra-properties: |
| 100 | build-days-to-keep: '{build-days-to-keep}' |
| 101 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 102 | |
| 103 | wrappers: |
| 104 | - lf-infra-wrappers: |
| 105 | build-timeout: '{build-timeout}' |
| 106 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 107 | |
| 108 | parameters: |
| 109 | - string: |
| 110 | name: executorNode |
| 111 | default: 'qct-pod3-voltha-testing' |
| 112 | description: 'Name of the Jenkins node to run the job on' |
| 113 | |
| 114 | - string: |
| 115 | name: manifestUrl |
| 116 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 117 | description: 'URL to the repo manifest' |
| 118 | |
| 119 | - string: |
| 120 | name: manifestBranch |
| 121 | default: 'master' |
| 122 | description: 'Name of the repo branch to use' |
| 123 | |
| 124 | - string: |
| 125 | name: gerritChangeNumber |
| 126 | default: '$GERRIT_CHANGE_NUMBER' |
| 127 | description: 'Changeset number in Gerrit' |
| 128 | |
| 129 | - string: |
| 130 | name: gerritPatchsetNumber |
| 131 | default: '$GERRIT_PATCHSET_NUMBER' |
| 132 | description: 'PatchSet number in Gerrit' |
| 133 | |
| 134 | - string: |
| 135 | name: adapter |
| 136 | default: 'bbsim' |
| 137 | description: 'virtual olt to install with voltha' |
| 138 | |
| 139 | - bool: |
| 140 | name: BuildVoltha |
| 141 | default: false |
| 142 | description: 'Build modified voltha component' |
| 143 | |
| 144 | - bool: |
| 145 | name: BuildBbsim |
| 146 | default: true |
| 147 | description: 'Build modified bbsim component' |
| 148 | |
Kailash Khalasi | a5c0455 | 2019-01-17 18:24:11 +0000 | [diff] [blame] | 149 | |
| 150 | project-type: pipeline |
| 151 | concurrent: false |
| 152 | |
| 153 | dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy |