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" |
Mateusz Los | 8608ec8 | 2020-02-13 20:00:25 +0100 | [diff] [blame] | 9 | description: "Ceph upgrade job" |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 10 | discard: |
| 11 | build: |
| 12 | keep_num: 50 |
| 13 | scm: |
| 14 | type: git |
| 15 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 16 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 17 | credentials: ${_param:jenkins_gerrit_credentials} |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 18 | script: ceph-upgrade.groovy |
| 19 | param: |
| 20 | # general parameters |
| 21 | SALT_MASTER_URL: |
| 22 | type: string |
| 23 | description: URL of Salt master |
Alexandr Lovtsov | 6afd7bd | 2019-02-27 16:24:40 +0300 | [diff] [blame] | 24 | default: "${_param:jenkins_salt_api_url}" |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 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 |
Denis Egorenko | e43b315 | 2021-01-11 15:27:39 +0400 | [diff] [blame] | 37 | ASK_CONFIRMATION: |
| 38 | type: boolean |
| 39 | description: Ask for manual confirmation |
| 40 | default: 'true' |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 41 | CLUSTER_FLAGS: |
| 42 | type: string |
Mateusz Los | 8608ec8 | 2020-02-13 20:00:25 +0100 | [diff] [blame] | 43 | default: 'noout' |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 44 | 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 Los | 8608ec8 | 2020-02-13 20:00:25 +0100 | [diff] [blame] | 48 | default: 'luminous' |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 49 | TARGET_RELEASE: |
| 50 | type: string |
| 51 | description: Ceph release version after upgrade |
Mateusz Los | 8608ec8 | 2020-02-13 20:00:25 +0100 | [diff] [blame] | 52 | default: 'nautilus' |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 53 | 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 Broulik | 0587fea | 2017-11-07 14:32:34 +0100 | [diff] [blame] | 73 | 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 Broulik | 52b7315 | 2017-12-19 15:37:50 +0100 | [diff] [blame] | 80 | description: Select to copy the disks of Ceph VMs before upgrade and backup Ceph directories on OSD nodes. |
Michael Vollman | 13a6f5d | 2019-05-07 08:16:05 -0400 | [diff] [blame] | 81 | BACKUP_DIR: |
| 82 | type: string |
| 83 | default: '/root' |
| 84 | description: Select the target dir to backup to when BACKUP_ENABLED |
Mateusz Los | 9dd4d11 | 2020-05-11 13:17:10 +0200 | [diff] [blame] | 85 | |