Skip to content

Commit

Permalink
[local-preview] Differentiate btw Gitpod starting and running
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Pothulapati committed Jul 11, 2022
1 parent d13bdfd commit bbad17b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install/preview/prettylog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ 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"},
{Msg: "starting k3s", Success: "/bin/k3s server"},
{Msg: "starting Gitpod", Success: "gitpod-telemetry-init"},
{Msg: "Gitpod is running"},
}

Expand Down

0 comments on commit bbad17b

Please sign in to comment.