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 |
Tomáš Kukrál | 903a7f6 | 2017-04-13 13:21:30 +0200 | [diff] [blame] | 22 | trigger: |
| 23 | timer: |
| 24 | spec: "{{timer}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 25 | param: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 26 | # deployments and test settings |
| 27 | STACK_TYPE: |
| 28 | type: string |
| 29 | default: "{{stack_type}}" |
| 30 | INSTALL: |
| 31 | type: string |
| 32 | default: "{{install}}" |
| 33 | TEST: |
| 34 | type: string |
Victor Ryzhenkin | 6670f05 | 2017-03-22 14:59:18 +0400 | [diff] [blame] | 35 | default: "{{test}}" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 36 | |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 37 | # heat |
| 38 | HEAT_TEMPLATE_URL: |
| 39 | type: string |
Tomáš Kukrál | cf72c8d | 2017-04-19 21:50:05 +0200 | [diff] [blame] | 40 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 41 | HEAT_TEMPLATE_CREDENTIALS: |
| 42 | type: string |
| 43 | default: "gerrit" |
| 44 | HEAT_TEMPLATE_BRANCH: |
| 45 | type: string |
Tomáš Kukrál | 394cdbf | 2017-03-29 16:35:37 +0200 | [diff] [blame] | 46 | default: "master" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 47 | HEAT_STACK_NAME: |
| 48 | type: string |
| 49 | description: Heat stack name. Will be generated if missing. |
| 50 | HEAT_STACK_TEMPLATE: |
| 51 | type: string |
| 52 | default: "{{lab}}" |
| 53 | HEAT_STACK_ENVIRONMENT: |
| 54 | type: string |
| 55 | default: "tcpisek" |
| 56 | HEAT_STACK_ZONE: |
| 57 | type: string |
| 58 | default: "mirantis-zone-qa" |
| 59 | HEAT_STACK_PUBLIC_NET: |
| 60 | type: string |
| 61 | default: "mirantis-private" |
| 62 | HEAT_STACK_DELETE: |
| 63 | type: boolean |
| 64 | default: 'true' |
chnyda | 6160e99 | 2017-04-05 14:29:18 +0200 | [diff] [blame] | 65 | description: "Don't enable it if you need to use the lab after" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 66 | HEAT_STACK_REUSE: |
| 67 | type: boolean |
| 68 | default: 'false' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 69 | |
| 70 | # salt master |
| 71 | SALT_MASTER_CREDENTIALS: |
| 72 | type: string |
| 73 | default: "salt-qa-credentials" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 74 | SALT_MASTER_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 75 | type: string |
Filip Pytloun | aa45601 | 2017-03-24 12:49:25 +0100 | [diff] [blame] | 76 | default: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 77 | |
| 78 | # openstack api |
| 79 | OPENSTACK_API_URL: |
| 80 | type: string |
| 81 | default: "https://vpc.tcpisek.cz:5000/v2.0" |
| 82 | OPENSTACK_API_CREDENTIALS: |
| 83 | type: string |
| 84 | default: "openstack-qa-credentials" |
| 85 | OPENSTACK_API_PROJECT: |
| 86 | type: string |
| 87 | default: "mirantis_mk20_qa" |
| 88 | OPENSTACK_API_CLIENT: |
| 89 | type: string |
| 90 | default: "liberty" |
| 91 | OPENSTACK_API_VERSION: |
| 92 | type: string |
| 93 | default: "2" |
kairat_kushaev | 12b8d1f | 2017-05-18 17:49:33 +0400 | [diff] [blame^] | 94 | OPENSTACK_API_PROJECT_DOMAIN_ID: |
| 95 | type: string |
| 96 | default: "default" |
| 97 | OPENSTACK_API_USER_DOMAIN_ID: |
| 98 | type: string |
| 99 | default: "default" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 100 | |
| 101 | # k8s setttings |
| 102 | K8S_API_SERVER: |
| 103 | type: string |
| 104 | default: "http://127.0.0.1:8080" |
| 105 | K8S_CONFORMANCE_IMAGE: |
| 106 | type: string |
| 107 | default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819" |
| 108 | |
| 109 | # Tempest settings |
| 110 | TEMPEST_IMAGE_LINK: |
| 111 | type: string |
| 112 | default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1" |
| 113 | |
Jakub Josef | c7514c0 | 2017-05-17 19:03:11 +0200 | [diff] [blame] | 114 | # Salt master setup extra formulas |
| 115 | EXTRA_FORMULAS: |
| 116 | type: string |
| 117 | default: "{{extra_formulas}}" |
Jakub Josef | 89d22cb | 2017-03-23 16:05:30 +0100 | [diff] [blame] | 118 | ASK_ON_ERROR: |
| 119 | type: boolean |
| 120 | default: 'false' |
| 121 | |