From 9bce5d7157b634daca23fb74072552d80ce3ed14 Mon Sep 17 00:00:00 2001
From: sh0rez <me@shorez.de>
Date: Mon, 9 Sep 2019 23:28:38 +0200
Subject: [PATCH] chore(packaging): fix GOPATH being overwritten (#992)

Drone workspace was overwriting whole GOPATH, which made our executables go away
---
 .drone/drone.jsonnet | 4 ++--
 .drone/drone.yml     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.drone/drone.jsonnet b/.drone/drone.jsonnet
index 097493f8..8d594c48 100644
--- a/.drone/drone.jsonnet
+++ b/.drone/drone.jsonnet
@@ -102,8 +102,8 @@ local manifest(apps) = pipeline('manifest') {
 local drone = [
   pipeline('check') {
     workspace: {
-      base: "/go",
-      path: "src/github.com/grafana/loki"
+      base: "/go/src",
+      path: "github.com/grafana/loki"
     },
     steps: [
       make('test', container=false) { depends_on: ['clone'] },
diff --git a/.drone/drone.yml b/.drone/drone.yml
index 3d112f8a..f832d84a 100644
--- a/.drone/drone.yml
+++ b/.drone/drone.yml
@@ -20,8 +20,8 @@ steps:
   image: grafana/loki-build-image:0.5.0
   name: check-generated-files
 workspace:
-  base: /go
-  path: src/github.com/grafana/loki
+  base: /go/src
+  path: github.com/grafana/loki
 ---
 depends_on:
 - check
-- 
GitLab