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 registry: it is not clear in which order to execute commands in some devfiles #19458
Comments
The numbers are a workaround but the right solution is to run the prerequisite commands if they haven't been run before. |
Also it would be nice to see the list of examples that have this problem in this issue. We could make it an epic. Adding n&n label anyway as that has a important impact on UX, especially for new users. |
Could this be part of devfile v2? |
v2 has composite commands. I don't think it will solve the problem though. |
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 |
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
Some devfiles have several commands that need to be executed in a precise order to succeed.
Some are named with prefixed numbers that help the user, but some others are not.
For instance:
Che version
Steps to reproduce
install dependencies
sh: 1: .: Can't open /projects/.venv/bin/activate
Expected behavior
the commands should be prefixed with numbers that would tell which one to start. in this case, user should execute the command
set up venv
first, but it is listed in alphabetical order: at the end.Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: