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

Support a release phase Procfile type in Hephy #65

Open
Cryptophobia opened this issue Jul 30, 2018 · 0 comments
Open

Support a release phase Procfile type in Hephy #65

Cryptophobia opened this issue Jul 30, 2018 · 0 comments

Comments

@Cryptophobia
Copy link
Member

Cryptophobia commented Jul 30, 2018

Release phase enables you to run certain tasks before a new release of your app is deployed. Release phase can be useful for tasks such as:

Sending CSS, JS, and other assets from your app’s slug to a CDN or S3 bucket
Priming or invalidating cache stores
Running database schema migrations

The release command runs in a one-off dyno whenever a new release is created, unless the release is caused by changes to an add-on

https://devcenter.heroku.com/articles/release-phase

We should always urge developers to use zero-downtime migrations for release phase:
https://blog.codeship.com/rails-migrations-zero-downtime/

This will require changes in the following components:

deis-builder
deis-controller
workflow-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant