blob: 72ea87050fde14563a15da642d567ebfa822ed54 [file] [log] [blame]
#
# Jobs to update packages on given Salt master environment
#
parameters:
_param:
jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
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: "gerrit"
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.