Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 1 | --- |
| 2 | # xos-integration test jobs |
| 3 | |
| 4 | - project: |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 5 | name: xos-integration-tests |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 6 | |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 7 | project-name: 'xos-integration-tests' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 8 | |
| 9 | jobs: |
| 10 | - 'data-model-scale' |
| 11 | - 'data-migrations' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 12 | - 'data-backup' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 13 | - 'att-wf' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 14 | |
| 15 | - job-template: |
| 16 | id: 'data-model-scale' |
| 17 | name: 'xos-data-model-scale' |
| 18 | |
| 19 | description: | |
| 20 | <!-- Managed by Jenkins Job Builder --> |
| 21 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 22 | |
| 23 | properties: |
| 24 | - cord-infra-properties: |
| 25 | build-days-to-keep: '{build-days-to-keep}' |
| 26 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 27 | |
| 28 | wrappers: |
| 29 | - lf-infra-wrappers: |
| 30 | build-timeout: '{build-timeout}' |
| 31 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 32 | |
| 33 | parameters: |
| 34 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 35 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 36 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 37 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 38 | |
| 39 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 40 | name: manifestUrl |
| 41 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 42 | description: 'URL to the repo manifest' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 43 | |
| 44 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 45 | name: manifestBranch |
| 46 | default: 'master' |
| 47 | description: 'Name of the repo branch to use' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 48 | |
| 49 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 50 | name: TestDir |
| 51 | default: 'xos-scale-tests' |
| 52 | description: 'Directory where tests reside' |
Kailash | c47d9c5 | 2019-03-05 13:10:47 -0800 | [diff] [blame] | 53 | |
| 54 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 55 | name: TestCommand |
| 56 | default: 'robot -d Log -T -v xos_chameleon_url:127.0.0.1 -v xos_chameleon_port:30006 -v cord_kafka:\$CORD_KAFKA_IP -v num_olts:10 -v num_onus:1 -v num_pon_ports:10 -v timeout:360s xos-scale-att-workflow.robot' |
| 57 | description: 'Exact command to execute the tests including arguments' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 58 | |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 59 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 60 | name: notificationEmail |
| 61 | default: 'kailash@opennetworking.org, teo@opennetworking.org' |
| 62 | description: '' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 63 | |
| 64 | project-type: pipeline |
| 65 | concurrent: false |
| 66 | |
| 67 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 68 | |
| 69 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 70 | - timed: | |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 71 | TZ=America/Los_Angeles |
| 72 | H 0,12 * * * |
| 73 | |
| 74 | - job-template: |
| 75 | id: 'data-migrations' |
| 76 | name: 'xos-data-migrations-test' |
| 77 | |
| 78 | description: | |
| 79 | <!-- Managed by Jenkins Job Builder --> |
| 80 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 81 | |
| 82 | properties: |
| 83 | - cord-infra-properties: |
| 84 | build-days-to-keep: '{build-days-to-keep}' |
| 85 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 86 | |
| 87 | wrappers: |
| 88 | - lf-infra-wrappers: |
| 89 | build-timeout: '{build-timeout}' |
| 90 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 91 | |
| 92 | parameters: |
| 93 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 94 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 95 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 96 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 97 | |
| 98 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 99 | name: manifestUrl |
| 100 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 101 | description: 'URL to the repo manifest' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 102 | |
| 103 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 104 | name: manifestBranch |
| 105 | default: 'master' |
| 106 | description: 'Name of the repo branch to use' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 107 | |
| 108 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 109 | name: TestDir |
| 110 | default: 'xos-migration-tests' |
| 111 | description: 'Directory where tests reside' |
Kailash | c47d9c5 | 2019-03-05 13:10:47 -0800 | [diff] [blame] | 112 | |
| 113 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 114 | name: TestCommand |
| 115 | default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot' |
| 116 | description: 'Exact command to execute the tests including arguments' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 117 | |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 118 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 119 | name: notificationEmail |
| 120 | default: 'kailash@opennetworking.org, smbaker@opennetworking.org' |
| 121 | description: '' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 122 | |
| 123 | project-type: pipeline |
| 124 | concurrent: false |
| 125 | |
| 126 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 127 | |
| 128 | triggers: |
| 129 | - reverse: |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 130 | jobs: 'docker-publish_xos' |
| 131 | result: 'success' |
| 132 | |
| 133 | - job-template: |
| 134 | id: 'data-backup' |
| 135 | name: 'xos-data-backup-test' |
| 136 | |
| 137 | description: | |
| 138 | <!-- Managed by Jenkins Job Builder --> |
| 139 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 140 | |
| 141 | properties: |
| 142 | - cord-infra-properties: |
| 143 | build-days-to-keep: '{build-days-to-keep}' |
| 144 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 145 | |
| 146 | wrappers: |
| 147 | - lf-infra-wrappers: |
| 148 | build-timeout: '{build-timeout}' |
| 149 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 150 | |
| 151 | parameters: |
| 152 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 153 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 154 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 155 | description: 'Name of the Jenkins node to run the job on' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 156 | |
| 157 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 158 | name: manifestUrl |
| 159 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 160 | description: 'URL to the repo manifest' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 161 | |
| 162 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 163 | name: manifestBranch |
| 164 | default: 'master' |
| 165 | description: 'Name of the repo branch to use' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 166 | |
| 167 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 168 | name: TestDir |
| 169 | default: 'xos-backup-tests' |
| 170 | description: 'Directory where tests reside' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 171 | |
| 172 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 173 | name: TestCommand |
| 174 | default: 'robot -d Log -T xos-backup.robot' |
| 175 | description: 'Exact command to execute the tests including arguments' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 176 | |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 177 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 178 | name: notificationEmail |
| 179 | default: 'kailash@opennetworking.org, smbaker@opennetworking.org' |
| 180 | description: '' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 181 | |
| 182 | project-type: pipeline |
| 183 | concurrent: false |
| 184 | |
| 185 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 186 | |
| 187 | triggers: |
| 188 | - reverse: |
| 189 | jobs: 'docker-publish_xos' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 190 | result: 'success' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 191 | |
| 192 | - job-template: |
| 193 | id: 'att-wf' |
| 194 | name: 'att-workflow-validation-test' |
| 195 | |
| 196 | description: | |
| 197 | <!-- Managed by Jenkins Job Builder --> |
| 198 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 199 | |
| 200 | properties: |
| 201 | - cord-infra-properties: |
| 202 | build-days-to-keep: '{build-days-to-keep}' |
| 203 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 204 | |
| 205 | wrappers: |
| 206 | - lf-infra-wrappers: |
| 207 | build-timeout: '{build-timeout}' |
| 208 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 209 | |
| 210 | parameters: |
| 211 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 212 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 213 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 214 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 215 | |
| 216 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 217 | name: manifestUrl |
| 218 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 219 | description: 'URL to the repo manifest' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 220 | |
| 221 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 222 | name: manifestBranch |
| 223 | default: 'master' |
| 224 | description: 'Name of the repo branch to use' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 225 | |
| 226 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 227 | name: service |
| 228 | default: 'att-workflow-driver' |
| 229 | description: 'Name of the service being tested' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 230 | |
| 231 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 232 | name: helmChart |
| 233 | default: 'workflows/att-workflow' |
| 234 | description: 'Directory/name of the service helm-chart' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 235 | |
| 236 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 237 | name: TestDir |
| 238 | default: 'xos-att-workflow-driver-tests' |
| 239 | description: 'Directory where tests reside' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 240 | |
| 241 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 242 | name: TestCommand |
| 243 | default: 'robot -d Log -T -v server_ip:127.0.0.1 -v server_port:30006 -v cord_kafka:\$CORD_KAFKA_IP ATT_Workflow.robot' |
| 244 | description: 'Exact command to execute the tests including arguments' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 245 | |
| 246 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 247 | name: notificationEmail |
| 248 | default: 'kailash@opennetworking.org, teo@opennetworking.org' |
| 249 | description: '' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 250 | |
| 251 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 252 | name: InstallService |
| 253 | default: true |
| 254 | description: 'Set to true when testing a particular xos-service' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 255 | |
| 256 | project-type: pipeline |
| 257 | concurrent: false |
| 258 | |
| 259 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 260 | |
| 261 | triggers: |
| 262 | - reverse: |
| 263 | jobs: 'docker-publish_att-workflow-driver' |
| 264 | result: 'success' |