move into sonardesk

This commit is contained in:
Mark Gregory
2026-10-12 14:50:13 +01:00
parent 5f0d2ceb72
commit 38b4a7406f
879 changed files with 24021 additions and 1 deletions
@@ -0,0 +1,22 @@
<?php
namespace Modules\CloudDevOps\Console\Commands;
use Illuminate\Console\Command;
use Modules\CloudDevOps\Models\DeploymentHealthCheck;
use Modules\CloudDevOps\Services\HealthCheckRunner;
final class CloudDevOpsHealthCommand extends Command
{
protected $signature = 'cloud-devops:health';
protected $description = 'Run all active deployment health checks';
public function handle(HealthCheckRunner $runner): int
{
DeploymentHealthCheck::query()->each(fn ($check) => $runner->run($check));
$this->info('Health checks completed.');
return self::SUCCESS;
}
}