Skip to content

A heroku buildpack to install dbmate (a command line tool to manage DB migrations)

Notifications You must be signed in to change notification settings

codecrafters-io/heroku-buildpack-dbmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku buildpack: dbmate

This is a Heroku buildpack that allows one to run dbmate in a dyno alongside application code.

Usage

Example usage:

$ heroku buildpacks:add https://github.com/codecrafters-io/heroku-buildpack-dbmate

$ git push heroku master
...

remote: -----> dbmate app detected
remote: -----> Installing dbmate-2.21.0.... done
remote: -----> Installing profile.d script.... done

...

$ heroku run 'dbmate --version'
Running `dbmate --version` attached to terminal... up, run.3706
dbmate version 2.21.0

Testing

This buildpack is tested using heroku-buildpack-testrunner.

Build the heroku/buildpack-testrunner docker image and then run this command to run tests:

docker run -it -v $(pwd):/app/buildpack:ro heroku/testrunner

About

A heroku buildpack to install dbmate (a command line tool to manage DB migrations)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •