Skip to content

Commit

Permalink
Switch to go modules (ctrox#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrox authored Mar 2, 2019
1 parent 95d7e48 commit 9eeb602
Show file tree
Hide file tree
Showing 8 changed files with 141 additions and 532 deletions.
8 changes: 1 addition & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@ image:
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
GO_PROJECT_BASE: /go/src/github.com/ctrox
GO_PROJECT_DIR: $GO_PROJECT_BASE/csi-s3

stages:
- build
- test

build:
stage: build
before_script:
- mkdir -p $GO_PROJECT_BASE
- ln -s $CI_PROJECT_DIR $GO_PROJECT_BASE
- cd $GO_PROJECT_DIR
script:
- make build

Expand All @@ -27,4 +21,4 @@ test:
services:
- docker:dind
script:
- docker run --rm --privileged -v $(pwd):$GO_PROJECT_DIR --device /dev/fuse ctrox/$CI_PROJECT_NAME:test
- docker run --rm --privileged -v $(pwd):/app --device /dev/fuse ctrox/csi-s3:test
Loading

0 comments on commit 9eeb602

Please sign in to comment.