Change to ofesseler/gluster_exporter
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
fba3de95fc
commit
62acb7504c
32
.drone.yml
32
.drone.yml
|
@ -9,11 +9,31 @@ platform:
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
|
volumes:
|
||||||
|
- name: go
|
||||||
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- apk add git
|
- apk add git
|
||||||
- mkdir -p $GOPATH/src/github.com/gluster
|
- go get github.com/ofesseler/gluster_exporter
|
||||||
- cd $GOPATH/src/github.com/gluster
|
- ls $GOPATH/bin/gluster_exporter
|
||||||
- git clone https://github.com/gluster/gluster-prometheus.git
|
|
||||||
- cd $GOPATH/src/github.com/gluster/gluster-prometheus
|
- name: upload-release
|
||||||
- ./scripts/install-reqs.sh
|
image: plugins/s3
|
||||||
- PREFIX=/usr/local make
|
volumes:
|
||||||
|
- name: go
|
||||||
|
path: /go
|
||||||
|
settings:
|
||||||
|
bucket: georg-drone
|
||||||
|
source: /go/bin/gluster_exporter
|
||||||
|
target: /keep/${DRONE_REPO}
|
||||||
|
path_style: true
|
||||||
|
strip_prefix: output/
|
||||||
|
endpoint: https://s3.j19.planetexpress.cc
|
||||||
|
access_key: georg-drone
|
||||||
|
secret_key:
|
||||||
|
from_secret: minio_key
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: go
|
||||||
|
temp: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue