Fix port name and desc missed for ranges ports #10250
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Port name and description sometimes missing. In
nextState
function we have many conditions that may cause this problemThis PR intro a new function
genManagedPort
to resolvegitpod.yml
related configuration missing problem in all conditions aboveRelated Issue(s)
Fixes #
How to test
Note that port with range will work only when ports are opened. And refresh webpage should also work for them all
Port with ranges
.gitpod.yml
to add port with range code belowcurl lama.sh | MALA_PORT=1111 sh
Init with .gitpod.yml
.gitpod.yml
with name and descripts like this one https://github.com/mustard-mh/test/tree/hw/port-nameWatch .gitpod.yml
.gitpod.yml
in your workspace, the tooltip inport explorer
should reflect toyml
fileRelease Notes
Documentation