remove unnecessary things from demo
This commit is contained in:
parent
f57684b024
commit
e604abf47a
@ -13,7 +13,7 @@ class DispatchRemoteProcess
|
|||||||
public function __construct(RemoteProcessArgs $remoteProcessArgs){
|
public function __construct(RemoteProcessArgs $remoteProcessArgs){
|
||||||
$this->activity = activity()
|
$this->activity = activity()
|
||||||
->withProperties($remoteProcessArgs->toArray())
|
->withProperties($remoteProcessArgs->toArray())
|
||||||
->log("Awaiting command to start...\n\n");
|
->log("");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __invoke(): Activity
|
public function __invoke(): Activity
|
||||||
|
@ -75,6 +75,7 @@ protected function getCommand(): string
|
|||||||
. '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null '
|
. '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null '
|
||||||
. '-o PasswordAuthentication=no '
|
. '-o PasswordAuthentication=no '
|
||||||
. '-o RequestTTY=no '
|
. '-o RequestTTY=no '
|
||||||
|
. "-o LogLevel=ERROR "
|
||||||
. "-p {$port} "
|
. "-p {$port} "
|
||||||
. "{$user}@{$destination} "
|
. "{$user}@{$destination} "
|
||||||
. " 'bash -se' << \\$delimiter" . PHP_EOL
|
. " 'bash -se' << \\$delimiter" . PHP_EOL
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
|
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
|
||||||
</div>
|
</div>
|
||||||
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
|
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
|
||||||
<div>
|
{{-- <div>
|
||||||
<div>Details:</div>
|
<div>Details:</div>
|
||||||
<pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
|
<pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
|
||||||
</div>
|
</div> --}}
|
||||||
@endisset
|
@endisset
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user