File Cluster Associations
Specification
{
"action": "<String>"
"destinationDir": "<String>"
}
Structure values
| Field Name | Type | Description | Required | Default |
|---|---|---|---|---|
| action | String | What to do with the file during cluster bootstrapping: place to download at the destination and do nothing, pip_install to install via pip after downloading, or append to append the file's content onto an existing file at the destination, creating it if missing. | Required | |
| destinationDir | String | The directory on the cluster where the file will be downloaded. | Optional | /tmp |
If more than one file is associated with append targeting the same destination, the order their content is concatenated in is not guaranteed.
Example
{
"action": "pip_install",
"destinationDir": "/home/magpie/wheels"
}