question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Heroku requires a new "release phase" for deploying pushed Docker images

See original GitHub issue

What’s going wrong?

Followed setup as best as I could, but Heroku fails to actually deploy, or log any activity at all in the Heroku dashboard. travisci-docker-heroku

How can the cookiecutter-django-rest team reproduce the problem?

Complete a fresh install of the project, right up until the point of pushing to master/qa and having TravisCI build and attempt to deploy your docker image.

After doing a bit of poking around, I figured this could be the reason for it not working: https://devcenter.heroku.com/changelog-items/1426

With that being said, I actually see no activity in my Heroku dashboard after actually creating each project (prod/qa). So something else might be off. Let me know if there’s any other information that could be helpful here!

Is this a problem with a fresh install of the project?

  • Yes
  • No

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
manticarodrigocommented, Aug 23, 2018

Makes sense. Thanks @agconti !

0reactions
agconticommented, Aug 24, 2018

@manticarodrigo feel free to open a PR with some more documentation! 😅✨

This project isn’t intended to be an exhaustive resource of the multitude of ways that you can deploy your app and setup CI/CD for it. Those providers will always have more up-to-date and comprehensive documentation than this project could hope to duplicate. In this case, I’d encourage you to check out Heroku’s deployment docs for help around the issues you’re encountering.

The project aims to give you the foundation and flexibility to deploy anywhere. For convenience, its configured out of the box for a simple deployment to heroku via travis thats suitable for small apps and internal development, like staging / QA servers. Many users will choose different deployment providers and strategies that suite them better. Some may keep some of the scaffolding. Some may not. Thats intended. Support on that path, like configuring google storage over s3, is up to user and is out of scope and the goals of this project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Container Registry & Runtime (Docker Deploys)
Heroku Container Registry allows you to deploy your Docker-based app to Heroku. ... To use release phase push a Docker image named release...
Read more >
Release Phase | Heroku Dev Center
The release phase enables certain tasks to be run before a new release of an app is deployed. The release phase can be...
Read more >
Pushing images to Container Registry no longer creates a ...
To create a new release using the images pushed to Container Registry, run heroku container:release (specifying the process types you would like ...
Read more >
Building Docker Images with heroku.yml
Release phase enables you to run tasks before a new release is deployed to production (e.g., sending CSS/JS/assets to a CDN, priming cache ......
Read more >
Changes to Container Registry deployment behavior on 5/29
Use the release phase feature (run tasks before a new release of your app is deployed); Push one image, and release it to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found