26 lines
553 B
YAML
26 lines
553 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
platform:
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: get
|
|
image: golang:alpine
|
|
commands:
|
|
- apk add git
|
|
- 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
|