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