-
Notifications
You must be signed in to change notification settings - Fork 71
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
Simplify the Raw devfile filename check #548
Conversation
Signed-off-by: Igor Vinokur <[email protected]>
.../src/main/java/org/eclipse/che/api/factory/server/RawDevfileUrlFactoryParameterResolver.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had followed test scenario described in PR description and successfully started workspace using factory link to RAW custom.yaml.
At the same time project was empty inside VS Code Editor, end it had been reproduced with che-server:next and Dev Spaces 3.8.0 on Dev Sandbox:
So, it seems to be another issue.
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dmytro-ndp, ibuziuk, tolusha, vinokurig The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vinokurig: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Build 3.10 :: server_3.x/212: Console, Changes, Git Data |
Build 3.10 :: server_3.x/213: Console, Changes, Git Data |
Build 3.10 :: sync-to-downstream_3.x/4354: Console, Changes, Git Data |
Build 3.10 :: get-sources-rhpkg-container-build_3.x/4186: server : 3.x :: Failed in 55145861 : BREW:BUILD/STATUS:UNKNOWN |
Build 3.10 :: sync-to-downstream_3.x/4355: Console, Changes, Git Data |
Build 3.10 :: get-sources-rhpkg-container-build_3.x/4187: server : 3.x :: Failed in 55145886 : BREW:BUILD/STATUS:UNKNOWN |
What does this PR do?
Do not check the Raw devfile file name but check if the url ends with
.yaml
before using the Raw devfile url resolver.Screenshot/screencast of this PR
What issues does this PR fix or reference?
fixes eclipse-che/che#22368
How to test this PR?
quay.io/eclipse/che-server:pr-548
custom.yaml
file with a simple devfile content:Raw
file location.See: workspace starts from the devfile.
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.