Skip to content

Commit

Permalink
Merge pull request containers#15860 from edsantiago/fix_build_v34
Browse files Browse the repository at this point in the history
[v3.4] fix build
  • Loading branch information
openshift-merge-robot authored Sep 19, 2022
2 parents 4ad9628 + 1011a9a commit f122c54
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ ifeq ("$(wildcard $(GOPKGDIR))","")
endif
touch $@

.PHONY: .gitvalidation
.gitvalidation: .gopathok
@echo "Validating vs commit '$(call err_if_empty,EPOCH_TEST_COMMIT)'"
GIT_CHECK_EXCLUDE="./vendor:docs/make.bat:test/buildah-bud/buildah-tests.diff" $(GOBIN)/git-validation -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..$(HEAD)

.PHONY: lint
lint: golangci-lint
@echo "Linting vs commit '$(call err_if_empty,EPOCH_TEST_COMMIT)'"
Expand Down Expand Up @@ -271,7 +266,7 @@ codespell:
codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L uint,iff,od,seeked,splitted,marge,ERRO,hist,ether -w

.PHONY: validate
validate: gofmt lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit
validate: gofmt lint validate.completions man-page-check swagger-check tests-included tests-expect-exit

.PHONY: build-all-new-commits
build-all-new-commits:
Expand Down Expand Up @@ -760,7 +755,7 @@ install.systemd:
endif

.PHONY: install.tools
install.tools: .install.goimports .install.gitvalidation .install.md2man .install.ginkgo .install.golangci-lint .install.bats ## Install needed tools
install.tools: .install.goimports .install.md2man .install.ginkgo .install.golangci-lint .install.bats ## Install needed tools

.install.goimports: .gopathok
if [ ! -x "$(GOBIN)/goimports" ]; then \
Expand All @@ -774,12 +769,6 @@ install.tools: .install.goimports .install.gitvalidation .install.md2man .instal
$(GO) install $(BUILDFLAGS) ./vendor/github.com/onsi/ginkgo/ginkgo ; \
fi

.PHONY: .install.gitvalidation
.install.gitvalidation: .gopathok
if [ ! -x "$(GOBIN)/git-validation" ]; then \
$(call go-get,github.com/vbatts/git-validation); \
fi

.PHONY: .install.golangci-lint
.install.golangci-lint: .gopathok
VERSION=1.36.0 GOBIN=$(GOBIN) sh ./hack/install_golangci.sh
Expand Down

0 comments on commit f122c54

Please sign in to comment.