Skip to content
Snippets Groups Projects

Ci - automated build

Merged Alexey Kuklin requested to merge ci into master
1 file
+ 23
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 23
0
 
image: registry.vereign.com/docker/vcl-build-base:master
 
stages:
 
- build
 
build:
 
stage: build
 
artifacts:
 
paths:
 
- build.tgz
 
expire_in: 1 week
 
only:
 
- ci
 
tags:
 
- dell
 
script:
 
- mkdir -p $GOPATH/src/code.vereign.com/code
 
- ln -s `pwd` $GOPATH/src/code.vereign.com/code/
 
- cd $GOPATH/src/code.vereign.com/code/vcl
 
- git config --global credential.https://code.vereign.com.username gitlab-ci-token
 
- git config --global credential.helper "store --file /tmp/store"
 
- echo https://gitlab-ci-token:$CI_JOB_TOKEN@code.vereign.com > /tmp/store
 
- make
 
- tar -czf build.tgz -C /builds/code/vcl/javascript/dist/. .
 
Loading