blob: fdbaab713469fbe8612a4cd5be9d8a07f8641833 [file] [log] [blame]
#
# Jobs to update packages on given Salt master environment
#
parameters:
jenkins:
client:
job:
deploy-upgrade-control:
type: workflow-scm
concurrent: true
discard:
build:
keep_num: 10
artifact:
keep_num: 10
display_name: "Deploy - upgrade control VMs"
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: ${_param:jenkins_gerrit_credentials}
script: openstack-control-upgrade.groovy
param:
SALT_MASTER_URL:
type: string
default: "${_param:jenkins_salt_api_url}"
SALT_MASTER_CREDENTIALS:
type: string
default: "salt"
OS_DIST_UPGRADE:
type: boolean
default: 'false'
description: "Upgrade system packages including kernel (apt-get dist-upgrade)"
OS_UPGRADE:
type: boolean
default: 'false'
description: "Upgrade all installed applications (apt-get upgrade)"
INTERACTIVE:
type: boolean
default: 'true'
description: "Ask interactive questions during pipeline run (bool)"
TARGET_SERVERS:
type: string
default: 'ctl*'
description: "Salt compound expression to get control servers to upgrade."