Skip to content

Commit 25b4c8f

Browse files
committed
Meassure the time it takes for pulls to happen
1 parent 4cc165a commit 25b4c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ eksctl-deps-image: ## Create a cache image with all the build dependencies
175175
@# in hosts with different default file permissions (umask).
176176
chmod 0600 go.mod go.sum
177177
chmod 0700 install-build-deps.sh
178-
-docker pull $(EKSCTL_DEPENDENCIES_IMAGE)
178+
-time docker pull $(EKSCTL_DEPENDENCIES_IMAGE)
179179
docker build --cache-from=$(EKSCTL_DEPENDENCIES_IMAGE) \
180180
--tag=$(EKSCTL_DEPENDENCIES_IMAGE) $(EKSCTL_IMAGE_BUILD_ARGS) --target dependencies .
181181

@@ -188,7 +188,7 @@ go-deps.txt: go.mod eksctl-deps-image
188188

189189
.PHONY: eksctl-compiled-deps-image
190190
eksctl-compiled-deps-image: go-deps.txt ## Create a cache image with all the compiled build dependencies
191-
-docker pull $(EKSCTL_COMPILED_DEPENDENCIES_IMAGE)
191+
-time docker pull $(EKSCTL_COMPILED_DEPENDENCIES_IMAGE)
192192
docker build --cache-from=$(EKSCTL_DEPENDENCIES_IMAGE) --cache-from=$(EKSCTL_COMPILED_DEPENDENCIES_IMAGE) \
193193
--tag=$(EKSCTL_COMPILED_DEPENDENCIES_IMAGE) $(EKSCTL_IMAGE_BUILD_ARGS) --target compiled_dependencies .
194194

0 commit comments

Comments
 (0)