Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slug based deploys #81

Open
wants to merge 8 commits into
base: slug_based_deploys
Choose a base branch
from

Conversation

apsoto
Copy link

@apsoto apsoto commented Jun 26, 2015

Here's my PR for supporting slug based deploys on Heroku. It required a minor refactoring of PendingMigrationCheck to make the interface simpler so you can provide your own migration_check class.

The README has usage docs on how to use slug-based deploys and run migrations using the migration_check option.

I'm using it right now for multiple production apps, so it's got real-world usage. I'm open to further refinements, so let me know what you think.

apsoto added 8 commits June 12, 2015 18:54
Refactor PendingMigrationCheck so that #last_deployed_commit is an input
instead of lookup.  This simplifies PendingMigrationCheck and allows
users of the configuration option `migration_check` to have a simpler
interface to implement.
I thought I might need it when originallycut and pasted from
SourceControl.
@mattpolito
Copy link
Owner

Thank you very much for taking the time to add this feature. I'll go through it as soon as I can. I appreciate that you're able to use it already for real-world applications.

@apsoto
Copy link
Author

apsoto commented Sep 28, 2015

just pinging to see if we can get some movement on this. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants