Skip to content

Americastestkitchen/heroku-buildpack-multi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 

Repository files navigation

ATK's heroku-buildpack-multi

This repo (originally forked from heroku/heroku-buildpack-multi), is a Heroku buildpack that triggers one or more other buildpacks in a single deploy process.

It was created to migrate The Feed from the Heroku stack of Cedar-10 to Cedar-14.

Usage

To use this buildpack with an app that requires it such as The Feed, in that app's repo on your local machine you'll first need to set it as your custom buildpack specifying the app with the -a Heroku flag:

$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git -a feed-staging

In The Feed there are 2 buildbacks in the .buildpacks file that we need to run: https://github.com/Americastestkitchen/heroku-buildpack-apt https://github.com/Americastestkitchen/heroku-wordpress-php

Related Repos

See The Feed for more information on its .buildpack file.

See ATK's heroku-buildpack-apt buildpack, for more information on the Aptfile which installs dependencies during the Heroku build process.

See ATK's heroku-wordpress-php buildpack, for more information regarding bundling PHP and Apache for Heroku.


Original instructions

The following is from the original repo instructions heroku/heroku-buildpack-multi.

This multi buildpack helps support:

  1. Running multiple language buildpacks such as JS for assets and Ruby for your application
  2. Running a daemon process such as pgbouncer with your application
  3. Pulling in system dependencies.

Usage

To use this buildpack you'll first need to set it as your custom buildpack:

$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git

From here you will need to create a .buildpacks file which contains (in order) the buildpacks you wish to run when you deploy:

$ cat .buildpacks
https://github.com/heroku/heroku-buildpack-nodejs.git#0198c71daa8
https://github.com/heroku/heroku-buildpack-ruby.git#v86

License

MIT

FAQ

About

Composable buildpacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%