This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
fix: edit command when entrypoint is tweaked #1343
Open
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.
Signed-off-by: David Kwon [email protected]
What does this PR do?
When starting a workspace with devfilev2 with che-theia, the entrypoint (the
args
attribute) of the dev container component is modified if vscode extensions are present. If the dev container has acommand
attribute, the container may fail to run, and the workspace Pod would terminate with a CrashLoopBackOff error.To reproduce the error, go to
CHEHOST#https://github.com/eclipse-che/che-theia
. The v1->v2 conversion library successfully converts the devfilev1 to devfilev2, but since we have acommand
defined in the dev container:che-theia/devfile.yaml
Lines 7 to 10 in 39511b7
Screenshot/screencast of this PR
What issues does this PR fix or reference?
Explained in
What does this PR do?
How to test this PR?
Sorry, I'm having some trouble with creating the dashboard image. I will add it here if I can get it working.
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=stable