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,
]);

View File

@@ -34,12 +34,6 @@ class WaitForServerToConnect implements ShouldQueue, ShouldBeEncrypted
->execute('echo "Connected"');
if (! $process->isSuccessful()) {
logger('root pw: ' . $this->rootPassword);
logger('server not reachable');
logger('exit code' . $process->getExitCode());
logger('output');
logger($process->getOutput());
logger($process->getErrorOutput());
$this->release(15);
return;
}