Ver Fonte

Disable tests for speed (for now)

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray há 2 anos atrás
pai
commit
1b43daf1f8
2 ficheiros alterados com 1 adições e 2 exclusões
  1. 0 2
      Dockerfile
  2. 1 0
      pkg/cmd/costmodel/costmodel.go

+ 0 - 2
Dockerfile

@@ -20,8 +20,6 @@ RUN go mod download
 COPY . .
 # Build the binary
 RUN set -e ;\
-    go test ./test/*.go;\
-    go test ./pkg/*;\
     cd cmd/costmodel;\
     GOOS=linux \
     go build -a -installsuffix cgo \

+ 1 - 0
pkg/cmd/costmodel/costmodel.go

@@ -35,6 +35,7 @@ func Healthz(w http.ResponseWriter, _ *http.Request, _ httprouter.Params) {
 func Execute(opts *CostModelOpts) error {
 	log.Infof("Starting cost-model version %s", version.FriendlyVersion())
 	log.Infof("Kubernetes enabled: %t", env.IsKubernetesEnabled())
+
 	a := costmodel.InitializeWithoutKubernetes()
 
 	if env.IsKubernetesEnabled() {