Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 2 | _param: |
| 3 | jenkins_deploy_lab_mk_jobs: [] |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 7 | deploy_heat_template: |
| 8 | name: deploy-{{stack_type}}-{{lab}} |
| 9 | jobs: ${_param:jenkins_deploy_lab_mk_jobs} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 10 | template: |
| 11 | type: workflow-scm |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 12 | discard: |
| 13 | build: |
| 14 | keep_num: 20 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 15 | concurrent: true |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 16 | display_name: "Deploy - {{lab}} {{stack_type}} lab" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 17 | scm: |
| 18 | type: git |
| 19 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 20 | credentials: "gerrit" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 21 | script: lab-pipeline.groovy |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 22 | param: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 23 | # deployments and test settings |
| 24 | STACK_TYPE: |
| 25 | type: string |
| 26 | default: "{{stack_type}}" |
| 27 | INSTALL: |
| 28 | type: string |
| 29 | default: "{{install}}" |
| 30 | TEST: |
| 31 | type: string |
| 32 | default: "" |
| 33 | |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 34 | # heat |
| 35 | HEAT_TEMPLATE_URL: |
| 36 | type: string |
| 37 | default: "git@github.com:Mirantis/mk-lab-heat-templates.git" |
| 38 | HEAT_TEMPLATE_CREDENTIALS: |
| 39 | type: string |
| 40 | default: "gerrit" |
| 41 | HEAT_TEMPLATE_BRANCH: |
| 42 | type: string |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 43 | default: "composite" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 44 | HEAT_STACK_NAME: |
| 45 | type: string |
| 46 | description: Heat stack name. Will be generated if missing. |
| 47 | HEAT_STACK_TEMPLATE: |
| 48 | type: string |
| 49 | default: "{{lab}}" |
| 50 | HEAT_STACK_ENVIRONMENT: |
| 51 | type: string |
| 52 | default: "tcpisek" |
| 53 | HEAT_STACK_ZONE: |
| 54 | type: string |
| 55 | default: "mirantis-zone-qa" |
| 56 | HEAT_STACK_PUBLIC_NET: |
| 57 | type: string |
| 58 | default: "mirantis-private" |
| 59 | HEAT_STACK_DELETE: |
| 60 | type: boolean |
| 61 | default: 'true' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 62 | HEAT_STACK_REUSE: |
| 63 | type: boolean |
| 64 | default: 'false' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 65 | |
| 66 | # salt master |
| 67 | SALT_MASTER_CREDENTIALS: |
| 68 | type: string |
| 69 | default: "salt-qa-credentials" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 70 | SALT_MASTER_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 71 | type: string |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 72 | default: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 73 | |
| 74 | # openstack api |
| 75 | OPENSTACK_API_URL: |
| 76 | type: string |
| 77 | default: "https://vpc.tcpisek.cz:5000/v2.0" |
| 78 | OPENSTACK_API_CREDENTIALS: |
| 79 | type: string |
| 80 | default: "openstack-qa-credentials" |
| 81 | OPENSTACK_API_PROJECT: |
| 82 | type: string |
| 83 | default: "mirantis_mk20_qa" |
| 84 | OPENSTACK_API_CLIENT: |
| 85 | type: string |
| 86 | default: "liberty" |
| 87 | OPENSTACK_API_VERSION: |
| 88 | type: string |
| 89 | default: "2" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame^] | 90 | |
| 91 | # k8s setttings |
| 92 | K8S_API_SERVER: |
| 93 | type: string |
| 94 | default: "http://127.0.0.1:8080" |
| 95 | K8S_CONFORMANCE_IMAGE: |
| 96 | type: string |
| 97 | default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819" |
| 98 | |
| 99 | # Tempest settings |
| 100 | TEMPEST_IMAGE_LINK: |
| 101 | type: string |
| 102 | default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1" |
| 103 | |