Skip to content

Commit 619d53a

Browse files
Extend e2e to build images
1 parent 7e48d04 commit 619d53a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ docker-load-kind:
142142
kind load docker-image ${AGENT_IMAGE} ${SIDECAR_IMAGE} ${MANAGER_IMAGE}
143143

144144
run-e2e:
145+
${MAKE} docker-build-all
145146
SIDECAR_IMAGE=${SIDECAR_IMAGE} AGENT_IMAGE=${AGENT_IMAGE} $(MAKE) update-agent-and-sidecar-image
146147
MANAGER_IMAGE=${MANAGER_IMAGE} $(MAKE) update-manager-image
147148
$(KUSTOMIZE) build config/default > release_it.yaml

internal/it/suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ func KubectlApply(resource string, namespace string) (string, error) {
118118
var _ = BeforeSuite(func() {
119119
releasePath = os.Getenv("WIREGUARD_OPERATOR_RELEASE_PATH")
120120
agentImage = os.Getenv("AGENT_IMAGE")
121+
sidecarImage = os.Getenv("SIDECAR_IMAGE")
121122
managerImage = os.Getenv("MANAGER_IMAGE")
122123
kindBinary = os.Getenv("KIND_BIN")
123124
kubeConfigPath = os.Getenv("KUBE_CONFIG")

0 commit comments

Comments
 (0)