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

[gitpod-cli] Add command 'gp ports list' #10388

Merged
merged 1 commit into from Jun 1, 2022
Merged

Conversation

felladrin
Copy link
Contributor

@felladrin felladrin commented May 31, 2022

Description

Adds command gp ports list to gitpod-cli, which prints the ports state.

Related Issue(s)

#9930

How to test

ports:
  - port: 1337
    onOpen: open-preview
    description: Et omnis id unde veniam.
  - port: 3000
    onOpen: ignore
    description: Alias reiciendis est quidem. Saepe in aut est illum ex. Eius molestias et vero rem.
  - port: 3001
    onOpen: ignore
  - port: 3306
    onOpen: ignore
  - port: 4000
    onOpen: ignore
  - name: VNC
    port: 5900
    onOpen: ignore
    description: Qui quia porro officia.
  - name: noVNC
    port: 6080
    onOpen: ignore
  - name: Werft
    port: 7777
    onOpen: ignore
  - port: 9229
    onOpen: ignore
  - name: Go proxy
    port: 9999
    onOpen: ignore
  - port: 13001
    onOpen: ignore
    description: Ut explicabo et qui. Velit tempore porro impedit.
  - name: Dev Theia
    port: 13444
  • Run gp ports list and confirm if the command outputs something like this:
    image

Release Notes

Gitpod CLI has a new command to list the ports from the workspace: gp ports list

Documentation

None.

@felladrin felladrin marked this pull request as ready for review June 1, 2022 09:36
Copy link
Contributor

@mustard-mh mustard-mh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, code LGTM

/hold

in case you want to change something, feel free to unhold it

image

@felladrin
Copy link
Contributor Author

Leaving screenshots here for reference of how it looks like in light and dark themes:

image

image

/unhold

@roboquat roboquat merged commit 0723994 into main Jun 1, 2022
@roboquat roboquat deleted the vn/gp-ports-command-9930 branch June 1, 2022 09:59
@roboquat roboquat added deployed: IDE IDE change is running in production deployed Change is completely running in production labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: gp cli deployed: IDE IDE change is running in production deployed Change is completely running in production release-note size/L team: IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants