Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 5 | ceph-replace-failed-osd: |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 6 | type: workflow-scm |
| 7 | concurrent: true |
| 8 | display_name: "Ceph - replace failed OSD" |
| 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 | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 16 | credentials: ${_param:jenkins_gerrit_credentials} |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 17 | script: ceph-replace-failed-osd.groovy |
| 18 | param: |
| 19 | # general parameters |
| 20 | SALT_MASTER_URL: |
| 21 | type: string |
| 22 | description: URL of Salt master |
| 23 | default: "http://${_param:salt_master_host}:6969" |
| 24 | SALT_MASTER_CREDENTIALS: |
| 25 | type: string |
| 26 | description: Credentials for login to Salt API |
| 27 | default: salt |
| 28 | HOST: |
| 29 | type: string |
| 30 | description: Failed OSDs on this HOST will replaced |
| 31 | OSD: |
| 32 | type: string |
| 33 | description: These OSD IDs at HOST will be replaced (comma-separated list - 1,2,3) |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 34 | ADMIN_HOST: |
| 35 | type: string |
| 36 | description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap |
| 37 | default: 'cmn01*' |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 38 | WAIT_FOR_HEALTHY: |
| 39 | type: boolean |
Jiri Broulik | 06df5ab | 2018-07-11 14:56:21 +0200 | [diff] [blame] | 40 | default: 'true' |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 41 | description: Wait for healthy during pipeline |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 42 | CLUSTER_FLAGS: |
| 43 | type: string |
| 44 | description: Flags to be aplied before pipeline and after pipeline (comma-separated list) |