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

cli: add spinner to helm chart installation #2270

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

daniel-weisse
Copy link
Member

Context

Our CLI currently runs through 3 phases during constellation init:

  • Connecting to the cluster
  • Running the init RPC
  • Installing Helm charts

Only the first two phases have a spinner dedicated to them.
During the helm chart installation no spinner is shown.
Additionally, the spinner for the init RPC is stopped, so the user is left with a unresponsive looking CLI.

Proposed change(s)

  • Add a spinner to helm chart installation

Additional info

  • The CLI will show Installing Kubernetes components, feel free to suggest another status message if you feel this is not optimal.

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
@daniel-weisse daniel-weisse added the feature This introduces new functionality label Aug 21, 2023
@netlify
Copy link

netlify bot commented Aug 21, 2023

Deploy Preview for constellation-docs canceled.

Name Link
🔨 Latest commit 5e566b5
🔍 Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/64e35a0c8284c80008c911fb

cli/internal/cmd/init.go Outdated Show resolved Hide resolved
cli/internal/cmd/init.go Outdated Show resolved Hide resolved
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Copy link
Contributor

@msanft msanft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After long and thoughtful considerations, lgtm

@daniel-weisse daniel-weisse merged commit 3bf316e into main Aug 21, 2023
9 checks passed
@daniel-weisse daniel-weisse deleted the feat/cli/helm-spinner branch August 21, 2023 13:12
@daniel-weisse daniel-weisse added this to the v2.11.0 milestone Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This introduces new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants