Dokku: How to stop a running build

Created on 21 Aug 2017  路  3Comments  路  Source: dokku/dokku

When I deploy a certain app, sometimes the build hangs. What is the proper way to stop the build so that I can redeploy it?

medium enhancement

Most helpful comment

Closing as there is a pull request open.

The subcommands are now actually in the apps namespace, so:

dokku apps:lock APP
dokku apps:unlock APP

And the lock status is now contained in the output of dokku apps:report APP.

Closing as there is a pull request open.

All 3 comments

At the moment, the only way to do so is to kill any build containers that may still be running - a bit hard... - and also remove the lockfile from the repo. We can automate the second part and warn the user that build containers may be chilling on their box and they need to manually remove them.

We'll add something like

dokku deploy:lock
dokku deploy:unlock

These will lock/unlock deploys. We'll also want to split out the deploy command that currently lives in the 00_dokku-standard plugin into it's own deploy plugin while we're at it.

Closing as there is a pull request open.

The subcommands are now actually in the apps namespace, so:

dokku apps:lock APP
dokku apps:unlock APP

And the lock status is now contained in the output of dokku apps:report APP.

Closing as there is a pull request open.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mspanc picture mspanc  路  4Comments

josegonzalez picture josegonzalez  路  3Comments

internetstyle picture internetstyle  路  3Comments

natanrolnik picture natanrolnik  路  3Comments

LabN36 picture LabN36  路  5Comments