blob: f043de8fd8e3c062c6b7c914e04971fec31f4b63 [file] [log] [blame]
#
# Jobs to process Stacklight update
#
parameters:
jenkins:
client:
job:
stacklight-upgrade:
type: workflow-scm
concurrent: true
display_name: "Deploy - upgrade Stacklight"
discard:
build:
keep_num: 50
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
branch: "${_param:jenkins_pipelines_branch}"
credentials: ${_param:jenkins_gerrit_credentials}
script: stacklight-upgrade.groovy
param:
SALT_MASTER_URL:
type: string
description: URL of Salt master
default: "${_param:jenkins_salt_api_url}"
SALT_MASTER_CREDENTIALS:
type: string
description: "Credentials for login to Salt API"
default: salt
STAGE_UPGRADE_SYSTEM_PART:
type: boolean
default: 'true'
description: "Set to True if upgrade of system part (telegraf, fluentd, prometheus-relay) is desired"
STAGE_UPGRADE_ES_KIBANA:
type: boolean
default: 'true'
description: "Set to True if Elasticsearch and Kibana upgrade is desired"
STAGE_UPGRADE_DOCKER_COMPONENTS:
type: boolean
default: 'true'
description: "Set to True if upgrade for components running in Docker Swarm is desired"
OS_UPGRADE:
type: boolean
default: 'false'
description: 'Run apt-get upgrade on Stacklight nodes'
OS_DIST_UPGRADE:
type: boolean
default: 'false'
description: 'Run apt-get dist-upgrade on Stacklight nodes and reboot to apply changes'