Mateusz Los | 36e64e0 | 2019-03-11 14:31:14 +0100 | [diff] [blame] | 1 | /** |
| 2 | * |
Tomek Jaroszyk | 08ad67e | 2020-11-09 13:58:02 +0100 | [diff] [blame] | 3 | * Add Ceph node to existing cluster |
Mateusz Los | 36e64e0 | 2019-03-11 14:31:14 +0100 | [diff] [blame] | 4 | * |
| 5 | * Requred parameters: |
| 6 | * SALT_MASTER_URL URL of Salt master |
| 7 | * SALT_MASTER_CREDENTIALS Credentials to the Salt API |
Tomek Jaroszyk | 08ad67e | 2020-11-09 13:58:02 +0100 | [diff] [blame] | 8 | * HOST Host (minion id) to be added |
| 9 | * CLUSTER_FLAGS Expected flags on the cluster during job run |
Mateusz Los | 36e64e0 | 2019-03-11 14:31:14 +0100 | [diff] [blame] | 10 | * |
| 11 | */ |
| 12 | |
Mateusz Los | 36e64e0 | 2019-03-11 14:31:14 +0100 | [diff] [blame] | 13 | timeout(time: 12, unit: 'HOURS') { |
Tomek Jaroszyk | 08ad67e | 2020-11-09 13:58:02 +0100 | [diff] [blame] | 14 | build job: 'ceph-add-node', parameters: [ |
| 15 | [$class: 'BooleanParameterValue', name: 'OSD_ONLY', value: true], |
| 16 | [$class: 'BooleanParameterValue', name: 'USE_UPMAP', value: true], |
| 17 | [$class: 'StringParameterValue', name: 'HOST', value: HOST], |
| 18 | [$class: 'StringParameterValue', name: 'CLUSTER_FLAGS', value: CLUSTER_FLAGS], |
| 19 | [$class: 'StringParameterValue', name: 'SALT_MASTER_CREDENTIALS', value: SALT_MASTER_CREDENTIALS], |
| 20 | [$class: 'StringParameterValue', name: 'SALT_MASTER_URL', value: SALT_MASTER_URL] |
| 21 | ] |
Mateusz Los | 36e64e0 | 2019-03-11 14:31:14 +0100 | [diff] [blame] | 22 | } |