From bbad17bd3be2bba6a4eb48f918b725ed6b75130a 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/preview/prettylog/main.go b/install/preview/prettylog/main.go index 52a723472ea72f..338c3fb64fbdc0 100644 --- a/install/preview/prettylog/main.go +++ b/install/preview/prettylog/main.go @@ -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"}, }