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