blob: 9b58f3b8849cb8d9baa0a5eceb216a45a96a717b [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"
15 credentials: "gerrit"
16 script: ceph-upgrade.groovy
17 param:
18 # general parameters
19 SALT_MASTER_URL:
20 type: string
21 description: URL of Salt master
22 default: "http://${_param:salt_master_host}:6969"
23 SALT_MASTER_CREDENTIALS:
24 type: string
25 description: Credentials for login to Salt API
26 default: salt
27 ADMIN_HOST:
28 type: string
29 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
30 default: 'cmn01*'
31 WAIT_FOR_HEALTHY:
32 type: boolean
33 default: 'true'
34 description: Wait for healthy during pipeline
35 CLUSTER_FLAGS:
36 type: string
37 default: 'sortbitwise,noout'
38 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
39 ORIGIN_RELEASE:
40 type: string
41 description: Ceph release version before upgrade
42 default: 'jewel'
43 TARGET_RELEASE:
44 type: string
45 description: Ceph release version after upgrade
46 default: 'luminous'
47 STAGE_UPGRADE_MON:
48 type: boolean
49 default: 'true'
50 description: Set to True if Ceph mon nodes upgrade is desired
51 STAGE_UPGRADE_MGR:
52 type: boolean
53 default: 'true'
54 description: Set to True if Ceph mgr nodes upgrade or new deploy is desired
55 STAGE_UPGRADE_OSD:
56 type: boolean
57 default: 'true'
58 description: Set to True if Ceph osd nodes upgrade is desired
59 STAGE_UPGRADE_RGW:
60 type: boolean
61 default: 'true'
62 description: Set to True if Ceph rgw nodes upgrade is desired
63 STAGE_UPGRADE_CLIENT:
64 type: boolean
65 default: 'true'
66 description: Set to True if Ceph client nodes upgrade is desired (includes for example ctl/cmp nodes)
Jiri Broulik0587fea2017-11-07 14:32:34 +010067 STAGE_FINALIZE:
68 type: boolean
69 default: 'true'
70 description: Set to True if configs recommended for TARGET_RELEASE should be set after upgrade is done
71 BACKUP_ENABLED:
72 type: boolean
73 default: 'true'
74 description: Set to True if disks of Ceph VMs should be copied before upgrade