From dea324b5125463ac2a9e4d34b34551c68cb3d5bf Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 17 Apr 2023 13:20:04 +0200 Subject: [PATCH] remove unnecessary lines --- app/Jobs/DeployApplicationJob.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/app/Jobs/DeployApplicationJob.php b/app/Jobs/DeployApplicationJob.php index 50ebf847e..f9a6e1a07 100644 --- a/app/Jobs/DeployApplicationJob.php +++ b/app/Jobs/DeployApplicationJob.php @@ -91,23 +91,6 @@ class DeployApplicationJob implements ShouldQueue } $this->workdir = "/artifacts/{$this->deployment_uuid}"; - // $this->executeNow([ - // "docker inspect {$this->application->uuid} >/dev/null 2>&1", - // "echo $?" - // ], 'stopped_container_check', hideFromOutput: true, ignoreErrors: true); - - // if ($this->activity->properties->get('stopped_container_check') == 0) { - // $this->executeNow([ - // "echo 'Application is already available. Starting it...'" - // ]); - // $this->executeNow([ - // "docker start {$this->application->uuid}" - // ], hideFromOutput: true); - - // $this->executeNow([ - // "echo 'Done. 🎉'", - // ], isFinished: true); - // } else { // Pull builder image $this->executeNow([ "echo 'Starting deployment of {$this->application->git_repository}:{$this->application->git_branch}...'",