feat: implement build tracking

The DOKKU_PID now never gets overwritten except in the case that DOKKU is executed by the sudo user. If the command ends up executing a deploy, then the pid of the `dokku` owned process - which may have been executed via sudo - will be written to the file lock, allowing future commands to interact with the original process.

Additionally, the new builds plugin can be used to handle killing a build.
This commit is contained in:
Jose Diaz-Gonzalez
2019-09-24 12:14:48 -04:00
parent 4257c17eab
commit 0c08aefc54
9 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
[plugin]
description = "dokku core builds plugin"
version = "0.33.6"
[plugin.config]