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"