Skip to main content

File Cluster Associations

Specification​

{
"action": "<String>"
"destinationDir": "<String>"
}

Structure values​

Field NameTypeDescriptionRequiredDefault
actionStringWhat 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
destinationDirStringThe 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"
}