-
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
[chectl] Ability to filter out / label commands that are tech preview when building chectl #18070
Comments
|
@dmytro-ndp |
I see. |
can you run workspace upgrade tests w/o or... maybe this speaks to the value of them as administrative tools, and we should keep them in crwctl. Also if QE is actively USING and TESTING them, then maybe we can say we support them as well as the @dmytro-ndp which Can also do this via curl to factory API /f?url=path-to-devfile, so not strictly needed... but definitely more user friendly, especially if the devfile isn't already on a public URL
How is this used?
Useful admin commands
These three could also be considered useful admin commands:
|
Yes, there is UI equivalent, but UI level is quite volatile and less reliable compare to CLI. So, testign on UI level will require creation and support of typescript selenium typescript tests.
Next crwctl commands are being used on CRW migration tests and in IntelliJ IDEA editor tests
|
👍 |
But at the same time - |
|
I agree with all you said @l0rd , but I thought this discussion is about removing chectl commands in downstream (crwct), so the downstream version would be just "admin" tool for instlaling & maintaining che/crw instance. In that case, the fact, that tests are using some commands which do not fit into this "admin" scheme needs to be rewritten (tests shouldn't stand in the way of implementing/removing these commands). |
I think that the main reason we wanted to filter those command out it's because we thought we didn't had the resources to test them properly. Hence, since we considered the admin story more valuable, we considered to "sacrifice" the user story. But if you are already testing those commands we don't need to do any "sacrifice" anymore. |
Sounds like we don't need to do this. Instead we should focus on collecting metrics as per #18069 |
Is your enhancement related to a problem? Please describe.
To allow supporting a subset of the commands in chectl (eg., perhaps just the
server
(andworkspace
?) ones, a mechanism would be useful to exclude commands we don't want to support in crwctl, to make the tool 100% administrator-focused instead of a mix of end-user and administrator.Describe the solution you'd like
Could be a metadata / label system that gets applied at the command level, or else just a bash script to use sed to exclude files from the build payload (like we do in crwctl to exclude k8s stuff)
Describe alternatives you've considered
Open to better ideas if anyone has any.
Additional context
Downstream: https://issues.redhat.com/browse/CRW-1266 and https://issues.redhat.com/browse/CRW-1288
The text was updated successfully, but these errors were encountered: