blob: 638188e4033826e55baa05974e0cdc410f0c89e6 [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"
9 discard:
10 build:
11 keep_num: 50
12 scm:
13 type: git
14 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010015 branch: "${_param:jenkins_pipelines_branch}"
Jiri Broulika50d13e2017-11-03 15:41:50 +010016 credentials: "gerrit"
17 script: ceph-upgrade.groovy
18 param:
19 # general parameters
20 SALT_MASTER_URL:
21 type: string
22 description: URL of Salt master
Alexandr Lovtsov6afd7bd2019-02-27 16:24:40 +030023 default: "${_param:jenkins_salt_api_url}"
Jiri Broulika50d13e2017-11-03 15:41:50 +010024 SALT_MASTER_CREDENTIALS:
25 type: string
26 description: Credentials for login to Salt API
27 default: salt
28 ADMIN_HOST:
29 type: string
30 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
31 default: 'cmn01*'
32 WAIT_FOR_HEALTHY:
33 type: boolean
34 default: 'true'
35 description: Wait for healthy during pipeline
36 CLUSTER_FLAGS:
37 type: string
38 default: 'sortbitwise,noout'
39 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
40 ORIGIN_RELEASE:
41 type: string
42 description: Ceph release version before upgrade
43 default: 'jewel'
44 TARGET_RELEASE:
45 type: string
46 description: Ceph release version after upgrade
47 default: 'luminous'
48 STAGE_UPGRADE_MON:
49 type: boolean
50 default: 'true'
51 description: Set to True if Ceph mon nodes upgrade is desired
52 STAGE_UPGRADE_MGR:
53 type: boolean
54 default: 'true'
55 description: Set to True if Ceph mgr nodes upgrade or new deploy is desired
56 STAGE_UPGRADE_OSD:
57 type: boolean
58 default: 'true'
59 description: Set to True if Ceph osd nodes upgrade is desired
60 STAGE_UPGRADE_RGW:
61 type: boolean
62 default: 'true'
63 description: Set to True if Ceph rgw nodes upgrade is desired
64 STAGE_UPGRADE_CLIENT:
65 type: boolean
66 default: 'true'
67 description: Set to True if Ceph client nodes upgrade is desired (includes for example ctl/cmp nodes)
Jiri Broulik0587fea2017-11-07 14:32:34 +010068 STAGE_FINALIZE:
69 type: boolean
70 default: 'true'
71 description: Set to True if configs recommended for TARGET_RELEASE should be set after upgrade is done
72 BACKUP_ENABLED:
73 type: boolean
74 default: 'true'
Jiri Broulik52b73152017-12-19 15:37:50 +010075 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 -040076 BACKUP_DIR:
77 type: string
78 default: '/root'
79 description: Select the target dir to backup to when BACKUP_ENABLED