fix path issue

5 jobs for master in 19 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #32710
mbr
indexer:build

00:00:11

passed #32707
mbr
indexer:lint

00:00:19

failed #32709
mbr allowed to fail
indexer:race

00:00:11

failed #32708
mbr allowed to fail
indexer:unit

00:00:11

 
  Publish
skipped #32711
indexer:build-latest-image
 
Name Stage Failure
failed
indexer:build Test
$ ln -s $CI_PROJECT_DIR /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
$ cd /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
$ go build $PKG_PATH
can't load package: package gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice: cannot find package "gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice" in any of:
/usr/local/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice (from $GOROOT)
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice (from $GOPATH)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
indexer:unit Test
$ ln -s $CI_PROJECT_DIR /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
$ cd /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
$ go test -short $PKG_PATH
can't load package: package gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice: cannot find package "gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice" in any of:
/usr/local/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice (from $GOROOT)
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice (from $GOPATH)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
indexer:race Test
$ ln -s $CI_PROJECT_DIR /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
$ cd /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
$ go test -race -short $PKG_PATH
can't load package: package gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice: cannot find package "gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice" in any of:
/usr/local/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice (from $GOROOT)
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice (from $GOPATH)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1