Skip to content
Snippets Groups Projects
Commit 696c4667 authored by Valentin Hristev's avatar Valentin Hristev
Browse files

Update .gitlab-ci.yml

parent 3d199412
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,6 @@ build: ...@@ -13,9 +13,6 @@ build:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-add ~/.ssh/id_rsa - ssh-add ~/.ssh/id_rsa
- git config --global url."ssh://git@code.vereign.com".insteadOf https://code.vereign.com - git config --global url."ssh://git@code.vereign.com".insteadOf https://code.vereign.com
- id
- pwd
- go env
- export PATH=$PATH:/home/gitlab-runner/go/bin - export PATH=$PATH:/home/gitlab-runner/go/bin
- export GOPATH="/home/gitlab-runner/go" - export GOPATH="/home/gitlab-runner/go"
- echo $GOPATH - echo $GOPATH
...@@ -24,7 +21,7 @@ build: ...@@ -24,7 +21,7 @@ build:
- cd code.vereign.com/$CI_PROJECT_NAMESPACE - cd code.vereign.com/$CI_PROJECT_NAMESPACE
- cp -rf $CI_PROJECT_DIR $CI_PROJECT_NAME - cp -rf $CI_PROJECT_DIR $CI_PROJECT_NAME
- cd $CI_PROJECT_NAME - cd $CI_PROJECT_NAME
- go env
script: script:
- go get -u github.com/golang/dep/cmd/dep - go get -u github.com/golang/dep/cmd/dep
- ls -l $GOPATH/bin/
- make - make
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment