X Tutup
Skip to content

Commit 66a3eeb

Browse files
committed
Fix CI due to Golang 1.10.6 / 1.11.3 regressions (workaround)
Attempt to fix CI is failing due to a regression in Go 1.10.6 / 1.11.3 (see golang/go#29241) ``` package github.com/containernetworking/plugins/...: github.com/containernetworking/plugins/...: invalid import path: malformed import path "github.com/containernetworking/plugins/...": double dot ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 52de371) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 3c89a5e commit 66a3eeb

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ all: binaries
107107

108108
check: proto-fmt ## run all linters
109109
@echo "$(WHALE) $@"
110-
gometalinter --config .gometalinter.json ./...
110+
# FIXME temporarily disabled due to a regression in Go 1.10.6 / 1.11.3 (https://github.com/golang/go/issues/29241)
111+
# gometalinter --config .gometalinter.json ./...
112+
gometalinter --config .gometalinter.json $(go list ./... | grep -v /vendor/)
111113

112114
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI
113115

script/setup/install-cni

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ CNI_COMMIT=$(grep containernetworking/plugins ${GOPATH}/src/github.com/container
2525
CNI_DIR=/opt/cni
2626
CNI_CONFIG_DIR=/etc/cni/net.d
2727

28-
go get -d github.com/containernetworking/plugins/...
28+
# FIXME temporarily disabled due to a regression in Go 1.10.6 / 1.11.3 (https://github.com/golang/go/issues/29241)
29+
# go get -d github.com/containernetworking/plugins/...
30+
go get -d github.com/containernetworking/plugins || true
31+
PACKAGES=$(go list github.com/containernetworking/plugins/... | grep -v /vendor/)
32+
go get -d ${PACKAGES}
33+
2934
cd $GOPATH/src/github.com/containernetworking/plugins
3035
git checkout $CNI_COMMIT
3136
FASTBUILD=true ./build.sh

script/setup/install-critools

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ set -eu -o pipefail
2222

2323
go get -u github.com/onsi/ginkgo/ginkgo
2424
CRITEST_COMMIT=v1.0.0-beta.1
25-
go get -d github.com/kubernetes-incubator/cri-tools/...
25+
26+
# FIXME temporarily disabled due to a regression in Go 1.10.6 / 1.11.3 (https://github.com/golang/go/issues/29241)
27+
# go get -d github.com/kubernetes-incubator/cri-tools/...
28+
go get -d github.com/kubernetes-incubator/cri-tools || true
29+
PACKAGES=$(go list github.com/kubernetes-incubator/cri-tools/... | grep -v /vendor/)
30+
go get -d ${PACKAGES}
2631
cd $GOPATH/src/github.com/kubernetes-incubator/cri-tools
2732
git checkout $CRITEST_COMMIT
2833
make

0 commit comments

Comments
 (0)
X Tutup