mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-07 00:21:14 +02:00
Fixed e2e docker build issue
This commit is contained in:
@@ -261,6 +261,12 @@ docker-build: check-env ## Build the container
|
||||
@echo "+ $@"
|
||||
docker build . -t $(REPO):$(GITCOMMIT) --file build/Dockerfile
|
||||
|
||||
.PHONY: docker-build-e2e
|
||||
docker-build-e2e: check-env ## Build the container for e2e tests
|
||||
@echo "+ $@"
|
||||
eval $(minikube docker-env)
|
||||
docker build . -t $(REPO):$(GITCOMMIT) --file build/Dockerfile
|
||||
|
||||
.PHONY: docker-images
|
||||
docker-images: ## List all local containers
|
||||
@echo "+ $@"
|
||||
|
||||
@@ -48,8 +48,7 @@ Run e2e tests with minikube:
|
||||
|
||||
```bash
|
||||
make minikube-run
|
||||
eval $(minikube docker-env)
|
||||
make docker-build
|
||||
make docker-build-e2e
|
||||
make e2e E2E_IMAGE=jenkins-operator
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user