Skip to content
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

Silent mode #280

Open
lgmorand opened this issue Apr 1, 2024 · 5 comments
Open

Silent mode #280

lgmorand opened this issue Apr 1, 2024 · 5 comments

Comments

@lgmorand
Copy link

lgmorand commented Apr 1, 2024

Is it possible to install it without any human interaction ?

At some point, it asks for confirmation but it prevent any non interactive installation. did I miss a cli parameter ?

I found "ASSUME_YES_FLAG" in the source code but found no way to set it up

@maximveksler
Copy link

Hey @lgmorand, for unattended installation you might prefer to use helm or CI/CD tooling such as Flux or ArgoCD.

Check the docs for more info https://docs.groundcover.com/docs/getting-started/installation-and-updating

@lgmorand
Copy link
Author

lgmorand commented May 2, 2024

Why do you want to force people to use gitops ? :) I could but it forces me to add Flux/Argo just because I need to use groundC ?

you are providing a cli tool with parameters, especially a YES_FLAG but it's not fully implemented. it you want to force it to be interactive, you should create a GUI instead. each cli in the world can be unattended but not yours. That's fine to me, but don't expect me to use it at Microsoft nor to push it to our customers if I feel, it won't match our Cx integration process (and it's sad because your tool itself is cool ;))

@maxlevinps
Copy link
Contributor

Hey @lgmorand , you can run the cli tool using the --yes flag, for example: groundcover deploy --token ${token} --yes. Which will not prompt you for approvals, AKA without any human interaction.
Let me know if it did the trick for you.

@lgmorand
Copy link
Author

Thanks Max. I'm running my workflow to deploy groundclover. Will come back here to confirm if now, the yes flag is taken into account.

@lgmorand
Copy link
Author

sh -c "$(curl -fsSL https://groundcover.com/install.sh)" 
chmod +x groundcover
groundcover deploy --yes --token XXX

for the moment, it fails with a exec permission denied. will continue to dig in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants