[arvados-workbench2] created: 2.7.0-168-g1d6706fd
git repository hosting
git at public.arvados.org
Fri Oct 20 15:15:34 UTC 2023
at 1d6706fd7ae3f1c69508b1c25afccd85f6362e34 (commit)
commit 1d6706fd7ae3f1c69508b1c25afccd85f6362e34
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Fri Oct 20 12:04:51 2023 -0300
21118: Calls arvados-server from GOPATH instead of assuming root home dir.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/Makefile b/Makefile
index 2ca5e79a..a5da3246 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,7 @@ DEB_FILE=$(APP_NAME)_$(VERSION)-$(ITERATION)_amd64.deb
# redHat package file
RPM_FILE=$(APP_NAME)-$(VERSION)-$(ITERATION).x86_64.rpm
+GOPATH=$(shell go env GOPATH)
export WORKSPACE?=$(shell pwd)
.PHONY: help clean* yarn-install test build packages packages-with-version integration-tests-in-docker
@@ -66,10 +67,11 @@ arvados-server-install: check-arvados-directory
cd $(ARVADOS_DIRECTORY)
go mod download
cd cmd/arvados-server
+ echo GOPATH is $(GOPATH)
go install
cd -
- ls -l ~/go/bin/arvados-server
- ~/go/bin/arvados-server install -type test
+ ls -l $(GOPATH)/bin/arvados-server
+ $(GOPATH)/bin/arvados-server install -type test
yarn-install: arvados-server-install
yarn install
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list