_build_gluster_prometheus/.drone.yml

40 lines
769 B
YAML
Raw Permalink Normal View History

---
kind: pipeline
type: docker
name: default
platform:
arch: arm64
steps:
2021-01-18 06:03:53 +01:00
- name: build
2021-01-18 12:07:34 +01:00
image: golang
2021-01-18 07:37:35 +01:00
volumes:
- name: go
path: /go
commands:
2021-01-18 07:37:35 +01:00
- go get github.com/ofesseler/gluster_exporter
2021-01-18 11:52:44 +01:00
- cd $GOPATH/src/github.com/ofesseler/gluster_exporter
- go build
2021-01-18 07:37:35 +01:00
- name: upload-release
image: plugins/s3
volumes:
- name: go
path: /go
settings:
bucket: georg-drone
2021-01-18 11:52:44 +01:00
source: /go/src/github.com/ofesseler/gluster_exporter/gluster_exporter
2021-01-18 07:37:35 +01:00
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: {}