Commit graph

25 commits

Author SHA1 Message Date
Troy Kinsella
098d73bb99 Support aws executable options 2021-03-24 17:57:12 -07:00
Troy Kinsella
1651f9acfd More descriptive output. 2018-10-31 13:38:41 -07:00
Troy Kinsella
5d0034b2ff Resolve prefix variables. 2018-10-30 10:29:33 -07:00
Troy Kinsella
6851911e4a Resolve prefix variables. 2018-10-29 17:56:37 -07:00
Troy Kinsella
fbde2c688d Fix default region. 2018-10-26 13:04:33 -07:00
Troy Kinsella
640e98067b Add skip_download get parameter. 2018-10-26 12:55:37 -07:00
Troy Kinsella
9e3af13449 Don't set aws variables at all, if not specified. DRY. Refactoring. 2018-10-26 12:51:51 -07:00
Phill Baker
414b3a3d10 Add option to skip downloading.
Example usage:
```
resources:
- name: <resource name>
  type: <resource type name>
  source:
    access_key_id: {{aws-access-key}}
    secret_access_key: {{aws-secret-key}}
    bucket: {{aws-bucket}}
jobs:
- name: <job name>
  plan:
  - put: <resource name>
     params:
       skip_download: true
```
2017-02-24 17:58:34 -05:00
Aidan Feldman
1aa3269274 Merge pull request #9 from asceresini/master
Support AWS IAM Roles.
2016-10-04 11:30:19 -04:00
Andreas Knifh
4f7323f211 added optional parameter path to sync to path in bucket, instead of root of bucket 2016-10-04 16:34:48 +02:00
Anthony Sceresini
7ed95b8801 Support AWS IAM Roles.
Only define credential environment variables when values have been passed through. Assigning them to empty values enacts the AWS credential precedence rules and the Role will never be utilised through metadata.
2016-08-18 19:31:03 +10:00
ctro
5badf04978 check returns the most recent LastModified timestamp
This allows us to version a whole bucket.
Closes #5
2016-03-23 10:22:47 -06:00
ctro
9eee88b9c2 Address Feedback
- Soft wrapping
- YAML format fix
- Better S3 Docs in README
- No assumptions for defaults in example config
2016-03-21 16:38:36 -06:00
ctro
419427d092 options is optional, defaults to an empty array 2016-03-18 14:13:29 -06:00
ctro
f3a63e4879 Accept options for sync in pipeline.yml
Closes #1
Ref #3
2016-03-18 13:19:48 -06:00
ctro
7010edacb5 Update docs for Docker install, Development use, and Tests 2016-03-18 08:32:10 -06:00
Aidan Feldman
32afea0bd5 don't print commands when running the scripts
not a great idea to reveal the S3 credentials in the build logs
2016-03-10 23:33:39 -05:00
Aidan Feldman
17689c1c1a ensure that emitted versions are the same across in/out/check 2016-03-10 12:35:56 -05:00
Aidan Feldman
f3ce24d31d add in and check scripts
`out` was failing without them
2016-03-10 12:18:11 -05:00
Aidan Feldman
96314b8a7c minor fixes 2016-03-10 11:40:41 -05:00
Aidan Feldman
f1a98f3e9a pass the AWS credentials through the Concourse source data
Concourse pipelines dont have a way of setting environment variables,
and this is consistent with how https://github.com/concourse/s3-resource
works.
2016-03-10 10:57:12 -05:00
Aidan Feldman
5dcef5d5f1 accept the incoming JSON config data 2016-03-10 03:57:41 -05:00
Aidan Feldman
2202ac6080 finish up the out script
also add a `run` script for testing purposes
2016-03-10 03:01:02 -05:00
Aidan Feldman
0f17495982 remove need for bash 2016-03-10 02:16:03 -05:00
Aidan Feldman
47d7e28e37 add basic out script 2016-03-10 01:32:05 -05:00