Bandwidth / generator-incubator

The base Yeoman generator for Incubator NodeJS projects.
MIT License
1 stars 1 forks source link

[travis] build artifact persistence with Amazon S3 #6

Open wtcross opened 10 years ago

wtcross commented 10 years ago

As a user I want the travis sub-generator to prompt me with a question like the following:

Select build artifacts that you would like to persist to Amazon S3: [ ] npm-debug.log [ ] some other artifact..

If I decided to persist any artifacts, then I should be prompted for S3 credentials, bucket to store in, etc.

To me, this sub-generator would simply add commands to be run in the after_script portion of the .travis.yml file. The commands that are added would use some helper scripts that are either added to the .travis.yml or are in some directory like .build.

wtcross commented 10 years ago

Working with S3 from bash:

https://github.com/cosmin/s3-bash

wtcross commented 10 years ago

The s3 scripts that I linked to earlier are no longer supported by the author.

That is not a problem though because Travis supports deploying to s3.