-
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
Gitpod CLI : add a find | search command #19312
Comments
Hi @jeanphibaconnais 👋, although searching is not possible now, and I think that we will go with a route of filter flags for gitpod workspace ls | grep 'gitpod-io/gitpod.*main' | awk '{print $1}' |
Thanks for the feature request, @jeanphibaconnais ! ❤️ Out of curiosity what is the flow you're using from CI? What workspaces do you create? When and why do you create them? Trying to contextualise your request! 🙏 |
Thanks @filiptronicek for your response. Yes of course we can add grep instruction but if this is pertinent, getting this command in the CLI could be great 😅 @loujaybee , I am playing with the Gitpod CLI (I hope I can write a blog post to explain this in January). I prepare this project : https://gitlab.com/jeanphi-baconnais-experiments/playing-with-gitpod-cli But the last thing I have to do is to block the duplication of Gitpod workspaces. At each commit a new pipeline is running and a new Gitpod workspace is created. A search in the existing workspaces can allow me to avoid this behavior 😄 I am asking on another point of view : as a administrator of an organization, search a workspace could be useful no? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your feature request related to a problem? Please describe
I use the Gitpod CLI in CICD and I would like to search in my workspaces if I have already one.
Describe the behaviour you'd like
A command like this could be great :
gitpod workspace search -r <my-repo> -b <branch-to-search>
with -R for repository and -b for branch 😅Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: