From 2af394cc0d7c60beb3c9c055c95241d32c4e2674 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Mon, 6 Jan 2020 14:42:47 +0100 Subject: [PATCH] =?UTF-8?q?Use=20vendor-ed=20version=20of=20plumbing=20ins?= =?UTF-8?q?tead=20of=20go=20get=20=F0=9F=A6=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using `go get -d` updates continuously the plumbing dependency, without really updating the vendor folder, which means it becomes inconsistency. This is a follow-up of #1763. Signed-off-by: Vincent Demeester --- test/e2e-common.sh | 3 +-- test/presubmit-tests.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/e2e-common.sh b/test/e2e-common.sh index edf023b4e6f..edbf6d3e7f0 100755 --- a/test/e2e-common.sh +++ b/test/e2e-common.sh @@ -16,8 +16,7 @@ # Helper functions for E2E tests. -go get -d github.com/tektoncd/plumbing -source $(go list -m -f '{{.Dir}}' github.com/tektoncd/plumbing)/scripts/e2e-tests.sh +source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/e2e-tests.sh function teardown() { subheader "Tearing down Tekton Pipelines" diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index 812146930af..77435e52bcf 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -26,8 +26,7 @@ export DISABLE_MD_LINTING=1 export DISABLE_MD_LINK_CHECK=1 -go get -d github.com/tektoncd/plumbing -source $(go list -m -f '{{.Dir}}' github.com/tektoncd/plumbing)/scripts/presubmit-tests.sh +source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh function post_build_tests() { header "running golangci-lint"