Parcourir la source

Drone Config: Use AUTO_GOPATH instead of hacking around.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Andrea Luzzardi il y a 10 ans
Parent
commit
72fe4c8daa
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1 4
      .drone.yml

+ 1 - 4
.drone.yml

@@ -1,12 +1,9 @@
 image: dockercore/docker
 image: dockercore/docker
 env:
 env:
-  - GOPATH=/var/cache/drone:$DRONE_BUILD_DIR/vendor
+  - AUTO_GOPATH=1
   - DOCKER_GRAPHDRIVER=vfs
   - DOCKER_GRAPHDRIVER=vfs
   - DOCKER_EXECDRIVER=native
   - DOCKER_EXECDRIVER=native
 script:
 script:
-# Setup the go environment.
-  - mkdir -p /var/cache/drone/src/github.com/docker
-  - ln -s $DRONE_BUILD_DIR /var/cache/drone/src/github.com/docker
 # Setup the DockerInDocker environment.
 # Setup the DockerInDocker environment.
   - hack/dind
   - hack/dind
 # Validate and test.
 # Validate and test.