Revert commented out code and execute remote command to remove Docker container
This commit is contained in:
@@ -265,13 +265,13 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
} else {
|
} else {
|
||||||
$this->write_deployment_configurations();
|
$this->write_deployment_configurations();
|
||||||
}
|
}
|
||||||
// $this->execute_remote_command(
|
$this->execute_remote_command(
|
||||||
// [
|
[
|
||||||
// "docker rm -f {$this->deployment_uuid} >/dev/null 2>&1",
|
"docker rm -f {$this->deployment_uuid} >/dev/null 2>&1",
|
||||||
// "hidden" => true,
|
"hidden" => true,
|
||||||
// "ignore_errors" => true,
|
"ignore_errors" => true,
|
||||||
// ]
|
]
|
||||||
// );
|
);
|
||||||
$this->execute_remote_command(
|
$this->execute_remote_command(
|
||||||
[
|
[
|
||||||
"docker image prune -f >/dev/null 2>&1",
|
"docker image prune -f >/dev/null 2>&1",
|
||||||
|
Reference in New Issue
Block a user