Skip to content

Commit 29180fb

Browse files
committed
Explicitly pre-pull all e2e image dependencies
1 parent 4a7e6f2 commit 29180fb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,22 @@ test: ## Run tests
123123
# E2E_GINKGO_ARGS="-stream -focus='default'" E2E_ARGS="-use-existing-cluster='true'" make test-e2e
124124
E2E_GINKGO_ARGS ?= -stream
125125
.PHONY: test-e2e ## Run e2e tests using clusterctl
126-
test-e2e: $(GINKGO) $(KIND) $(KUSTOMIZE) e2e-image ## Run e2e tests
126+
test-e2e: $(GINKGO) $(KIND) $(KUSTOMIZE) e2e-image test-e2e-image-prerequisites ## Run e2e tests
127127
time $(GINKGO) -trace -progress -v -tags=e2e --nodes=$(E2E_GINKGO_PARALLEL) $(E2E_GINKGO_ARGS) ./test/e2e/suites/e2e/... -- -config-path="$(E2E_CONF_PATH)" -artifacts-folder="$(ARTIFACTS)" --data-folder="$(E2E_DATA_DIR)" $(E2E_ARGS)
128128

129129
.PHONY: e2e-image
130130
e2e-image: docker-pull-prerequisites
131131
docker build -f $(CONTAINERFILE) --tag="gcr.io/k8s-staging-capi-openstack/capi-openstack-controller:e2e" .
132132

133+
# Pull all the images references in test/e2e/data/e2e_conf.yaml
134+
test-e2e-image-prerequisites:
135+
docker pull gcr.io/k8s-staging-cluster-api/cluster-api-controller:v0.4.0
136+
docker pull gcr.io/k8s-staging-cluster-api/kubeadm-bootstrap-controller:v0.4.0
137+
docker pull gcr.io/k8s-staging-cluster-api/kubeadm-control-plane-controller:v0.4.0
138+
docker pull quay.io/jetstack/cert-manager-cainjector:v1.1.0
139+
docker pull quay.io/jetstack/cert-manager-webhook:v1.1.0
140+
docker pull quay.io/jetstack/cert-manager-controller:v1.1.0
141+
133142
CONFORMANCE_E2E_ARGS ?= -kubetest.config-file=$(KUBETEST_CONF_PATH)
134143
CONFORMANCE_E2E_ARGS += $(E2E_ARGS)
135144
CONFORMANCE_GINKGO_ARGS ?= -stream

0 commit comments

Comments
 (0)