Skip to content

Commit

Permalink
Extend e2e to build images
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Beckett committed May 23, 2023
1 parent 7e48d04 commit 619d53a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ docker-load-kind:
kind load docker-image ${AGENT_IMAGE} ${SIDECAR_IMAGE} ${MANAGER_IMAGE}

run-e2e:
${MAKE} docker-build-all
SIDECAR_IMAGE=${SIDECAR_IMAGE} AGENT_IMAGE=${AGENT_IMAGE} $(MAKE) update-agent-and-sidecar-image
MANAGER_IMAGE=${MANAGER_IMAGE} $(MAKE) update-manager-image
$(KUSTOMIZE) build config/default > release_it.yaml
Expand Down
1 change: 1 addition & 0 deletions internal/it/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func KubectlApply(resource string, namespace string) (string, error) {
var _ = BeforeSuite(func() {
releasePath = os.Getenv("WIREGUARD_OPERATOR_RELEASE_PATH")
agentImage = os.Getenv("AGENT_IMAGE")
sidecarImage = os.Getenv("SIDECAR_IMAGE")
managerImage = os.Getenv("MANAGER_IMAGE")
kindBinary = os.Getenv("KIND_BIN")
kubeConfigPath = os.Getenv("KUBE_CONFIG")
Expand Down

0 comments on commit 619d53a

Please sign in to comment.