From 0278789177ad2f19b197886ad8efccef619b763e Mon Sep 17 00:00:00 2001 From: Tarun Pothulapati Date: Mon, 11 Jul 2022 05:52:07 +0000 Subject: [PATCH] [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 --- install/preview/prettylog/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/preview/prettylog/main.go b/install/preview/prettylog/main.go index 52a723472ea72f..26f31e7f81fb1d 100644 --- a/install/preview/prettylog/main.go +++ b/install/preview/prettylog/main.go @@ -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"}, + {Msg: "starting Gitpod", Success: "gitpod-telemetry-init"}, {Msg: "Gitpod is running"}, }