Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 1 | parameters: |
| 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 Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 15 | branch: "${_param:jenkins_pipelines_branch}" |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 16 | 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 Lovtsov | 6afd7bd | 2019-02-27 16:24:40 +0300 | [diff] [blame^] | 23 | default: "${_param:jenkins_salt_api_url}" |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 24 | 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 Broulik | 0587fea | 2017-11-07 14:32:34 +0100 | [diff] [blame] | 68 | 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 Broulik | 52b7315 | 2017-12-19 15:37:50 +0100 | [diff] [blame] | 75 | description: Select to copy the disks of Ceph VMs before upgrade and backup Ceph directories on OSD nodes. |