-
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
Devfile could not be found in the branch which name contains '/' sign #21706
Comments
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
There are a couple of workarounds for this issue. Although they are not ideal and we need to address this issue, I am adding the workarounds here for information: First workaround Change the repository configuration so that the branch with the slashes ( Second workaround Explicitly add the project in the devfile and use the raw devfile link to start the workspace. This is the devfile in branch ...
projects:
- name: inventory-quarkus
git:
remotes:
origin: 'https://github.com/l0rd/inventory-quarkus'
checkoutFrom:
revision: new/branch
... And it can be started using URL |
Describe the bug
In some cases users could have devfile.yaml file in the branch that contains
/
sign.The problem is that it is not possible to create a workspace via factory by using this devfile.yaml.
In the dashboard I see a message like: "Devfile could not be found in repo. Applying the default configuration"
Che version
next (development version)
Steps to reproduce
/
sign in your repository withdevfile.yaml
OR
try this factory: https://che-host/#/https://github.com/svor/quarkus-api-example/tree/new/branch
in the dogfooding instance it's https://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/#/https://github.com/svor/quarkus-api-example/tree/new/branch
Expected behavior
The workspace should be started from the existing devfile
Runtime
OpenShift
Screenshots
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: