2021-01-18 05:28:51 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2021-01-18 05:57:45 +01:00
|
|
|
- name: get
|
2021-01-18 05:28:51 +01:00
|
|
|
image: golang:alpine
|
|
|
|
commands:
|
2021-01-18 05:59:38 +01:00
|
|
|
- apk add git
|
2021-01-18 05:57:45 +01:00
|
|
|
- mkdir -p $GOPATH/src/github.com/gluster
|
|
|
|
- cd $GOPATH/src/github.com/gluster
|
|
|
|
- git clone https://github.com/gluster/gluster-prometheus.git
|
2021-01-18 06:02:21 +01:00
|
|
|
- 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
|