blob: ff8f666c5fa9fa60d321425a0ab5d81276a116a3 [file] [log] [blame]
parameters:
jenkins:
client:
job:
ceph-upgrade:
type: workflow-scm
concurrent: true
display_name: "Ceph - upgrade"
description: "Ceph upgrade job"
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: ceph-upgrade.groovy
param:
# general parameters
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
ADMIN_HOST:
type: string
description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
default: 'cmn01*'
WAIT_FOR_HEALTHY:
type: boolean
default: 'true'
description: Wait for healthy during pipeline
ASK_CONFIRMATION:
type: boolean
description: Ask for manual confirmation
default: 'true'
CLUSTER_FLAGS:
type: string
default: 'noout'
description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
ORIGIN_RELEASE:
type: string
description: Ceph release version before upgrade
default: 'luminous'
TARGET_RELEASE:
type: string
description: Ceph release version after upgrade
default: 'nautilus'
STAGE_UPGRADE_MON:
type: boolean
default: 'true'
description: Set to True if Ceph mon nodes upgrade is desired
STAGE_UPGRADE_MGR:
type: boolean
default: 'true'
description: Set to True if Ceph mgr nodes upgrade or new deploy is desired
STAGE_UPGRADE_OSD:
type: boolean
default: 'true'
description: Set to True if Ceph osd nodes upgrade is desired
STAGE_UPGRADE_RGW:
type: boolean
default: 'true'
description: Set to True if Ceph rgw nodes upgrade is desired
STAGE_UPGRADE_CLIENT:
type: boolean
default: 'true'
description: Set to True if Ceph client nodes upgrade is desired (includes for example ctl/cmp nodes)
STAGE_FINALIZE:
type: boolean
default: 'true'
description: Set to True if configs recommended for TARGET_RELEASE should be set after upgrade is done
BACKUP_ENABLED:
type: boolean
default: 'true'
description: Select to copy the disks of Ceph VMs before upgrade and backup Ceph directories on OSD nodes.
BACKUP_DIR:
type: string
default: '/root'
description: Select the target dir to backup to when BACKUP_ENABLED