Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job_template: |
| 5 | deploy_heat_cicd: |
| 6 | name: deploy-heat-{{name}} |
| 7 | jobs: |
| 8 | - name: cicd-lab-dev |
| 9 | lab: cicd_lab_dev |
| 10 | template: |
| 11 | type: workflow-scm |
| 12 | concurrent: true |
| 13 | display_name: "Deploy {{name}} heat stack" |
| 14 | scm: |
| 15 | type: git |
| 16 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 17 | credentials: "gerrit" |
| 18 | script: cicd-lab-pipeline.groovy |
| 19 | param: |
| 20 | # heat |
Jakub Josef | ca1bb04 | 2017-05-25 15:54:41 +0200 | [diff] [blame] | 21 | HEAT_TEMPLATE_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 22 | type: string |
| 23 | default: "git@github.com:Mirantis/mk-lab-heat-templates.git" |
Jakub Josef | ca1bb04 | 2017-05-25 15:54:41 +0200 | [diff] [blame] | 24 | HEAT_TEMPLATE_CREDENTIALS: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 25 | type: string |
| 26 | default: "gerrit" |
Jakub Josef | ca1bb04 | 2017-05-25 15:54:41 +0200 | [diff] [blame] | 27 | HEAT_TEMPLATE_BRANCH: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 28 | type: string |
| 29 | default: "master" |
Jakub Josef | ca1bb04 | 2017-05-25 15:54:41 +0200 | [diff] [blame] | 30 | HEAT_STACK_NAME: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 31 | type: string |
| 32 | description: Heat stack name. Will be generated if missing. |
Jakub Josef | ca1bb04 | 2017-05-25 15:54:41 +0200 | [diff] [blame] | 33 | HEAT_STACK_TEMPLATE: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 34 | type: string |
| 35 | default: "{{lab}}" |
| 36 | HEAT_STACK_ENVIRONMENT: |
| 37 | type: string |
| 38 | default: "tcpisek" |
| 39 | HEAT_STACK_ZONE: |
| 40 | type: string |
| 41 | default: "mirantis-zone-qa" |
| 42 | HEAT_STACK_PUBLIC_NET: |
| 43 | type: string |
| 44 | default: "mirantis-private" |
Jakub Josef | ca1bb04 | 2017-05-25 15:54:41 +0200 | [diff] [blame] | 45 | HEAT_STACK_DELETE: |
| 46 | type: boolean |
| 47 | default: 'true' |
| 48 | description: "Delete heat stack at the end of job" |
| 49 | HEAT_STACK_REUSE: |
| 50 | type: boolean |
| 51 | default: 'false' |
| 52 | description: "Reuse existing stack and only orchestrate deployment" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 53 | |
| 54 | # salt master |
| 55 | SALT_MASTER_CREDENTIALS: |
| 56 | type: string |
| 57 | default: "salt-qa-credentials" |
| 58 | SSH_PUBLIC_KEY: |
| 59 | type: string |
| 60 | description: "User's public SSH key to be able to login when stack is deployed" |
| 61 | |
| 62 | # openstack api |
| 63 | OPENSTACK_API_URL: |
| 64 | type: string |
Jakub Josef | 04f3320 | 2017-05-30 17:53:21 +0200 | [diff] [blame^] | 65 | default: "https://vpc.tcpisek.cz:5000" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 66 | OPENSTACK_API_CREDENTIALS: |
| 67 | type: string |
| 68 | default: "openstack-qa-credentials" |
| 69 | OPENSTACK_API_PROJECT: |
| 70 | type: string |
| 71 | default: "mirantis_mk20_qa" |
| 72 | OPENSTACK_API_CLIENT: |
| 73 | type: string |
| 74 | default: "liberty" |
| 75 | OPENSTACK_API_VERSION: |
| 76 | type: string |
| 77 | default: "2" |
kairat_kushaev | 12b8d1f | 2017-05-18 17:49:33 +0400 | [diff] [blame] | 78 | OPENSTACK_API_PROJECT_DOMAIN_ID: |
| 79 | type: string |
| 80 | default: "default" |
| 81 | OPENSTACK_API_USER_DOMAIN_ID: |
| 82 | type: string |
| 83 | default: "default" |