mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Do not change what the presubmit does yet
This commit is contained in:
17
Makefile
17
Makefile
@@ -26,10 +26,6 @@ REPO_NAME := "kustomize"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: install-tools verify-kustomize
|
|
||||||
|
|
||||||
|
|
||||||
# --- Plugins ---
|
# --- Plugins ---
|
||||||
include Makefile-plugins.mk
|
include Makefile-plugins.mk
|
||||||
|
|
||||||
@@ -98,8 +94,8 @@ generate-kustomize-api: $(MYGOBIN)/k8scopy
|
|||||||
# --- Verification targets ---
|
# --- Verification targets ---
|
||||||
.PHONY: verify-kustomize
|
.PHONY: verify-kustomize
|
||||||
verify-kustomize: \
|
verify-kustomize: \
|
||||||
lint \
|
install-tools \
|
||||||
license \
|
lint-kustomize \
|
||||||
test-unit-kustomize-all \
|
test-unit-kustomize-all \
|
||||||
test-unit-cmd-all \
|
test-unit-cmd-all \
|
||||||
test-go-mod \
|
test-go-mod \
|
||||||
@@ -110,7 +106,7 @@ verify-kustomize: \
|
|||||||
# https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/kustomize
|
# https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/kustomize
|
||||||
.PHONY: prow-presubmit-check
|
.PHONY: prow-presubmit-check
|
||||||
prow-presubmit-check: \
|
prow-presubmit-check: \
|
||||||
all
|
verify-kustomize
|
||||||
|
|
||||||
.PHONY: license
|
.PHONY: license
|
||||||
license: $(MYGOBIN)/addlicense
|
license: $(MYGOBIN)/addlicense
|
||||||
@@ -120,11 +116,16 @@ license: $(MYGOBIN)/addlicense
|
|||||||
check-license: $(MYGOBIN)/addlicense
|
check-license: $(MYGOBIN)/addlicense
|
||||||
./hack/add-license.sh check
|
./hack/add-license.sh check
|
||||||
|
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: $(MYGOBIN)/golangci-lint $(builtinplugins)
|
lint: $(MYGOBIN)/golangci-lint $(builtinplugins)
|
||||||
./hack/for-each-module.sh "make lint"
|
./hack/for-each-module.sh "make lint"
|
||||||
|
|
||||||
|
.PHONY: lint-kustomize
|
||||||
|
lint-kustomize: $(MYGOBIN)/golangci-lint-kustomize $(builtinplugins)
|
||||||
|
cd api; make lint
|
||||||
|
cd kustomize; make lint
|
||||||
|
cd cmd/pluginator; make lint
|
||||||
|
|
||||||
.PHONY: test-unit-all
|
.PHONY: test-unit-all
|
||||||
test-unit-all: $(builtinplugins)
|
test-unit-all: $(builtinplugins)
|
||||||
./hack/for-each-module.sh "make test"
|
./hack/for-each-module.sh "make test"
|
||||||
|
|||||||
Reference in New Issue
Block a user