Reputation: 8131
So, if I run the command heroku ps:restart event_machine.1 --app app-name
I get what I want. However, I'm trying to automate our travis-ci deploy process. What needs to happen is the following:
Does anyone have any thoughts on how we we can restart a particular dyno(s) via a command that can be ran via heroku run something
as that is what travis is executing in the deploy run.
Upvotes: 0
Views: 68
Reputation: 8131
So, to answer this we had a procfile that is executing a rake command to spin up event machine. We've modified this at the proc file level to first tell the external service to rebuild it self, before starting the event machine. This takes travis completely out of the deployment loop, which is better because it allows Heroku and Travis to each do what they should be responsible for.
Upvotes: 1