heroku-buildpack-compose

by ChefSteps

GitHub Readme.md

ChefSteps!!

If you are using this at ChefSteps for a Node project, you'll probably want a .buildpacks file with these lines:

https://github.com/ChefSteps/heroku-buildpack-ssh.git
https://github.com/heroku/heroku-buildpack-nodejs

And you need to set the SSH environment variable for your app to a key that has access to the repos you want to use.

Then you need to turn on this buildpack with a command like:

% heroku buildpacks:set https://github.com/ChefSteps/heroku-buildpack-compose.git --app my-app-name

Heroku buildpack: Compose

A buildpack to run multiple buildpacks in sequence. Unlike heroku-buildpack-multi, heroku-buildpack-compose combines the output of the release script of each child buildpack to produce the final output. Default targets and configuration variables defined by later buildpack take priority. Requirements are simply concatenated with no deduplication.

The contents of the config_vars key are added to the environment after each step and are visible when checking out and executing subsequent buildpacks.

Usage

By default heroku-buildpack-compose reads a list of buildpacks from a .buildpacks file in the root of the application repository. Buildpacks are described by the url of a git repository and spaced one per line. To read buildpacks from a different file, specify it's path (relative to the repository root) in the BUILDPACKS_FILE environment variable (Note: at present, passing configuration to buildpacks through environment variables requires the user-env-compile labs extension).

It is highly recommended that you use your own fork as updates may inadvertently break backwards compatibility and heroku provides no obvious way of versioning buildpacks.

See Also

This buildpack was intended to be used with the ssh buildpack to enable loading of buildpacks from private repositories. If there are any others I would be happy to list them here.

Bugs

Please report any bugs to using the issue tracker.

Pull requests are welcome.