From 0f32e15a88df46ddec29bc8493c026ff59155318 Mon Sep 17 00:00:00 2001 From: Kyle Brandt Date: Tue, 8 Oct 2019 12:03:23 -0400 Subject: [PATCH] build: use vendored packages for circle backend tests (#19708) --- scripts/circle-test-backend.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/circle-test-backend.sh b/scripts/circle-test-backend.sh index 147603276c0..d38a5e26005 100755 --- a/scripts/circle-test-backend.sh +++ b/scripts/circle-test-backend.sh @@ -3,6 +3,9 @@ # shellcheck source=./scripts/helpers/exit-if-fail.sh source "$(dirname "$0")/helpers/exit-if-fail.sh" +# use vendor folder for packages +export GOFLAGS=-mod=vendor + echo "building backend with install to cache pkgs" exit_if_fail time go install ./pkg/cmd/grafana-server