blob: 3487ef45cf94ad0ef0127aab880d60684153d34f [file] [log] [blame]
#
# Jobs to update packages on given Salt master environment
#
parameters:
jenkins:
client:
job:
deploy-update-opencontrail4:
type: workflow-scm
concurrent: true
discard:
build:
keep_num: 10
artifact:
keep_num: 10
display_name: "Deploy - update Opencontrail 4X"
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: ${_param:jenkins_gerrit_credentials}
script: opencontrail4-update.groovy
param:
SALT_MASTER_URL:
type: string
default: "${_param:jenkins_salt_api_url}"
SALT_MASTER_CREDENTIALS:
type: string
default: "salt"
STAGE_CONTROLLERS_UPDATE:
type: boolean
default: 'true'
description: "Run update on Opencontrail controllers"
STAGE_COMPUTES_UPDATE:
type: boolean
default: 'true'
description: "Run update on Opencontrail compute nodes"
COMPUTE_TARGET_SERVERS:
type: string
default: "cmp*"
description: Salt compound target to match nodes to be updated [*, G@osfamily:debian].
COMPUTE_TARGET_SUBSET_LIVE:
type: string
default: '1'
description: Number of selected nodes to live apply compute update.
ASK_CONFIRMATION:
type: boolean
default: 'true'