Commit graph

47 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
4941d9d0da Update docker image name. 2018-10-26 13:01:24 -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
1fc48aadfa Merge pull request #11 from Osis/readme-tweak
Remove colons from options in README
2017-01-07 17:28:11 -05:00
Dwayne Forde
78ac057b62 Remove colons from options in README 2017-01-06 11:40:44 -05:00
Aidan Feldman
1aa3269274 Merge pull request #9 from asceresini/master
Support AWS IAM Roles.
2016-10-04 11:30:19 -04:00
Aidan Feldman
abda2b8908 Merge pull request #10 from knifhen/path_param
added optional parameter path to sync to path in bucket
2016-10-04 11:02:44 -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
34f82397c8 Update usage to reflect use of Role based credentials. 2016-09-08 21:11:23 +10: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
M. Adam Kendall
5b10b59baf Merge pull request #7 from 18F/update-dev-docs
update developer documentation
2016-07-15 17:14:48 -04:00
Aidan Feldman
4c4149fa97 move development information to CONTRIBUTING 2016-03-23 15:34:29 -04:00
Aidan Feldman
5b174b2d5f update information about updating on Docker Hub 2016-03-23 15:32:17 -04:00
Aidan Feldman
e3a3e47c9a minor readme tweaks
mostly to trigger docker build
2016-03-23 14:55:36 -04:00
Aidan Feldman
32eebc49aa Merge pull request #6 from 18F/check_timestamp
Check timestamp
2016-03-23 12:41:31 -04: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
Aidan Feldman
252f337121 Merge pull request #4 from 18F/pass_options
Accept options for S3 sync
2016-03-23 12:21:35 -04:00
ctro
175787810a Address Feedback
- missing period
- removed cloud.gov specific instructions
2016-03-23 10:18:12 -06:00
ctro
04cd63c42b Correct comment re: how this is different from the official resource 2016-03-22 07:32:09 -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
17ef989442 small README changes 2016-03-21 10:43:51 -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
ctro
679e8d1e3a Revert "Update docs for Docker install, Development use, and Tests"
This reverts commit 6068e23756.
Commit was placed on wrong branch.
2016-03-18 08:31:09 -06:00
ctro
6068e23756 Update docs for Docker install, Development use, and Tests 2016-03-18 08:28:58 -06:00
Aidan Feldman
d63b360859 fix pipeline instructions 2016-03-11 00:02:20 -05:00
Aidan Feldman
3560d22a83 add test pipeline 2016-03-10 23:59:20 -05: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
c2e9f187f7 centralize build command 2016-03-10 18:31:20 -05:00
Aidan Feldman
b16b9a6c76 include usage instructions 2016-03-10 18:24:19 -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
bfb34616f4 put the docker image under the 18F namespace 2016-03-10 03:20:05 -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
Aidan Feldman
04d63e930b add boilerplate 18F files 2016-03-10 00:45:03 -05:00