aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-06-08 12:33:35 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-06-08 15:21:34 +0200
commitb6148b657661db2b9d7858102e9aa3cf6f19f47f (patch)
treead0749e9cd6ef7e1e9c369b1f8d6ef026d637a55 /Makefile
parentefd1422143c738ae268e4e86da05adb597c84083 (diff)
downloadpodman-b6148b657661db2b9d7858102e9aa3cf6f19f47f.tar.gz
podman-b6148b657661db2b9d7858102e9aa3cf6f19f47f.tar.bz2
podman-b6148b657661db2b9d7858102e9aa3cf6f19f47f.zip
force bats version to v1.1.0
We experienced regression when using the latest `v1.2.0-dev` bats in Ubuntu 20.04 (see github.com/containers/libpod/pull/6418). Using bats v1.1.0 worked in the Ubuntu test VM. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1d30d2534..67de05f57 100644
--- a/Makefile
+++ b/Makefile
@@ -612,7 +612,7 @@ uninstall:
GIT_CHECK_EXCLUDE="./vendor:docs/make.bat" $(GOBIN)/git-validation -run DCO,short-subject,dangling-whitespace -range $(EPOCH_TEST_COMMIT)..$(HEAD)
.PHONY: install.tools
-install.tools: .install.gitvalidation .install.md2man .install.ginkgo .install.golangci-lint ## Install needed tools
+install.tools: .install.gitvalidation .install.md2man .install.ginkgo .install.golangci-lint .install.bats ## Install needed tools
define go-get
env GO111MODULE=off \
@@ -635,6 +635,10 @@ endef
.install.golangci-lint: .gopathok
VERSION=1.18.0 GOBIN=$(GOBIN) sh ./hack/install_golangci.sh
+.PHONY: .install.bats
+.install.bats: .gopathok
+ VERSION=v1.1.0 ./hack/install_bats.sh
+
.PHONY: .install.pre-commit
.install.pre-commit:
if [ -z "$(PRE_COMMIT)" ]; then \