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

chore(cli): Wrap NodeSSH to make sshExec an instance method #10524

Merged
merged 2 commits into from
Apr 28, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Apr 28, 2024

Refactoring NodeSSH usage in baremetal deploy command to make sshExec an instance method instead.
So that you can do ssh.exec(...) instead of sshExec(ssh, ...). Also put the new class I introduced into its own file, because baremetal.js is too long! It's difficult to navigate.

The refactor is in preparation of some upcoming changes where I want to be able to customize sshExec without passing more options to every invocation of it.

@Tobbe Tobbe added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels Apr 28, 2024
@Tobbe Tobbe added this to the chore milestone Apr 28, 2024
@Tobbe Tobbe enabled auto-merge (squash) April 28, 2024 05:46
@Tobbe Tobbe merged commit 9e11a7a into redwoodjs:main Apr 28, 2024
47 of 51 checks passed
@Tobbe Tobbe deleted the tobbe-baremetal-ssh-exec-init branch April 28, 2024 05:52
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: chore, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants