Update application deployment status in job handling

This commit is contained in:
Andras Bacsai
2024-02-04 14:40:23 +01:00
parent dcb61a553e
commit 60f590454d
2 changed files with 7 additions and 4 deletions

View File

@@ -166,10 +166,6 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
public function handle(): void
{
$this->application_deployment_queue->update([
'status' => ApplicationDeploymentStatus::IN_PROGRESS->value,
]);
// Generate custom host<->ip mapping
$allContainers = instant_remote_process(["docker network inspect {$this->destination->network} -f '{{json .Containers}}' "], $this->server);
if (!is_null($allContainers)) {