Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 1 | --- |
| 2 | # xos-integration test jobs |
| 3 | |
| 4 | - project: |
| 5 | name: data-model-scale |
| 6 | |
| 7 | project-name: 'data-model-scale' |
| 8 | |
| 9 | jobs: |
| 10 | - 'data-model-scale' |
| 11 | - 'data-migrations' |
| 12 | |
| 13 | - job-template: |
| 14 | id: 'data-model-scale' |
| 15 | name: 'xos-data-model-scale' |
| 16 | |
| 17 | description: | |
| 18 | <!-- Managed by Jenkins Job Builder --> |
| 19 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 20 | |
| 21 | properties: |
| 22 | - cord-infra-properties: |
| 23 | build-days-to-keep: '{build-days-to-keep}' |
| 24 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 25 | |
| 26 | wrappers: |
| 27 | - lf-infra-wrappers: |
| 28 | build-timeout: '{build-timeout}' |
| 29 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 30 | |
| 31 | parameters: |
| 32 | - string: |
| 33 | name: executorNode |
| 34 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 35 | description: 'Name of the Jenkins node to run the job on' |
| 36 | |
| 37 | - string: |
| 38 | name: manifestUrl |
| 39 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 40 | description: 'URL to the repo manifest' |
| 41 | |
| 42 | - string: |
| 43 | name: manifestBranch |
| 44 | default: 'master' |
| 45 | description: 'Name of the repo branch to use' |
| 46 | |
| 47 | - string: |
Kailash | c47d9c5 | 2019-03-05 13:10:47 -0800 | [diff] [blame] | 48 | name: TestDir |
| 49 | default: 'xos-scale-tests' |
| 50 | description: 'Directory where tests reside' |
| 51 | |
| 52 | - string: |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 53 | name: TestCommand |
Kailash | 4462aaf | 2019-03-26 21:35:11 -0700 | [diff] [blame] | 54 | 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' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 55 | description: 'Exact command to execute the tests including arguments' |
| 56 | |
| 57 | |
| 58 | project-type: pipeline |
| 59 | concurrent: false |
| 60 | |
| 61 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 62 | |
| 63 | triggers: |
| 64 | - timed: | |
| 65 | TZ=America/Los_Angeles |
| 66 | H 0,12 * * * |
| 67 | |
| 68 | - job-template: |
| 69 | id: 'data-migrations' |
| 70 | name: 'xos-data-migrations-test' |
| 71 | |
| 72 | description: | |
| 73 | <!-- Managed by Jenkins Job Builder --> |
| 74 | Created by {id} job-template from ci-management/jjb/xos-integration-tests.yaml <br /><br /> |
| 75 | |
| 76 | properties: |
| 77 | - cord-infra-properties: |
| 78 | build-days-to-keep: '{build-days-to-keep}' |
| 79 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 80 | |
| 81 | wrappers: |
| 82 | - lf-infra-wrappers: |
| 83 | build-timeout: '{build-timeout}' |
| 84 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 85 | |
| 86 | parameters: |
| 87 | - string: |
| 88 | name: executorNode |
| 89 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 90 | description: 'Name of the Jenkins node to run the job on' |
| 91 | |
| 92 | - string: |
| 93 | name: manifestUrl |
| 94 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 95 | description: 'URL to the repo manifest' |
| 96 | |
| 97 | - string: |
| 98 | name: manifestBranch |
| 99 | default: 'master' |
| 100 | description: 'Name of the repo branch to use' |
| 101 | |
| 102 | - string: |
Kailash | c47d9c5 | 2019-03-05 13:10:47 -0800 | [diff] [blame] | 103 | name: TestDir |
| 104 | default: 'xos-migration-tests' |
| 105 | description: 'Directory where tests reside' |
| 106 | |
| 107 | - string: |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 108 | name: TestCommand |
| 109 | default: 'robot -d Log -T -v helm_chart:$WORKSPACE/cord/helm-charts/xos-services/simpleexampleservice xos-remove-service.robot xos-service-migrations.robot' |
| 110 | description: 'Exact command to execute the tests including arguments' |
| 111 | |
| 112 | |
| 113 | project-type: pipeline |
| 114 | concurrent: false |
| 115 | |
| 116 | dsl: !include-raw-escape: pipeline/xos-integration-tests.groovy |
| 117 | |
| 118 | triggers: |
| 119 | - reverse: |
Kailash | ea08469 | 2019-02-22 10:59:06 -0800 | [diff] [blame] | 120 | jobs: 'publish-imagebuilder' |
Kailash | 866e14f | 2019-02-22 10:43:23 -0800 | [diff] [blame] | 121 | result: 'success' |