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

[local-preview] Differentiate btw Gitpod starting and running #11260

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

Pothulapati
Copy link
Contributor

@Pothulapati Pothulapati commented Jul 11, 2022

Description

Currently, It takes a while before Gitpod is ready even though
the status says Gitpod is running as its not checking for
readyness.

This PR updates the output to separate btw starting and running.
Gitpod is running message is showed only when we see that
the gitpod-telemetry-init job has run which happens when
all pods are ready.

Signed-off-by: Tarun Pothulapati [email protected]

Related Issue(s)

Fixes #11259

How to test

Release Notes

[local-preview] Differentiate btw Gitpod `starting` and `running`

Documentation

Werft options:

  • /werft with-preview

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-tar-local-preview-op.1 because the annotations in the pull request description changed
(with .werft/ from main)

@Pothulapati Pothulapati force-pushed the tar/local-preview-op branch from a7dc636 to bbad17b Compare July 11, 2022 06:42
Currently, It takes a while before Gitpod is ready even though
the status says `Gitpod is running` as its not checking for
readyness.

This PR updates the output to separate btw `starting` and `running`.
`Gitpod is running` message is showed only when we see that
the `gitpod-telemetry-init` job has run which happens when
all pods are ready.

Signed-off-by: Tarun Pothulapati <[email protected]>
@Pothulapati Pothulapati force-pushed the tar/local-preview-op branch from bbad17b to 0278789 Compare July 11, 2022 07:32
@@ -23,7 +23,7 @@ var msgs = []struct {
{Msg: "preparing system", Success: "extracting images to download ahead"},
{Msg: "downloading images", Success: "--output-split-files"},
{Msg: "preparing Gitpod preview installation", Success: "rm -rf /var/lib/rancher/k3s/server/manifests/gitpod"},
{Msg: "starting k3s", Success: "ws-proxy"},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think k3s is an implementation detail that we don't have to show it to the user here

@roboquat roboquat merged commit 7e31087 into main Jul 11, 2022
@roboquat roboquat deleted the tar/local-preview-op branch July 11, 2022 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note size/XS team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[local-preview] Differentiate btw starting and running
3 participants