Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | ceph-backend-migration: |
| 6 | type: workflow-scm |
| 7 | concurrent: true |
| 8 | display_name: "Ceph - backend migration" |
| 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}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 16 | credentials: ${_param:jenkins_gerrit_credentials} |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 17 | script: ceph-backend-migration.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 | TARGET: |
| 29 | type: string |
| 30 | description: OSD hosts (minion ids) to be targeted |
| 31 | default: 'osd*' |
| 32 | OSD: |
| 33 | type: string |
| 34 | description: OSD ids to be migrated (comma-separated list - 1,2,3) |
| 35 | default: '*' |
| 36 | ADMIN_HOST: |
| 37 | type: string |
| 38 | description: Host with admin keyring and access to cluster management |
| 39 | default: 'cmn01*' |
| 40 | CLUSTER_FLAGS: |
| 41 | type: string |
| 42 | description: Flags to be aplied before pipeline and after pipeline (comma-separated list) |
| 43 | WAIT_FOR_HEALTHY: |
| 44 | type: boolean |
| 45 | default: 'true' |
| 46 | description: Wait for healthy during pipeline |
Jiri Broulik | 0587fea | 2017-11-07 14:32:34 +0100 | [diff] [blame] | 47 | PER_OSD_CONTROL: |
| 48 | type: boolean |
| 49 | default: 'true' |
| 50 | description: Set to true if Ceph status verification after every osd disk migration is desired |
| 51 | PER_OSD_HOST_CONTROL: |
| 52 | type: boolean |
| 53 | default: 'true' |
| 54 | description: Set to true if Ceph status verificaton after whole OSD host migration is desired |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 55 | ORIGIN_BACKEND: |
| 56 | type: string |
| 57 | description: Ceph backend before migration |
| 58 | default: 'filestore' |