-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(baremetal): Add verbose output to ssh exec (#10525)
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
- feat(baremetal): Add verbose output to ssh exec (#10525) by @Tobbe | ||
|
||
Passing `--verbose` to the baremetal deploy command is supposed to give you | ||
more detailed info about what's happening. Previously however passing | ||
`--verbose` didn't actually provide any extra information. This PR adds logging | ||
to the new SshExecutor class so that you can see exactly what SSH commands are | ||
being run, and in what path. | ||
|
||
Standard output (this stays the same before and after) | ||
![image](https://github.com/redwoodjs/redwood/assets/30793/588fcf3d-b059-42d2-a1af-d2fff8b3e4bd) | ||
|
||
## Before (verbose output) | ||
![image](https://github.com/redwoodjs/redwood/assets/30793/65fdfe46-2e82-4c87-897b-99a438e16149) | ||
Doesn't really help much compared to the standard output 😅 | ||
|
||
## After (verbose output) | ||
![image](https://github.com/redwoodjs/redwood/assets/30793/4a87bde4-072f-4bae-a84e-50ac72afe964) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters