Smart Processes Management
Azure blob storage executor for Runnerty:
To be described after packaging. Tested locally using:
npm link executor-blob
Add in config.json:
{
"id": "blob_default",
"type": "executor-blob",
"apiVersion": "12.8.0",
"connectionString": "DefaultEndpointsProtocol=https;AccountName=...",
"blobContainer": "myBlobContainer"
}
Add in plan.json:
- Upload
{
"id": "blob_default",
"method": "upload",
"local_file": "tmp/test.txt",
"remote_file": "dir_one/dir_two/test_up.txt"
}
- Download
{
"id": "blob_default",
"method": "download",
"remote_file": "test.txt",
"local_file": "tmp/test_down.txt"
}
- Delete
{
"id": "blob_default",
"method": "delete",
"remote_path": "folder_test/foo.txt"
}
- Delete array of files
{
"id": "blob_default",
"method": "delete",
"remote_path": ["folder_test/sample.txt", "folder_test/sample.zip"]
}
- Delete glob pattern
{
"id": "blob_default",
"method": "delete",
"remote_path": "folder_test/*.txt"
}