-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Different behavior between repo URL and devfile URL in factory #21433
Comments
AFAUIK it's because in first case Factory is able to check .che / .vscode folders / files while in the gist case there is no context, so it takes only information from the devfile. |
The only additional context I can find in the https://github.com/che-samples/golang-example/tree/devfilev2 repo is
As far as I know, the Is there a good reason to not add the required fields in the gist case? I don't see anything in the repo itself to tell Che that it's safe to modify that container. This approach makes it impossible to use a devfile that's not part of a repository. |
You can inline |
I've set this issue to P2 since I don't think it has a major impact to users today, but please feel free to change it |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Describe the bug
The behavior of factory URLs is different depending on if the URL points at e.g. a github repo versus a devfile.
Adding the
che-theia.eclipse.org/vscode-extensions
attribute to the devfile does not make the behavior the same.Che version
next (development version)
Steps to reproduce
vscode-extensions
attribute present:The diff in DevWorkspace spec between 1) and 2) is
The diff between 1) and 3) is the same, except the attributes are present (including
app.kubernetes.io/name
, which is added)Expected behavior
Devfiles should be processed in roughly the same way regardless of whether they're from a github repo or a plain devfile.
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/next
Environment
Linux
Eclipse Che Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: