I am trying to set up a continuous integration pipeline for my python 3.5.1 / django 1.9.7 project.
The project works fine on heroku, and the code deployment pipeline for heroku works well until my database changes.
If I want to run migrations, I have to do it manually by typing heroku run python manage.py migrate on my computer, which I would like to avoid.
I added "Custom Script" in my code deployment pipeline after the "heroku" -pipeline containing the heroku run python manage.py migrate , but when the coedship tries to execute it, it fails with
Cannot run more than 1 Free size dynos.
message. I assume this is because the server is already running and I have no workflows? (please correct me if I am wrong) EDIT: Here I was wrong - I had an additional process (see answer)
Can I include the database migration step in the heroku deployment pipeline? Or did I do something wrong?
django heroku codeship
OBu Jun 07 '16 at 15:09 2016-06-07 15:09
source share