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}" |
| 17 | credentials: "gerrit" |
| 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 |
| 36 | default: "gerrit" |
| 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: "" |
| 48 | |
| 49 | # aws api |
| 50 | AWS_STACK_REGION: |
| 51 | type: string |
| 52 | default: "eu-central-1" |
| 53 | AWS_API_CREDENTIALS: |
| 54 | type: string |
| 55 | default: "aws-credentials" |
| 56 | AWS_SSH_KEY: |
| 57 | type: string |
| 58 | default: "jenkins-mk" |
| 59 | KQUEEN_BUILD_ID: |
| 60 | type: string |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 61 | deploy_heat_k8s_kqueen_job: |
| 62 | name: deploy-heat-k8s-kqueen |
| 63 | type: workflow-scm |
| 64 | discard: |
| 65 | build: |
| 66 | keep_num: 50 |
| 67 | concurrent: true |
| 68 | display_name: "Deploy Heat K8S using kqueen" |
| 69 | scm: |
| 70 | type: git |
| 71 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 72 | branch: "${_param:jenkins_pipelines_branch}" |
| 73 | credentials: "gerrit" |
| 74 | script: deploy-heat-k8s-kqueen-pipeline.groovy |
| 75 | param: |
| 76 | # deployments |
| 77 | STACK_NAME: |
| 78 | type: string |
| 79 | description: "AWS stack name - mandatory param, will be used as is" |
| 80 | STACK_COMPUTE_COUNT: |
| 81 | type: string |
| 82 | default: '2' |
Jakub Josef | bd98e6b | 2018-01-10 14:15:07 +0100 | [diff] [blame] | 83 | |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 84 | STACK_TEMPLATE: |
| 85 | type: string |
Jakub Josef | eb372ea | 2018-02-01 17:34:42 +0100 | [diff] [blame] | 86 | default: "k8s_ha_calico" |
Jakub Josef | f2980bc | 2018-02-01 14:03:00 +0100 | [diff] [blame] | 87 | STACK_TEMPLATE_URL: |
| 88 | type: string |
| 89 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
| 90 | STACK_TEMPLATE_CREDENTIALS: |
| 91 | type: string |
| 92 | default: "gerrit" |
| 93 | STACK_TEMPLATE_BRANCH: |
| 94 | type: string |
| 95 | default: "master" |
| 96 | |
| 97 | # salt |
| 98 | SALT_MASTER_CREDENTIALS: |
| 99 | type: string |
| 100 | default: "salt-qa-credentials" |
| 101 | SALT_MASTER_URL: |
| 102 | type: string |
| 103 | default: "" |
| 104 | |
| 105 | # heat |
| 106 | HEAT_STACK_ENVIRONMENT: |
| 107 | type: string |
| 108 | default: "devcloud" |
| 109 | HEAT_STACK_ZONE: |
| 110 | type: string |
| 111 | default: "mcp-mk" |
| 112 | HEAT_STACK_PUBLIC_NET: |
| 113 | type: string |
| 114 | default: "public" |
| 115 | |
| 116 | # openstack api |
| 117 | OPENSTACK_API_URL: |
| 118 | type: string |
| 119 | default: "https://cloud-cz.bud.mirantis.net:5000" |
| 120 | OPENSTACK_API_CREDENTIALS: |
| 121 | type: string |
| 122 | default: "openstack-devcloud-credentials" |
| 123 | OPENSTACK_API_PROJECT: |
| 124 | type: string |
| 125 | default: "mcp-mk" |
Jakub Josef | 7c8a828 | 2018-02-01 18:09:08 +0100 | [diff] [blame] | 126 | KQUEEN_BUILD_ID: |
| 127 | type: string |