From f9a269de95da9ea2554f7c41abddb336fd4c7336 Mon Sep 17 00:00:00 2001 From: Pierre-Alain TORET Date: Fri, 8 Jun 2018 10:33:45 +0200 Subject: [PATCH] .gitlab-ci.yml: pulling dependencies is done in make step Signed-off-by: Pierre-Alain TORET --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24b27fd..5795555 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,8 @@ stages: build-src: stage: build-src image: debian:buster + variables: + GOPATH: $CI_PROJECT_DIR script: - apt update - apt install -y curl gnupg git make golang @@ -13,7 +15,7 @@ build-src: - apt update - apt install -y nodejs - npm install -g html-minifier uglify-js sass - - cd api && go get -v . && cd .. + - mkdir -p src/gitlab.com/commento && cd src/gitlab.com/commento && ln -s $CI_PROJECT_DIR && cd $CI_PROJECT_NAME - make devel - make prod