Skip to content

Commit b143d24

Browse files
committed
Use vendor-ed version of plumbing instead of go get 🦸
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 <vdemeest@redhat.com>
1 parent e2a0084 commit b143d24

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎test/e2e-common.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
# Helper functions for E2E tests.
1818

19-
go get -d github.com/tektoncd/plumbing
20-
source $(go list -m -f '{{.Dir}}' github.com/tektoncd/plumbing)/scripts/e2e-tests.sh
19+
source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/e2e-tests.sh
2120

2221
function teardown() {
2322
subheader "Tearing down Tekton Pipelines"

‎test/presubmit-tests.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
export DISABLE_MD_LINTING=1
2727
export DISABLE_MD_LINK_CHECK=1
2828

29-
go get -d github.com/tektoncd/plumbing
30-
source $(go list -m -f '{{.Dir}}' github.com/tektoncd/plumbing)/scripts/presubmit-tests.sh
29+
source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh
3130

3231
function post_build_tests() {
3332
header "running golangci-lint"

0 commit comments

Comments
 (0)