s3-tarball-buildpack

by msventurelabs

GitHub Readme.md

S3 Tarball Buildpack

This is a Heroku Buildpack that can download tarballs from public Amazon S3 buckets. It gives you a way of deploying pre-built code to Heroku.

Usage

$ heroku config:add BUILDPACK_URL=https://github.com/msventurelabs/s3-tarball-buildpack.git

$ cat .buildpack-s3-tarballs
AWS_S3_HOST_URL=https://foo.s3.amazonaws.com
AWS_S3_TARBALL_EXTRACT_PATH=public
s3://bucket/path/to/tarball.tgz
s3://bucket/path/to/somethingelse.tgz

If you don't want to check your config into revision control, you can store them in Heroku's config system. Config values specified in the .buildpack-s3-tarballs file have precedence over values in the config system.

$ heroku buildpacks:add https://github.com/msventurelabs/s3-tarball-buildpack
$ heroku config:add AWS_S3_HOST_URL=https://foo.s3.amazonaws.com
$ heroku config:add AWS_S3_TARBALL_EXTRACT_PATH=public

$ cat .buildpack-s3-tarballs
s3://bucket/path/to/tarball.tgz

See also

Licence

MIT license, see LICENSE.txt for details.