mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 05:52:43 +02:00
make run.sh executable from within e2e (#619)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: clean local test linux macos docker push scm-source.json e2e-run e2e-tools e2e-build
|
||||
.PHONY: clean local test linux macos docker push scm-source.json e2e
|
||||
|
||||
BINARY ?= postgres-operator
|
||||
BUILD_FLAGS ?= -v
|
||||
@@ -34,7 +34,10 @@ ifdef CDP_PULL_REQUEST_NUMBER
|
||||
CDP_TAG := -${CDP_BUILD_VERSION}
|
||||
endif
|
||||
|
||||
KIND_PATH := $(GOPATH)/bin
|
||||
ifndef GOPATH
|
||||
GOPATH := $(HOME)/go
|
||||
endif
|
||||
|
||||
PATH := $(GOPATH)/bin:$(PATH)
|
||||
SHELL := env PATH=$(PATH) $(SHELL)
|
||||
|
||||
@@ -92,15 +95,5 @@ test:
|
||||
hack/verify-codegen.sh
|
||||
@go test ./...
|
||||
|
||||
e2e-build:
|
||||
docker build --tag="postgres-operator-e2e-tests" -f e2e/Dockerfile .
|
||||
|
||||
e2e-tools:
|
||||
# install pinned version of 'kind'
|
||||
# leave the name as is to avoid overwriting official binary named `kind`
|
||||
wget https://github.com/kubernetes-sigs/kind/releases/download/v0.3.0/kind-linux-amd64
|
||||
chmod +x kind-linux-amd64
|
||||
mv kind-linux-amd64 $(KIND_PATH)
|
||||
|
||||
e2e-run: docker
|
||||
e2e/run.sh
|
||||
e2e:
|
||||
cd e2e; make tools test
|
||||
|
||||
Reference in New Issue
Block a user