Skip to content

Commit 77e47cc

Browse files
authored
Merge pull request #222 from xinydev/fix-dep-version
Fix golang dep version mismatch
2 parents 8f83905 + 155854b commit 77e47cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prow.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ configvar CSI_PROW_SANITY_CONTAINER "hostpath" "Kubernetes container with CSI dr
245245

246246
# The version of dep to use for 'make test-vendor'. Ignored if the project doesn't
247247
# use dep. Only binary releases of dep are supported (https://github.com/golang/dep/releases).
248-
configvar CSI_PROW_DEP_VERSION v0.5.1 "golang dep version to be used for vendor checking"
248+
configvar CSI_PROW_DEP_VERSION v0.5.4 "golang dep version to be used for vendor checking"
249249

250250
# Each job can run one or more of the following tests, identified by
251251
# a single word:
@@ -469,7 +469,7 @@ install_dep () {
469469
if dep version 2>/dev/null | grep -q "version:.*${CSI_PROW_DEP_VERSION}$"; then
470470
return
471471
fi
472-
run curl --fail --location -o "${CSI_PROW_WORK}/bin/dep" "https://github.com/golang/dep/releases/download/v0.5.4/dep-linux-amd64" &&
472+
run curl --fail --location -o "${CSI_PROW_WORK}/bin/dep" "https://github.com/golang/dep/releases/download/${CSI_PROW_DEP_VERSION}/dep-linux-amd64" &&
473473
chmod u+x "${CSI_PROW_WORK}/bin/dep"
474474
}
475475

0 commit comments

Comments
 (0)