Skip to content

Commit

Permalink
Add timings (#3335)
Browse files Browse the repository at this point in the history
Signed-off-by: David Gageot <[email protected]>
  • Loading branch information
dgageot authored Dec 3, 2019
1 parent aa01d36 commit db4716d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ clean:

.PHONY: kind-cluster
kind-cluster:
kind get clusters | grep -q kind || TERM=dumb kind create cluster --image=kindest/node:v1.13.12@sha256:ad1dd06aca2b85601f882ba1df4fdc03d5a57b304652d0e81476580310ba6289
kind get clusters | grep -q kind || TERM=dumb time kind create cluster --image=kindest/node:v1.13.12@sha256:ad1dd06aca2b85601f882ba1df4fdc03d5a57b304652d0e81476580310ba6289

.PHONY: skaffold-builder
skaffold-builder:
-docker pull gcr.io/$(GCP_PROJECT)/skaffold-builder
docker build \
-time docker pull gcr.io/$(GCP_PROJECT)/skaffold-builder
time docker build \
--cache-from gcr.io/$(GCP_PROJECT)/skaffold-builder \
-f deploy/skaffold/Dockerfile \
--target integration \
Expand All @@ -198,7 +198,7 @@ skaffold-builder:
integration-in-kind: kind-cluster skaffold-builder
kind get kubeconfig --internal > /tmp/kind-config
echo '{}' > /tmp/docker-config
docker run --rm \
time docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp/kind-config:/kind-config \
-v /tmp/docker-config:/root/.docker/config.json \
Expand Down

0 comments on commit db4716d

Please sign in to comment.