Skip to content

gp cli run external command #9289

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

Closed
konne opened this issue Apr 13, 2022 · 2 comments
Closed

gp cli run external command #9289

konne opened this issue Apr 13, 2022 · 2 comments
Labels

Comments

@konne
Copy link

konne commented Apr 13, 2022

As a user, I want to have the possibility to run a command via gp cli for remotely connected systems.
This can be that I run gp cli from within a workspace that runs the command on the local computer and vice versa.
The stdout stderr is transported to the calling system.

Now our concrete use case.
We want to use gitpod also for our e2e development and need for example that we have a local chrome, safari, edge,... browser that needs to be started in a special mode so that this can be remote-controlled from the e2e test solution like a playwright.
With that feature, we could have a script in our gitpod environment that a user can start and all necessary steps will be done. (this also needs a feature #9286

The script would work like this:

gp run remote ...chrome --remote-debugging-port=9222
   this will output something like ws://127.0.0.1:9222/xxxxxxxxxxxxxxx
gp port -R 9222:127.0.0.1:9222
  create a reverse port mapping for port 9222 from the local computer into the gitpod workspace
npm run e2eTEST --option1=ws://127.0.0.1:9222/xxxxxxxxxxxxxxx

The same will be necessary for example what I have seen with people who make hardware development and like to start a local debugger software,...

@loujaybee
Copy link
Member

The comment in #9770 (comment) is also similar to this request, e.g. launch a local desktop terminal at the same time as workspace start/open.

@loujaybee loujaybee added the feature: desktop experience Features related to a local CLI or app experience label Aug 17, 2022
@stale
Copy link

stale bot commented Nov 23, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Nov 23, 2022
@stale stale bot closed this as completed Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants