Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Publish and consume buildpacks on Heroku
Ruby Shell
Branch: master

Merge pull request #13 from jkutner/master

Renamed buildpacks to buildkits
latest commit 001691d64d
@jkutner jkutner authored

README.md

heroku-buildkits

Publish and consume buildkits on Heroku.

Installation

$ heroku plugins:install https://github.com/heroku/heroku-buildkits

Buildkit Maintainers

Publish a buildkit

$ cd ~/awesomepack
$ heroku buildkits:publish mycorp/awesomepack

Revisions

$ heroku buildkits:revisions mycorp/awesomepack
=== Revisions
3   2012/06/29 13:45:33
2   2012/06/29 13:44:16
1   2012/06/28 17:23:06

$ heroku buildkits:rollback mycorp/awesomepack 2
Rolling back mycorp/awesomepack buildkit... Rolled back to 2 as revision 4
done

Buildkit Users

The buildkits:set command will configure an app to use a given buildkit.

$ heroku buildkits:set kr/inline -a myapp

Developing

To run the tests, you'll need buildkits running locally. Currently you'll need to launch the server by hand. First some setup:

$ createdb buildkits-test
$ DATABASE_URL=postgres://localhost:5432/buildkits-test lein run -m buildkits.db.migrate

Then to run:

$ DATABASE_URL=postgres://localhost:5432/buildkits-test lein run -m buildkits.web &
$ export HEROKU_USER=[...] HEROKU_API_KEY=[...] HEROKU_OTHER_USER=[...] HEROKU_OTHER_API_KEY=[...]
$ bundle exec rake
Something went wrong with that request. Please try again.