-
Notifications
You must be signed in to change notification settings - Fork 474
/
.gitlab-ci.yml
21 lines (20 loc) · 798 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build:
image: registry.centos.org/minishift/minishift-build:latest
tags:
- docker
script:
- export CURRENT_BUILD_PATH=$PWD
- mkdir -p $HOME/gopath/bin
- curl -L https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o $HOME/gopath/bin/dep
- chmod +x $HOME/gopath/bin/dep
- export GOPATH=$HOME/gopath
- export PATH=$PATH:$GOPATH/bin
- mkdir -p $HOME/gopath/src/github.com/minishift
- ln -s $CURRENT_BUILD_PATH $HOME/gopath/src/github.com/minishift/minishift
- cd $HOME/gopath/src/github.com/minishift/minishift/
- make prerelease
- rm -rf $HOME/gopath/src/github.com/minishift/minishift/out/bindata
- mv $HOME/gopath/src/github.com/minishift/minishift/out/ $CURRENT_BUILD_PATH/public
artifacts:
paths:
- public