Skip to content

Commit a7dc636

Browse files
committed
[local-preview] Differentiate btw Gitpod starting and running
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]>
1 parent d13bdfd commit a7dc636

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install/preview/prettylog/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ var msgs = []struct {
2323
{Msg: "preparing system", Success: "extracting images to download ahead"},
2424
{Msg: "downloading images", Success: "--output-split-files"},
2525
{Msg: "preparing Gitpod preview installation", Success: "rm -rf /var/lib/rancher/k3s/server/manifests/gitpod"},
26-
{Msg: "starting k3s", Success: "ws-proxy"},
27-
{Msg: "Gitpod is running"},
26+
{Msg: "starting k3s", Success: "/bin/k3s server"},
27+
{Msg: "starting Gitpod", Success: "ws-proxy"},
28+
{Msg: "Gitpod is running", Success: "gitpod-telemetry-init"},
2829
}
2930

3031
func main() {

0 commit comments

Comments
 (0)