Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | deploy_aws_k8s_kqueen_job: |
| 6 | name: deploy-aws-k8s-kqueen |
| 7 | type: workflow-scm |
| 8 | discard: |
| 9 | build: |
Jakub Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 10 | keep_num: 50 |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 11 | concurrent: true |
| 12 | display_name: "Deploy AWS K8S using kqueen" |
| 13 | scm: |
| 14 | type: git |
| 15 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 16 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 17 | credentials: ${_param:jenkins_gerrit_credentials} |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 18 | script: deploy-aws-k8s-kqueen-pipeline.groovy |
| 19 | param: |
| 20 | # deployments |
| 21 | STACK_NAME: |
| 22 | type: string |
| 23 | description: "AWS stack name - mandatory param, will be used as is" |
| 24 | STACK_COMPUTE_COUNT: |
| 25 | type: string |
| 26 | default: '2' |
| 27 | |
| 28 | STACK_TEMPLATE: |
| 29 | type: string |
| 30 | default: "k8s_ha_calico_sm" |
| 31 | STACK_TEMPLATE_URL: |
| 32 | type: string |
| 33 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
| 34 | STACK_TEMPLATE_CREDENTIALS: |
| 35 | type: string |
Ivan Berezovskiy | 76889ed | 2019-07-08 19:31:50 +0400 | [diff] [blame] | 36 | default: ${_param:jenkins_gerrit_credentials} |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 37 | STACK_TEMPLATE_BRANCH: |
| 38 | type: string |
| 39 | default: "master" |
| 40 | |
| 41 | # salt |
| 42 | SALT_MASTER_CREDENTIALS: |
| 43 | type: string |
| 44 | default: "salt-qa-credentials" |
| 45 | SALT_MASTER_URL: |
| 46 | type: string |
| 47 | default: "" |
vnaumov | 3a8c0e8 | 2018-04-25 15:10:35 +0400 | [diff] [blame] | 48 | SALT_OVERRIDES: |
| 49 | type: text |
| 50 | default: "" |
| 51 | description: YAML with overrides for Salt deployment |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 52 | |
| 53 | # aws api |
| 54 | AWS_STACK_REGION: |
| 55 | type: string |
vnaumov | ad91601 | 2018-05-11 18:26:30 +0400 | [diff] [blame] | 56 | default: "us-west-2" |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 57 | AWS_API_CREDENTIALS: |
| 58 | type: string |
vnaumov | b7316cf | 2018-05-08 14:56:00 +0400 | [diff] [blame] | 59 | default: "kqueen-aws" |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 60 | AWS_SSH_KEY: |
| 61 | type: string |
| 62 | default: "jenkins-mk" |
| 63 | KQUEEN_BUILD_ID: |
| 64 | type: string |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 65 | deploy_heat_k8s_kqueen_job: |
| 66 | name: deploy-heat-k8s-kqueen |
| 67 | type: workflow-scm |
| 68 | discard: |
| 69 | build: |
| 70 | keep_num: 50 |
| 71 | concurrent: true |
| 72 | display_name: "Deploy Heat K8S using kqueen" |
| 73 | scm: |
| 74 | type: git |
| 75 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 76 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 77 | credentials: ${_param:jenkins_gerrit_credentials} |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 78 | script: deploy-heat-k8s-kqueen-pipeline.groovy |
| 79 | param: |
| 80 | # deployments |
| 81 | STACK_NAME: |
| 82 | type: string |
| 83 | description: "AWS stack name - mandatory param, will be used as is" |
| 84 | STACK_COMPUTE_COUNT: |
| 85 | type: string |
| 86 | default: '2' |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 87 | |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 88 | STACK_TEMPLATE: |
| 89 | type: string |
Jakub Josef | eb372ea | 2018-02-01 17:34:42 +0100 | [diff] [blame] | 90 | default: "k8s_ha_calico" |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 91 | STACK_TEMPLATE_URL: |
| 92 | type: string |
| 93 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
| 94 | STACK_TEMPLATE_CREDENTIALS: |
| 95 | type: string |
Ivan Berezovskiy | 76889ed | 2019-07-08 19:31:50 +0400 | [diff] [blame] | 96 | default: ${_param:jenkins_gerrit_credentials} |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 97 | STACK_TEMPLATE_BRANCH: |
| 98 | type: string |
| 99 | default: "master" |
| 100 | |
| 101 | # salt |
| 102 | SALT_MASTER_CREDENTIALS: |
| 103 | type: string |
| 104 | default: "salt-qa-credentials" |
| 105 | SALT_MASTER_URL: |
| 106 | type: string |
| 107 | default: "" |
| 108 | |
| 109 | # heat |
| 110 | HEAT_STACK_ENVIRONMENT: |
| 111 | type: string |
| 112 | default: "devcloud" |
| 113 | HEAT_STACK_ZONE: |
| 114 | type: string |
| 115 | default: "mcp-mk" |
| 116 | HEAT_STACK_PUBLIC_NET: |
| 117 | type: string |
| 118 | default: "public" |
| 119 | |
| 120 | # openstack api |
| 121 | OPENSTACK_API_URL: |
| 122 | type: string |
| 123 | default: "https://cloud-cz.bud.mirantis.net:5000" |
| 124 | OPENSTACK_API_CREDENTIALS: |
| 125 | type: string |
| 126 | default: "openstack-devcloud-credentials" |
| 127 | OPENSTACK_API_PROJECT: |
| 128 | type: string |
| 129 | default: "mcp-mk" |
Jakub Josef | 7c8a828 | 2018-02-01 18:09:08 +0100 | [diff] [blame] | 130 | KQUEEN_BUILD_ID: |
| 131 | type: string |