server list, logs removed, driver/plan wip

This commit is contained in:
2025-03-31 12:41:09 +00:00
parent 678581b822
commit 75f2ecb7bf
14 changed files with 164 additions and 47 deletions

View File

@@ -43,21 +43,12 @@ class ProvisionServer implements ShouldQueue, ShouldBeEncrypted
]);
logger('executing script on server');
if (! $result->isSuccessful()) {
logger('failed to execute script on server');
logger($result->getOutput());
logger($result->getErrorOutput());
logger($result->getExitCode());
$this->server->update([
'status' => ServerStatus::PROVISIONING_FAILED,
]);
return;
}
logger('script executed on server');
logger($result->getOutput());
logger($result->getErrorOutput());
logger($result->getExitCode());
$this->server->update([
'status' => ServerStatus::PROVISIONING,
]);