use absolute path

parent d6570f25
Pipeline #8671 passed with stages
in 3 minutes and 5 seconds
......@@ -4,7 +4,6 @@ include:
variables:
DOCKER_TLS_CERTDIR: ""
PROJECT_PATH: "gitlab.switch.ch/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}"
default:
image: golang:1.14
......@@ -15,8 +14,8 @@ stages:
.test_setup: &test_setup
- mkdir -p /go/src/gitlab.switch.ch/${CI_PROJECT_NAMESPACE}
- ln -s $CI_PROJECT_DIR /go/src/${PROJECT_PATH}
- cd /go/src/${PROJECT_PATH}
- ln -s $CI_PROJECT_DIR /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server
- cd /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server
.test:lint:
stage: test
......@@ -62,54 +61,54 @@ stages:
server:test:lint:
extends: .test:lint
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/server"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server"
server:test:unit:
extends: .test:unit
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/server"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server"
server:test:race:
extends: .test:race
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/server"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server"
server:test:build:
extends: .test:build
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/server"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server"
tokenservice:test:lint:
extends: .test:lint
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/tokenService"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/tokenService"
tokenservice:test:unit:
extends: .test:unit
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/tokenService"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/tokenService"
tokenservice:test:race:
extends: .test:race
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/tokenService"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/tokenService"
tokenservice:test:build:
extends: .test:build
variables:
PKG_PATH: "${PROJECT_PATH}/cmd/tokenService"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/tokenService"
memostream:test:lint:
extends: .test:lint
variables:
PKG_PATH: "${PROJECT_PATH}/pkg/memostream"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream"
memostream:test:unit:
extends: .test:unit
variables:
PKG_PATH: "${PROJECT_PATH}/pkg/memostream"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream"
memostream:test:race:
extends: .test:race
variables:
PKG_PATH: "${PROJECT_PATH}/pkg/memostream"
PKG_PATH: "gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment