blob: ff8f666c5fa9fa60d321425a0ab5d81276a116a3 [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 Los8608ec82020-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 Galkinef9eabf2019-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
Alexandr Lovtsov6afd7bd2019-02-27 16:24:40 +030024 default: "${_param:jenkins_salt_api_url}"
Jiri Broulika50d13e2017-11-03 15:41:50 +010025 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
Denis Egorenkoe43b3152021-01-11 15:27:39 +040037 ASK_CONFIRMATION:
38 type: boolean
39 description: Ask for manual confirmation
40 default: 'true'
Jiri Broulika50d13e2017-11-03 15:41:50 +010041 CLUSTER_FLAGS:
42 type: string
Mateusz Los8608ec82020-02-13 20:00:25 +010043 default: 'noout'
Jiri Broulika50d13e2017-11-03 15:41:50 +010044 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
45 ORIGIN_RELEASE:
46 type: string
47 description: Ceph release version before upgrade
Mateusz Los8608ec82020-02-13 20:00:25 +010048 default: 'luminous'
Jiri Broulika50d13e2017-11-03 15:41:50 +010049 TARGET_RELEASE:
50 type: string
51 description: Ceph release version after upgrade
Mateusz Los8608ec82020-02-13 20:00:25 +010052 default: 'nautilus'
Jiri Broulika50d13e2017-11-03 15:41:50 +010053 STAGE_UPGRADE_MON:
54 type: boolean
55 default: 'true'
56 description: Set to True if Ceph mon nodes upgrade is desired
57 STAGE_UPGRADE_MGR:
58 type: boolean
59 default: 'true'
60 description: Set to True if Ceph mgr nodes upgrade or new deploy is desired
61 STAGE_UPGRADE_OSD:
62 type: boolean
63 default: 'true'
64 description: Set to True if Ceph osd nodes upgrade is desired
65 STAGE_UPGRADE_RGW:
66 type: boolean
67 default: 'true'
68 description: Set to True if Ceph rgw nodes upgrade is desired
69 STAGE_UPGRADE_CLIENT:
70 type: boolean
71 default: 'true'
72 description: Set to True if Ceph client nodes upgrade is desired (includes for example ctl/cmp nodes)
Jiri Broulik0587fea2017-11-07 14:32:34 +010073 STAGE_FINALIZE:
74 type: boolean
75 default: 'true'
76 description: Set to True if configs recommended for TARGET_RELEASE should be set after upgrade is done
77 BACKUP_ENABLED:
78 type: boolean
79 default: 'true'
Jiri Broulik52b73152017-12-19 15:37:50 +010080 description: Select to copy the disks of Ceph VMs before upgrade and backup Ceph directories on OSD nodes.
Michael Vollman13a6f5d2019-05-07 08:16:05 -040081 BACKUP_DIR:
82 type: string
83 default: '/root'
84 description: Select the target dir to backup to when BACKUP_ENABLED
Mateusz Los9dd4d112020-05-11 13:17:10 +020085