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}}" |
Jakub Josef | ca7e456 | 2017-05-24 11:40:35 +0200 | [diff] [blame] | 30 | STACK_INSTALL: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 31 | type: string |
| 32 | default: "{{install}}" |
Jakub Josef | ca7e456 | 2017-05-24 11:40:35 +0200 | [diff] [blame] | 33 | STACK_TEST: |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 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 | |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 37 | STACK_TEMPLATE_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 38 | type: string |
Tomáš Kukrál | cf72c8d | 2017-04-19 21:50:05 +0200 | [diff] [blame] | 39 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 40 | STACK_TEMPLATE_CREDENTIALS: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 41 | type: string |
| 42 | default: "gerrit" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 43 | STACK_TEMPLATE_BRANCH: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 44 | type: string |
Tomáš Kukrál | 394cdbf | 2017-03-29 16:35:37 +0200 | [diff] [blame] | 45 | default: "master" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 46 | STACK_NAME: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 47 | type: string |
| 48 | description: Heat stack name. Will be generated if missing. |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 49 | STACK_TEMPLATE: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 50 | type: string |
| 51 | default: "{{lab}}" |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 52 | STACK_DELETE: |
| 53 | type: boolean |
| 54 | default: 'true' |
| 55 | description: "Don't enable it if you need to use the lab after" |
| 56 | STACK_REUSE: |
| 57 | type: boolean |
| 58 | default: 'false' |
Jakub Josef | ca7e456 | 2017-05-24 11:40:35 +0200 | [diff] [blame] | 59 | STACK_CLEANUP_JOB: |
| 60 | type: string |
Jakub Josef | 1c27123 | 2017-06-05 11:39:34 +0200 | [diff] [blame] | 61 | default: 'deploy-stack-cleanup' |
Jakub Josef | 43f3443 | 2017-05-23 19:16:49 +0200 | [diff] [blame] | 62 | # heat |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 63 | HEAT_STACK_ENVIRONMENT: |
| 64 | type: string |
Tomáš Kukrál | 4773a49 | 2017-06-22 17:35:04 +0200 | [diff] [blame^] | 65 | default: "devcloud" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 66 | HEAT_STACK_ZONE: |
| 67 | type: string |
Tomáš Kukrál | 4773a49 | 2017-06-22 17:35:04 +0200 | [diff] [blame^] | 68 | default: "mcp-mk" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 69 | HEAT_STACK_PUBLIC_NET: |
| 70 | type: string |
Tomáš Kukrál | 4773a49 | 2017-06-22 17:35:04 +0200 | [diff] [blame^] | 71 | default: "public" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 72 | |
| 73 | # salt master |
| 74 | SALT_MASTER_CREDENTIALS: |
| 75 | type: string |
| 76 | default: "salt-qa-credentials" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 77 | SALT_MASTER_URL: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 78 | type: string |
Filip Pytloun | aa45601 | 2017-03-24 12:49:25 +0100 | [diff] [blame] | 79 | default: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 80 | |
| 81 | # openstack api |
| 82 | OPENSTACK_API_URL: |
| 83 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 84 | default: "https://cloud-cz.bud.mirantis.net:5000" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 85 | OPENSTACK_API_CREDENTIALS: |
| 86 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 87 | default: "openstack-devcloud-credentials" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 88 | OPENSTACK_API_PROJECT: |
| 89 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 90 | default: "mcp-mk" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 91 | OPENSTACK_API_CLIENT: |
| 92 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 93 | default: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 94 | OPENSTACK_API_VERSION: |
| 95 | type: string |
Tomáš Kukrál | f083e81 | 2017-06-21 19:14:11 +0200 | [diff] [blame] | 96 | default: "3" |
Matthew Mosesohn | 3401f0d | 2017-05-30 12:28:59 +0300 | [diff] [blame] | 97 | OPENSTACK_API_PROJECT_DOMAIN: |
| 98 | type: string |
| 99 | default: "default" |
| 100 | OPENSTACK_API_PROJECT_ID: |
| 101 | type: string |
| 102 | default: "" |
| 103 | OPENSTACK_USER_DOMAIN: |
kairat_kushaev | 12b8d1f | 2017-05-18 17:49:33 +0400 | [diff] [blame] | 104 | type: string |
| 105 | default: "default" |
Matthew Mosesohn | 480aa32 | 2017-06-01 18:46:12 +0300 | [diff] [blame] | 106 | OPENSTACK_API_USER_DOMAIN: |
kairat_kushaev | 12b8d1f | 2017-05-18 17:49:33 +0400 | [diff] [blame] | 107 | type: string |
| 108 | default: "default" |
Filip Pytloun | 260a950 | 2017-03-16 12:47:22 +0100 | [diff] [blame] | 109 | |
| 110 | # k8s setttings |
| 111 | K8S_API_SERVER: |
| 112 | type: string |
| 113 | default: "http://127.0.0.1:8080" |
| 114 | K8S_CONFORMANCE_IMAGE: |
| 115 | type: string |
| 116 | default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.5.1-3_1482332392819" |
| 117 | |
| 118 | # Tempest settings |
| 119 | TEMPEST_IMAGE_LINK: |
| 120 | type: string |
| 121 | default: "sandbox-docker-prod-local.docker.mirantis.net/mirantis/rally_tempest:0.1" |
| 122 | |
Jakub Josef | 89d22cb | 2017-03-23 16:05:30 +0100 | [diff] [blame] | 123 | ASK_ON_ERROR: |
| 124 | type: boolean |
| 125 | default: 'false' |
| 126 | |