From 470b31f2411bac0fab17dec2788d194ff9b1ea81 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Mon, 18 Jan 2021 06:02:21 +0100 Subject: [PATCH] Add build specification --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index 665593a..f2d7fc9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,3 +14,12 @@ steps: - mkdir -p $GOPATH/src/github.com/gluster - cd $GOPATH/src/github.com/gluster - git clone https://github.com/gluster/gluster-prometheus.git + - name: install deps + image: golang:alpine + commands: + - cd $GOPATH/src/github.com/gluster/gluster-prometheus + - ./scripts/install-reqs.sh + - name: build + image: golang:alpine + commands: + - PREFIX=/usr/local make