Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(baremetal): Add verbose output to ssh exec #10525

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Apr 28, 2024

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

Before (verbose output)

image
Doesn't really help much compared to the standard output 😅

After (verbose output)

image

@Tobbe Tobbe requested a review from cannikin April 28, 2024 06:06
@Tobbe Tobbe added the release:feature This PR introduces a new feature label Apr 28, 2024
@Tobbe Tobbe added this to the next-release milestone Apr 28, 2024
@cannikin
Copy link
Member

Awesome! Yeah I’d just make that the default error output!

@Tobbe
Copy link
Member Author

Tobbe commented Apr 29, 2024

Awesome! Yeah I’d just make that the default error output!

Cool. I'll just make this PR about adding verbose output to ssh.exec then. And then create a separate PR that includes all the info in the default error message. I've updated the screenshots in the PR description with the new --verbose output

Separate PR: #10527

@Tobbe Tobbe enabled auto-merge (squash) April 29, 2024 08:43
@Tobbe Tobbe merged commit 39b385c into redwoodjs:main Apr 29, 2024
46 checks passed
@Tobbe Tobbe deleted the tobbe-baremetal-ssh-verbose branch April 29, 2024 09:00
dac09 added a commit to dac09/redwood that referenced this pull request May 1, 2024
…e-middleware-client

* 'main' of github.com:redwoodjs/redwood:
  chore(server-auth): Automagic middleware auth on supported providers (dbAuth so far) (redwoodjs#10529)
  feat(baremetal): Add more details to error messages (redwoodjs#10527)
  feat(baremetal): Add verbose output to ssh exec (redwoodjs#10525)
  Fix typos in seo-head (`<Metadata />`) docs (redwoodjs#10526)
  chore(cli): Wrap NodeSSH to make sshExec an instance method (redwoodjs#10524)
  Fix broken Azure / MSAL documentation links (redwoodjs#10505)
  chore(deps): Stop using PR build of rehackt - use proper version (redwoodjs#10523)
  feat(og-gen): Implement middleware and hooks (redwoodjs#10469)
  RSC: Rename RSC CI test case (redwoodjs#10521)
  feat(eslint): Disable restricted $api imports for entryserver (redwoodjs#10520)
  RSC: Add RSC+SSR smoke test to CI (redwoodjs#10477)
  fix(dbauth-mw): Use response passed in to middleware (redwoodjs#10516)
@Josh-Walker-GM Josh-Walker-GM modified the milestones: next-release, v7.5.0 May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature This PR introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants