Skip to content

Commit 451c174

Browse files
committed
Do not run functional test during docker build
The functional test can be unstable causing the docker build to fail and that makes the content provider job failing and blocking CI. We have a separate functional job to run these tests that should be enough. The unstable functional test needs to be fixed separately
1 parent b68cb4a commit 451c174

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
@@ -156,7 +156,7 @@ run: manifests generate fmt vet ## Run a controller from your host.
156156
go run ./main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)"
157157

158158
.PHONY: docker-build
159-
docker-build: test ## Build docker image with the manager.
159+
docker-build: ## Build docker image with the manager.
160160
podman build -t ${IMG} . ${DOCKER_BUILD_ARGS}
161161

162162
.PHONY: docker-push
@@ -171,7 +171,7 @@ docker-push: ## Push docker image with the manager.
171171
# To properly provided solutions that supports more than one platform you should use this option.
172172
PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
173173
.PHONY: docker-buildx
174-
docker-buildx: test ## Build and push docker image for the manager for cross-platform support
174+
docker-buildx: ## Build and push docker image for the manager for cross-platform support
175175
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
176176
sed -e '1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross
177177
- docker buildx create --name project-v3-builder

0 commit comments

Comments
 (0)