mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-06 23:18:46 +02:00
Improve performance of controllers
This commit is contained in:
@@ -51,7 +51,8 @@ endif
|
||||
ifeq (${IMG_RESULT}, load)
|
||||
export PUSH_ARG="--load"
|
||||
# if load is specified, image will be built only for the build machine architecture.
|
||||
export PLATFORMS="local"
|
||||
# export PLATFORMS="local"
|
||||
export PLATFORMS="linux/amd64"
|
||||
else ifeq (${IMG_RESULT}, cache)
|
||||
# if cache is specified, image will only be available in the build cache, it won't be pushed or loaded
|
||||
# therefore no PUSH_ARG will be specified
|
||||
@@ -78,7 +79,6 @@ test-with-deps: setup-envtest
|
||||
KUBEBUILDER_ASSETS="$$($(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(GOBIN) -p path)" \
|
||||
make test
|
||||
|
||||
|
||||
# Build manager binary
|
||||
manager: generate fmt vet
|
||||
go build -o bin/manager main.go
|
||||
@@ -365,7 +365,6 @@ SHELLCHECK=$(TOOLS_PATH)/shellcheck
|
||||
|
||||
# find or download envtest
|
||||
envtest:
|
||||
ifeq (, $(shell which setup-envtest))
|
||||
ifeq (, $(wildcard $(GOBIN)/setup-envtest))
|
||||
@{ \
|
||||
set -e ;\
|
||||
@@ -377,9 +376,6 @@ ifeq (, $(wildcard $(GOBIN)/setup-envtest))
|
||||
}
|
||||
endif
|
||||
ENVTEST=$(GOBIN)/setup-envtest
|
||||
else
|
||||
ENVTEST=$(shell which setup-envtest)
|
||||
endif
|
||||
|
||||
.PHONY: setup-envtest
|
||||
setup-envtest: envtest
|
||||
|
||||
Reference in New Issue
Block a user