Skip to content

Commit

Permalink
Merge pull request #6573 from fmuyassarov/devel/prep-vendor-cleanup
Browse files Browse the repository at this point in the history
Add warning about vendor removal to Makefile build target
  • Loading branch information
k8s-ci-robot authored Mar 4, 2024
2 parents b63665a + bafe7cd commit 89741df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cluster-autoscaler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ IMAGE=$(REGISTRY)/cluster-autoscaler$(PROVIDER)

export DOCKER_CLI_EXPERIMENTAL := enabled

build: build-arch-$(GOARCH)
build:
@echo "⚠️ WARNING: The vendor directory will be removed soon. \
Please make sure your dependencies are managed via Go modules."
@$(MAKE) build-arch-$(GOARCH)

build-arch-%: clean-arch-%
$(ENVVAR) GOOS=$(GOOS) GOARCH=$* go build -o cluster-autoscaler-$* ${LDFLAGS_FLAG} ${TAGS_FLAG}
Expand Down

0 comments on commit 89741df

Please sign in to comment.