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: |
| 34 | name: executorNode |
| 35 | default: 'qct-pod2-node1' |
| 36 | description: 'Name of the Jenkins node to run the job on' |
| 37 | |
| 38 | - string: |
| 39 | name: manifestUrl |
| 40 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 41 | description: 'URL to the repo manifest' |
| 42 | |
| 43 | - string: |
| 44 | name: manifestBranch |
| 45 | default: 'master' |
| 46 | description: 'Name of the repo branch to use' |
| 47 | |
| 48 | - string: |
| 49 | name: deploymentConfig |
| 50 | default: 'bbsim-voltha-1.6.yml' |
| 51 | description: 'kubernetes configurations file' |
| 52 | |
| 53 | - string: |
| 54 | name: OnuCount |
| 55 | default: '16' |
| 56 | description: 'Number of ONUs per pon port' |
| 57 | |
| 58 | - string: |
| 59 | name: EmulationMode |
| 60 | default: '--set emulation_mode=default' |
| 61 | description: 'Emulation for BBSIM (both|aaa|default)' |
| 62 | |
| 63 | - string: |
| 64 | name: TestTags |
| 65 | default: '' |
| 66 | description: 'Tests to include/exclude. eg "-e serviceinstances"' |
| 67 | |
| 68 | - string: |
| 69 | name: TestTimeout |
| 70 | default: '300s' |
| 71 | description: 'timeout for each test case (increase as you scale up)' |
| 72 | |
Kailash | aad0e71 | 2019-03-22 20:42:07 -0700 | [diff] [blame] | 73 | - bool: |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 74 | name: ArchiveLogs |
| 75 | default: false |
| 76 | description: 'Archive all pod logs after test run. Default to false as logs are very large' |
| 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: |
| 104 | name: executorNode |
Kailash | e4ac286 | 2019-03-21 12:03:40 -0700 | [diff] [blame] | 105 | default: 'qct-pod2-node1' |
Kailash | 46a2a9a | 2019-01-23 12:39:04 -0800 | [diff] [blame] | 106 | description: 'Name of the Jenkins node to run the job on' |
| 107 | |
| 108 | - string: |
| 109 | name: manifestUrl |
| 110 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 111 | description: 'URL to the repo manifest' |
| 112 | |
| 113 | - string: |
| 114 | name: manifestBranch |
| 115 | default: 'master' |
| 116 | description: 'Name of the repo branch to use' |
| 117 | |
Kailash | ff5c540 | 2019-01-28 15:47:54 -0800 | [diff] [blame] | 118 | - string: |
| 119 | name: deploymentConfig |
| 120 | default: 'bbsim-voltha-master.yml' |
| 121 | description: 'kubernetes configurations file' |
| 122 | |
Kailash | f2688e0 | 2019-03-18 21:11:13 -0700 | [diff] [blame] | 123 | - string: |
| 124 | name: OnuCount |
| 125 | default: '16' |
| 126 | description: 'Number of ONUs per pon port' |
| 127 | |
Kailash | e4ac286 | 2019-03-21 12:03:40 -0700 | [diff] [blame] | 128 | - string: |
| 129 | name: EmulationMode |
| 130 | default: '--set emulation_mode=default' |
Kailash | f137544 | 2019-03-21 18:02:58 -0700 | [diff] [blame] | 131 | description: 'Emulation for BBSIM (both|aaa|default)' |
| 132 | |
| 133 | - string: |
Kailash | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 134 | name: TestTags |
| 135 | default: '' |
| 136 | description: 'Tests to include/exclude. eg "-e serviceinstances"' |
| 137 | |
| 138 | - string: |
Kailash | f137544 | 2019-03-21 18:02:58 -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 | 595a27e | 2019-03-22 19:53:14 -0700 | [diff] [blame] | 143 | - string: |
| 144 | name: ArchiveLogs |
| 145 | default: false |
| 146 | description: 'Archive all pod logs after test run. Default to false as logs are very large' |
| 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 |