feat: experimental sentinel

This commit is contained in:
Andras Bacsai committed 2024-05-07 15:41:50 +02:00
1 parent 2b422a542a
commit f6f959a897
13 files changed
+1038 -327

No files matched your search

+3 -1
View File
@@ -2,6 +2,7 @@
namespace App\Jobs;
use App\Actions\Docker\GetContainersStatus;
use App\Enums\ApplicationDeploymentStatus;
use App\Enums\ProcessStatus;
use App\Events\ApplicationStatusChanged;
@@ -302,7 +303,8 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
{
if ($this->server->isProxyShouldRun()) {
dispatch(new ContainerStatusJob($this->server));
GetContainersStatus::dispatch($this->server);
// dispatch(new ContainerStatusJob($this->server));
}
$this->next(ApplicationDeploymentStatus::FINISHED->value);
if ($this->pull_request_id !== 0) {