blob: e8b94a2d1e3bb2fc0e5d58ea9929a4d0325fd278 [file] [log] [blame]
Jiri Broulika50d13e2017-11-03 15:41:50 +01001parameters:
2 jenkins:
3 client:
4 job:
5 ceph-upgrade:
6 type: workflow-scm
7 concurrent: true
8 display_name: "Ceph - upgrade"
Mateusz Los7caf18d2020-02-13 20:00:25 +01009 description: "Ceph upgrade job"
Jiri Broulika50d13e2017-11-03 15:41:50 +010010 discard:
11 build:
12 keep_num: 50
13 scm:
14 type: git
15 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010016 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +040017 credentials: ${_param:jenkins_gerrit_credentials}
Jiri Broulika50d13e2017-11-03 15:41:50 +010018 script: ceph-upgrade.groovy
19 param:
20 # general parameters
21 SALT_MASTER_URL:
22 type: string
23 description: URL of Salt master
24 default: "http://${_param:salt_master_host}:6969"
25 SALT_MASTER_CREDENTIALS:
26 type: string
27 description: Credentials for login to Salt API
28 default: salt
29 ADMIN_HOST:
30 type: string
31 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
32 default: 'cmn01*'
33 WAIT_FOR_HEALTHY:
34 type: boolean
35 default: 'true'
36 description: Wait for healthy during pipeline
37 CLUSTER_FLAGS:
38 type: string
Mateusz Los7caf18d2020-02-13 20:00:25 +010039 default: 'noout'
Jiri Broulika50d13e2017-11-03 15:41:50 +010040 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
41 ORIGIN_RELEASE:
42 type: string
43 description: Ceph release version before upgrade
Mateusz Los7caf18d2020-02-13 20:00:25 +010044 default: 'luminous'
Jiri Broulika50d13e2017-11-03 15:41:50 +010045 TARGET_RELEASE:
46 type: string
47 description: Ceph release version after upgrade
Mateusz Los7caf18d2020-02-13 20:00:25 +010048 default: 'nautilus'
Jiri Broulika50d13e2017-11-03 15:41:50 +010049 STAGE_UPGRADE_MON:
50 type: boolean
51 default: 'true'
52 description: Set to True if Ceph mon nodes upgrade is desired
53 STAGE_UPGRADE_MGR:
54 type: boolean
55 default: 'true'
56 description: Set to True if Ceph mgr nodes upgrade or new deploy is desired
57 STAGE_UPGRADE_OSD:
58 type: boolean
59 default: 'true'
60 description: Set to True if Ceph osd nodes upgrade is desired
61 STAGE_UPGRADE_RGW:
62 type: boolean
63 default: 'true'
64 description: Set to True if Ceph rgw nodes upgrade is desired
65 STAGE_UPGRADE_CLIENT:
66 type: boolean
67 default: 'true'
68 description: Set to True if Ceph client nodes upgrade is desired (includes for example ctl/cmp nodes)
Jiri Broulik0587fea2017-11-07 14:32:34 +010069 STAGE_FINALIZE:
70 type: boolean
71 default: 'true'
72 description: Set to True if configs recommended for TARGET_RELEASE should be set after upgrade is done
73 BACKUP_ENABLED:
74 type: boolean
75 default: 'true'
Jiri Broulik52b73152017-12-19 15:37:50 +010076 description: Select to copy the disks of Ceph VMs before upgrade and backup Ceph directories on OSD nodes.
Michael Vollmanff8115a2019-05-07 08:16:05 -040077 BACKUP_DIR:
78 type: string
79 default: '/root'
80 description: Select the target dir to backup to when BACKUP_ENABLED
Mateusz Los7fb74312020-05-11 13:17:10 +020081