Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Armen Zambrano G c0880fb908 Fix prettier issue 2019-08-23 09:34:17 -04:00
Armen Zambrano 868bee8551 Add Heroku generated app.json 2019-08-22 14:35:52 -04:00
Ed Morley bf2b5d1370 Bug 1245472 - Heroku: Update to the new release-phase implementation
The beta release-phase feature is making a backwards incompatible change
today - moving from an app.json (and corresponding buildpack) approach
to specifying a `release` Procfile entry that blocks the app deploy.

For more info, see:
https://devcenter.heroku.com/articles/release-phase?preview=1
2016-02-03 12:33:54 +00:00
Ed Morley a1ee98cdd2 Bug 1201455 - Heroku: Run migrate & other DB tasks after deploy
Uses Heroku's new Release Phase beta to run external-resource-touching
tasks (that shouldn't be run during the slug compile) in a one-off dyno
that runs after the deploy. See:
https://devcenter.heroku.com/articles/release-phase?preview=1

We're using the buildpack to help populate the .heroku/bin/release file
from the `post-release` key in app.json:
https://github.com/heroku/heroku-buildpack-postrelease/blob/master/README.md
https://github.com/heroku/heroku-buildpack-postrelease/blob/master/bin/compile
(The devcenter release phase docs page instructions haven't yet been
updated to cover this buildpack).

The tasks being run are the external-resource ones from update.py:
0ecb647f79/deployment/update/update.py (L79-L88)

...minus clear_cache (since we want to stop doing it, bug 1223384), and
export_project_credentials (since Heroku doesn't use oauth any more, and
that code is soon to be ripped out).
2015-11-11 00:23:21 +00:00