blob: 0a98f5c61fb94ce79e4e4ce12fe7d837fceb6fa0 [file] [log] [blame]
Mateusz Los36e64e02019-03-11 14:31:14 +01001/**
2 *
Tomek Jaroszyk08ad67e2020-11-09 13:58:02 +01003 * Add Ceph node to existing cluster
Mateusz Los36e64e02019-03-11 14:31:14 +01004 *
5 * Requred parameters:
6 * SALT_MASTER_URL URL of Salt master
7 * SALT_MASTER_CREDENTIALS Credentials to the Salt API
Tomek Jaroszyk08ad67e2020-11-09 13:58:02 +01008 * HOST Host (minion id) to be added
9 * CLUSTER_FLAGS Expected flags on the cluster during job run
Mateusz Los36e64e02019-03-11 14:31:14 +010010 *
11 */
12
Mateusz Los36e64e02019-03-11 14:31:14 +010013timeout(time: 12, unit: 'HOURS') {
Tomek Jaroszyk08ad67e2020-11-09 13:58:02 +010014 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 Los36e64e02019-03-11 14:31:14 +010022}