blob: 6bbbffa5e2a89315e71360217619a5403d215e2f [file] [log] [blame]
parameters:
jenkins:
client:
job:
deploy_openstack:
type: workflow-scm
name: deploy-openstack
display_name: "Deploy - OpenStack"
discard:
build:
keep_num: 50
concurrent: true
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: ${_param:jenkins_gerrit_credentials}
script: cloud-deploy-pipeline.groovy
param:
# deployments and test settings
STACK_TYPE:
type: string
default: "physical"
STACK_INSTALL:
type: string
default: "core,kvm,openstack,stacklight"
description: "Components to be installed. Valid values are 'core,kvm,k8s,openstack,contrail,ovs,ceph,oss,cicd,stacklight,sl-legacy,finalize'. For all deployments it's recommended to run 'finalize' as a final step as Salt highstate on all nodes will be run."
BATCH_SIZE:
type: string
default: ''
description: 'Use batching for states, which targeted for large amount of nodes. Can be Integer or Percentage, e.g 20 or 20%'
DIST_UPGRADE_NODES:
type: boolean
default: 'false'
description: 'Whether to run "apt-get dist-upgrade" on all nodes in cluster before deployment'
# salt master
SALT_MASTER_CREDENTIALS:
type: string
default: "salt"
SALT_MASTER_URL:
type: string
default: "${_param:jenkins_salt_api_url}"
ASK_ON_ERROR:
type: boolean
default: 'false'
STATIC_MGMT_NETWORK:
type: boolean
default: 'false'
description: "Check if model contains static IP address definitions for all nodes"
deploy-openstack-compute:
type: workflow-scm
concurrent: true
description: "\n This pipeline is provided as technical preview. Do not use the pipeline in production environments as the result of the pipeline is unpredictable."
discard:
build:
keep_num: 50
display_name: "Deploy - OpenStack Compute node"
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: ${_param:jenkins_gerrit_credentials}
script: openstack-compute-install.groovy
param:
SALT_MASTER_URL:
type: string
default: "${_param:jenkins_salt_api_url}"
SALT_MASTER_CREDENTIALS:
type: string
default: "salt"
TARGET_SERVERS:
type: string
default: ""
description: "Salt compound target to match nodes to be updated [*, G@osfamily:debian]."
BATCH_SIZE:
type: string
default: ''
description: 'Use batching for states, which targeted for large amount of nodes. Can be Integer or Percentage, e.g 20 or 20%'