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 | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 61 | project-type: pipeline |
| 62 | concurrent: false |
| 63 | |
| 64 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 65 | |
| 66 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 67 | - timed: | |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 68 | TZ=America/Los_Angeles |
| 69 | H 0,12 * * * |
| 70 | |
| 71 | - job-template: |
| 72 | id: 'data-migrations' |
| 73 | name: 'xos-data-migrations-test' |
| 74 | |
| 75 | description: | |
| 76 | <!-- Managed by Jenkins Job Builder --> |
| 77 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 78 | |
| 79 | properties: |
| 80 | - cord-infra-properties: |
| 81 | build-days-to-keep: '{build-days-to-keep}' |
| 82 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 83 | |
| 84 | wrappers: |
| 85 | - lf-infra-wrappers: |
| 86 | build-timeout: '{build-timeout}' |
| 87 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 88 | |
| 89 | parameters: |
| 90 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 91 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 92 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 93 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 94 | |
| 95 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 96 | name: manifestUrl |
| 97 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 98 | description: 'URL to the repo manifest' |
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: manifestBranch |
| 102 | default: 'master' |
| 103 | description: 'Name of the repo branch to use' |
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: TestDir |
| 107 | default: 'xos-migration-tests' |
| 108 | description: 'Directory where tests reside' |
Kailash | c47d9c5 | 2019-03-05 13:10:47 -0800 | [diff] [blame] | 109 | |
| 110 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 111 | name: TestCommand |
| 112 | default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot' |
| 113 | description: 'Exact command to execute the tests including arguments' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 114 | |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 115 | project-type: pipeline |
| 116 | concurrent: false |
| 117 | |
| 118 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 119 | |
| 120 | triggers: |
| 121 | - reverse: |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 122 | jobs: 'docker-publish_xos' |
| 123 | result: 'success' |
| 124 | |
| 125 | - job-template: |
| 126 | id: 'data-backup' |
| 127 | name: 'xos-data-backup-test' |
| 128 | |
| 129 | description: | |
| 130 | <!-- Managed by Jenkins Job Builder --> |
| 131 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 132 | |
| 133 | properties: |
| 134 | - cord-infra-properties: |
| 135 | build-days-to-keep: '{build-days-to-keep}' |
| 136 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 137 | |
| 138 | wrappers: |
| 139 | - lf-infra-wrappers: |
| 140 | build-timeout: '{build-timeout}' |
| 141 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 142 | |
| 143 | parameters: |
| 144 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 145 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 146 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 147 | description: 'Name of the Jenkins node to run the job on' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 148 | |
| 149 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 150 | name: manifestUrl |
| 151 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 152 | description: 'URL to the repo manifest' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 153 | |
| 154 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 155 | name: manifestBranch |
| 156 | default: 'master' |
| 157 | description: 'Name of the repo branch to use' |
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: TestDir |
| 161 | default: 'xos-backup-tests' |
| 162 | description: 'Directory where tests reside' |
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: TestCommand |
| 166 | default: 'robot -d Log -T xos-backup.robot' |
| 167 | description: 'Exact command to execute the tests including arguments' |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 168 | |
Kailash | aaa5fa2 | 2019-05-01 08:52:26 -0700 | [diff] [blame] | 169 | project-type: pipeline |
| 170 | concurrent: false |
| 171 | |
| 172 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 173 | |
| 174 | triggers: |
| 175 | - reverse: |
| 176 | jobs: 'docker-publish_xos' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 177 | result: 'success' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 178 | |
| 179 | - job-template: |
| 180 | id: 'att-wf' |
| 181 | name: 'att-workflow-validation-test' |
| 182 | |
| 183 | description: | |
| 184 | <!-- Managed by Jenkins Job Builder --> |
| 185 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 186 | |
| 187 | properties: |
| 188 | - cord-infra-properties: |
| 189 | build-days-to-keep: '{build-days-to-keep}' |
| 190 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 191 | |
| 192 | wrappers: |
| 193 | - lf-infra-wrappers: |
| 194 | build-timeout: '{build-timeout}' |
| 195 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 196 | |
| 197 | parameters: |
| 198 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 199 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 200 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 201 | description: 'Name of the Jenkins node to run the job on' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 202 | |
| 203 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 204 | name: manifestUrl |
| 205 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 206 | description: 'URL to the repo manifest' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 207 | |
| 208 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 209 | name: manifestBranch |
| 210 | default: 'master' |
| 211 | description: 'Name of the repo branch to use' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 212 | |
| 213 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 214 | name: service |
| 215 | default: 'att-workflow-driver' |
| 216 | description: 'Name of the service being tested' |
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: helmChart |
| 220 | default: 'workflows/att-workflow' |
| 221 | description: 'Directory/name of the service helm-chart' |
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: TestDir |
| 225 | default: 'xos-att-workflow-driver-tests' |
| 226 | description: 'Directory where tests reside' |
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: TestCommand |
| 230 | 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' |
| 231 | description: 'Exact command to execute the tests including arguments' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 232 | |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 233 | - bool: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 234 | name: InstallService |
| 235 | default: true |
| 236 | description: 'Set to true when testing a particular xos-service' |
Kailash | 2caf2b0 | 2019-05-01 14:50:47 -0700 | [diff] [blame] | 237 | |
| 238 | project-type: pipeline |
| 239 | concurrent: false |
| 240 | |
| 241 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 242 | |
| 243 | triggers: |
| 244 | - reverse: |
| 245 | jobs: 'docker-publish_att-workflow-driver' |
| 246 | result: 'success' |