21118: Attempts to avoid the 'error obtaining VCS status' issue.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Tue, 24 Oct 2023 13:57:46 +0000 (10:57 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Tue, 24 Oct 2023 14:08:11 +0000 (11:08 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

Makefile
tools/run-integration-tests.sh

index a5da3246e287d231bec2e1ab0557befca95de390..6a174bcf6c4798d94854696bea4aef652b5a2fb7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ arvados-server-install: check-arvados-directory
        go mod download
        cd cmd/arvados-server
        echo GOPATH is $(GOPATH)
-       go install
+       GOFLAGS=-buildvcs=false go install
        cd -
        ls -l $(GOPATH)/bin/arvados-server
        $(GOPATH)/bin/arvados-server install -type test
index 1f2b7c5ee585a0b7ec4d9250005a8f5d155472dd..132b0e53266e79d4ff7b42acb451cc6b9ea4261b 100755 (executable)
@@ -96,9 +96,9 @@ fi
 
 echo "Building & installing arvados-server..."
 cd ${ARVADOS_DIR}
-go mod download || exit 1
+GOFLAGS=-buildvcs=false go mod download || exit 1
 cd cmd/arvados-server
-go install
+GOFLAGS=-buildvcs=false go install
 cd -
 
 echo "Installing dev dependencies..."