node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

@runnerty/executor-s3

S3 executor for Runnerty:

Methods:

Upload

  • Configuration sample:
{
  "id":"s3_default",
  "type":"@runnerty-executor-s3",
  "apiVersion": "2006-03-01",
  "accessKeyId": "ABC123",
  "secretAccessKey": "ABC123",
  "bucket":"my.s3bucket.com",
  "method":"upload",
  "region": "eu-west-1"
}
  • Plan sample:
{
  "id":"s3_default",
  "bucket":"backup.test.com",
  "local_file":"/tmp/test.txt",
  "remote_file":"dir_one/:DD-:MM-:YY/test_up.txt"
}

Delete

  • Configuration sample:
{
  "id":"s3_default",
  "type":"@runnerty-executor-s3",
  "apiVersion": "2006-03-01",
  "accessKeyId": "ABC123",
  "secretAccessKey": "ABC123",
  "bucket":"my.s3bucket.com",
  "method":"delete",
  "region": "eu-west-1"
}
  • Plan sample:
{
  "id":"s3_default",
  "bucket":"backup.test.com",
  "remote_path":"folder_test/"
}
{
  "id":"s3_default",
  "bucket":"backup.test.com",
  "remote_path":["folder_test/*.txt","folder_test/sample.zip"]
}