Oleksii Grudev | 92b1a5b | 2018-07-06 17:24:58 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | deploy-virtual-edge-mom: |
| 6 | type: workflow-scm |
| 7 | concurrent: true |
| 8 | display_name: "Deploy - edge MoM" |
| 9 | discard: |
| 10 | build: |
| 11 | keep_num: 50 |
| 12 | scm: |
| 13 | type: git |
| 14 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 15 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 16 | credentials: ${_param:jenkins_gerrit_credentials} |
Oleksii Grudev | 92b1a5b | 2018-07-06 17:24:58 +0300 | [diff] [blame] | 17 | script: deploy-virtual-edge-mom.groovy |
| 18 | param: |
| 19 | # general parameters |
| 20 | ASK_ON_ERROR: |
| 21 | type: boolean |
| 22 | default: 'false' |
| 23 | FORMULA_PKG_REVISION: |
| 24 | type: string |
| 25 | default: "" |
| 26 | description: "Formulas revision to install on Salt Master bootstrap stage" |
| 27 | # heat parameters |
| 28 | HEAT_STACK_ENVIRONMENT: |
| 29 | type: string |
| 30 | default: "devcloud" |
| 31 | HEAT_STACK_PUBLIC_NET: |
| 32 | type: string |
| 33 | default: "public" |
| 34 | HEAT_STACK_ZONE: |
| 35 | type: string |
| 36 | default: "mcp-oscore" |
| 37 | OPENSTACK_API_CLIENT: |
| 38 | type: string |
| 39 | default: "" |
| 40 | OPENSTACK_API_CREDENTIALS: |
| 41 | type: string |
| 42 | default: "openstack-devcloud-credentials" |
| 43 | OPENSTACK_API_PROJECT: |
| 44 | type: string |
| 45 | default: "mcp-oscore" |
| 46 | OPENSTACK_API_PROJECT_DOMAIN: |
| 47 | type: string |
| 48 | default: "default" |
| 49 | OPENSTACK_API_PROJECT_ID: |
| 50 | type: string |
| 51 | default: "" |
| 52 | OPENSTACK_API_URL: |
| 53 | type: string |
| 54 | default: "https://cloud-cz.bud.mirantis.net:5000" |
| 55 | OPENSTACK_API_USER_DOMAIN: |
| 56 | type: string |
| 57 | default: "default" |
| 58 | OPENSTACK_API_VERSION: |
| 59 | type: string |
| 60 | default: "3" |
| 61 | OPENSTACK_USER_DOMAIN: |
| 62 | type: string |
| 63 | default: "default" |
| 64 | # salt |
| 65 | SALT_MASTER_CREDENTIALS: |
| 66 | type: string |
| 67 | default: "salt-qa-credentials" |
| 68 | SALT_MASTER_URL: |
| 69 | type: string |
| 70 | default: "" |
| 71 | SALT_OVERRIDES: |
| 72 | type: text |
| 73 | default: "" |
| 74 | STACK_CLEANUP_JOB: |
| 75 | type: string |
| 76 | default: "deploy-stack-cleanup" |
| 77 | STACK_DELETE: |
| 78 | type: boolean |
| 79 | default: 'false' |
| 80 | description: "Don't enable it if you need to use the lab after" |
| 81 | STACK_INSTALL: |
| 82 | type: string |
| 83 | default: "core" |
| 84 | # deployments |
| 85 | STACK_CLUSTER_NAME: |
| 86 | type: string |
| 87 | default: "virtual-mcp11-aio" |
| 88 | description: "Cluster name to use from reclass" |
| 89 | STACK_RECLASS_ADDRESS: |
| 90 | type: string |
| 91 | default: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-aio" |
| 92 | STACK_RECLASS_BRANCH: |
| 93 | type: string |
| 94 | default: "stable/pike" |
| 95 | STACK_TEMPLATE: |
| 96 | type: string |
| 97 | default: "virtual_edge_mom" |
| 98 | STACK_TEMPLATE_BRANCH: |
| 99 | type: string |
| 100 | default: "master" |
| 101 | STACK_TEMPLATE_CREDENTIALS: |
| 102 | type: string |
Ivan Berezovskiy | 76889ed | 2019-07-08 19:31:50 +0400 | [diff] [blame] | 103 | default: "${_param:jenkins_gerrit_credentials}" |
Oleksii Grudev | 92b1a5b | 2018-07-06 17:24:58 +0300 | [diff] [blame] | 104 | STACK_TEMPLATE_URL: |
| 105 | type: string |
| 106 | default: "${_param:jenkins_gerrit_url}/mk/heat-templates" |
| 107 | STACK_TEST: |
| 108 | type: string |
| 109 | default: "" |
| 110 | STACK_TYPE: |
| 111 | type: string |
| 112 | default: "physical" |
| 113 | STATIC_MGMT_NETWORK: |
| 114 | type: boolean |
| 115 | default: 'false' |
| 116 | description: "Check if model contains static IP address definitions for all nodes" |
| 117 | TEST_DOCKER_INSTALL: |
| 118 | type: boolean |
| 119 | description: "Install docker on the target if true" |
| 120 | default: "false" |
| 121 | # edge deploy |
| 122 | EDGE_DEPLOY_SCHEMAS: |
| 123 | type: string |
| 124 | description: "JSON schemas of edge cloud environments" |
| 125 | default: "" |
| 126 | |