You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[installer] make sure dashboard is deployed after server and papi-server (#19042)
* [installer] make sure dashboard is deployed after server and papi-server
* fix build
* Add unit tests
* address feedback
* wait feature flag until get actual value of timed out
* default config cat client nil
* log avg fetch time
* 1
* mock feature flag hang
* Add metric
* fixup
log.Infof("skip component waiter %s with Feature Flag", componentCmdOpt.component)
123
+
returnnil
124
+
}
110
125
ok, err:=checkPodsImage(ctx, k8sClient)
111
126
iferr!=nil {
112
127
log.WithError(err).Error("image check failed")
@@ -127,8 +142,75 @@ func init() {
127
142
componentCmd.Flags().StringVar(&componentCmdOpt.namespace, "namespace", "", "The namespace of deployment")
128
143
componentCmd.Flags().StringVar(&componentCmdOpt.component, "component", "", "Component name of deployment")
129
144
componentCmd.Flags().StringVar(&componentCmdOpt.labels, "labels", "", "Labels of deployment")
145
+
componentCmd.Flags().StringVar(&componentCmdOpt.ideMetricsHost, "ide-metrics-host", "", "Host of ide metrics")
146
+
componentCmd.Flags().DurationVar(&componentCmdOpt.featureFlagTimeout, "feature-flag-timeout", 3*time.Minute, "The maximum time to wait for feature flag")
147
+
componentCmd.Flags().StringVar(&componentCmdOpt.gitpodHost, "gitpod-host", "", "Domain of Gitpod installation")
log.WithField("fetchTimes", fetchTimes).WithField("avgTime", avgTime).WithField("isActualValue", isActualValue).WithField("value", value).Info("get final value of feature flag")
0 commit comments