server list, logs removed, driver/plan wip
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user