Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 1 | --- |
| 2 | # bbsim test job |
| 3 | |
| 4 | - project: |
| 5 | name: bbsim-test |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 10 | - 'bbsim-validation-voltha-1.6' |
| 11 | - 'bbsim-validation-master' |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 12 | |
| 13 | - job-template: |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 14 | id: 'bbsim-validation-voltha-1.6' |
| 15 | name: 'BBSIM-Validation-Voltha-1.6' |
| 16 | |
| 17 | description: | |
| 18 | <!-- Managed by Jenkins Job Builder --> |
| 19 | Created by {id} job-template from ci-management/jjb/bbsim-validation.yaml <br /><br /> |
| 20 | Tests run for validation of BBSIM. Tests reside in the helm chart template |
| 21 | |
| 22 | properties: |
| 23 | - cord-infra-properties: |
| 24 | build-days-to-keep: '{build-days-to-keep}' |
| 25 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 26 | |
| 27 | wrappers: |
| 28 | - lf-infra-wrappers: |
| 29 | build-timeout: '{build-timeout}' |
| 30 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 31 | |
| 32 | parameters: |
| 33 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 34 | name: buildNode |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 35 | default: 'qct-pod2-node1' |
| 36 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 37 | |
| 38 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 39 | name: manifestUrl |
| 40 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 41 | description: 'URL to the repo manifest' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 42 | |
| 43 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 44 | name: manifestBranch |
| 45 | default: 'master' |
| 46 | description: 'Name of the repo branch to use' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 47 | |
| 48 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 49 | name: deploymentConfig |
| 50 | default: 'bbsim-voltha-1.6.yml' |
| 51 | description: 'kubernetes configurations file' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 52 | |
| 53 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 54 | name: OnuCount |
| 55 | default: '16' |
| 56 | description: 'Number of ONUs per pon port' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 57 | |
| 58 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 59 | name: EmulationMode |
| 60 | default: '--set emulation_mode=both' |
| 61 | description: 'Emulation for BBSIM (both|aaa)' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 62 | |
| 63 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 64 | name: TestTags |
| 65 | default: '' |
| 66 | description: 'Tests to include/exclude. eg "-e serviceinstances"' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 67 | |
| 68 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 69 | name: TestTimeout |
| 70 | default: '300s' |
| 71 | description: 'timeout for each test case (increase as you scale up)' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 72 | |
Kailash | aad0e71 | 2019-03-22 20:42:07 -0700 | [diff] [blame] | 73 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 74 | name: ArchiveLogs |
| 75 | default: true |
| 76 | description: 'Archive all pod logs after test run' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 77 | |
| 78 | project-type: pipeline |
| 79 | concurrent: false |
| 80 | |
| 81 | dsl: !include-raw-escape: pipeline/bbsim-validation.groovy |
| 82 | |
| 83 | - job-template: |
| 84 | id: 'bbsim-validation-master' |
| 85 | name: 'BBSIM-Validation-Voltha-master' |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 86 | |
| 87 | description: | |
| 88 | <!-- Managed by Jenkins Job Builder --> |
| 89 | Created by {id} job-template from ci-management/jjb/bbsim-validation.yaml <br /><br /> |
| 90 | Tests run for validation of BBSIM. Tests reside in the helm chart template |
| 91 | |
| 92 | properties: |
| 93 | - cord-infra-properties: |
| 94 | build-days-to-keep: '{build-days-to-keep}' |
| 95 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 96 | |
| 97 | wrappers: |
| 98 | - lf-infra-wrappers: |
| 99 | build-timeout: '{build-timeout}' |
| 100 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 101 | |
| 102 | parameters: |
| 103 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 104 | name: buildNode |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 105 | default: 'qct-pod2-node1' |
| 106 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 107 | |
| 108 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 109 | name: manifestUrl |
| 110 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 111 | description: 'URL to the repo manifest' |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 112 | |
| 113 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 114 | name: manifestBranch |
| 115 | default: 'master' |
| 116 | description: 'Name of the repo branch to use' |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 117 | |
Kailash | ff5c540 | 2019-01-28 15:47:54 -0800 | [diff] [blame] | 118 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 119 | name: deploymentConfig |
| 120 | default: 'bbsim-voltha-master.yml' |
| 121 | description: 'kubernetes configurations file' |
Kailash | ff5c540 | 2019-01-28 15:47:54 -0800 | [diff] [blame] | 122 | |
Kailash | f2688e0 | 2019-03-18 21:11:13 -0700 | [diff] [blame] | 123 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 124 | name: OnuCount |
| 125 | default: '16' |
| 126 | description: 'Number of ONUs per pon port' |
Kailash | f2688e0 | 2019-03-18 21:11:13 -0700 | [diff] [blame] | 127 | |
Kailash | e4ac286 | 2019-03-21 12:03:40 -0700 | [diff] [blame] | 128 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 129 | name: EmulationMode |
| 130 | default: '--set emulation_mode=both' |
| 131 | description: 'Emulation for BBSIM (both|aaa)' |
Kailash | f137544 | 2019-03-21 18:02:58 -0700 | [diff] [blame] | 132 | |
| 133 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 134 | name: TestTags |
| 135 | default: '' |
| 136 | description: 'Tests to include/exclude. eg "-e serviceinstances"' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 137 | |
| 138 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 139 | name: TestTimeout |
| 140 | default: '300s' |
| 141 | description: 'timeout for each test case (increase as you scale up)' |
Kailash | e4ac286 | 2019-03-21 12:03:40 -0700 | [diff] [blame] | 142 | |
Kailash | 4b945ac | 2019-04-10 11:15:50 -0700 | [diff] [blame] | 143 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 144 | name: ArchiveLogs |
| 145 | default: true |
| 146 | description: 'Archive all pod logs after test run' |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 147 | |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 148 | project-type: pipeline |
| 149 | concurrent: false |
| 150 | |
| 151 | dsl: !include-raw-escape: pipeline/bbsim-validation.groovy |