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

previewctl: Add SSH command #10774

Merged
merged 1 commit into from
Jun 21, 2022
Merged

previewctl: Add SSH command #10774

merged 1 commit into from
Jun 21, 2022

Conversation

ArthurSens
Copy link
Contributor

@ArthurSens ArthurSens commented Jun 20, 2022

Signed-off-by: ArthurSens arthursens2005@gmail.com

Description

Add the command previewctl ssh, which will SSH into the related preview's Virtual Machine.

It can also be used to SSH into VM unrelated to the branch, by passing the --branch flag

Related Issue(s)

We don't have a issue for this one, but we agreed to work on this in our team's sync

How to test

Open a preview from this PR and run:

  • previewctl ssh
  • previewctl ssh --branch main

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
@ArthurSens ArthurSens requested a review from a team June 20, 2022 18:08
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-as-ssh-vm.1 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat merged commit 95109db into main Jun 21, 2022
@roboquat roboquat deleted the as/ssh-vm branch June 21, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants