Add Cirrus CI integration
This commit is contained in:
parent
85875ebc14
commit
5e699d473e
|
@ -0,0 +1,26 @@
|
|||
container:
|
||||
image: quay.io/prometheus/golang-builder:1.13-base
|
||||
|
||||
build_task:
|
||||
build_script: make
|
||||
|
||||
release_task:
|
||||
only_if: $CIRRUS_TAG =~ 'v.*'
|
||||
depends_on: build
|
||||
build_script: make build tarball
|
||||
tarball_artifacts:
|
||||
path: "ipmi_exporter-*.tar.gz"
|
||||
type: application/gzip
|
||||
matrix:
|
||||
- env:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
- env:
|
||||
GOOS: darwin
|
||||
GOARCH: amd64
|
||||
- env:
|
||||
GOOS: freebsd
|
||||
GOARCH: amd64
|
||||
- env:
|
||||
GOOS: linux
|
||||
GOARCH: arm64
|
|
@ -1,7 +1,7 @@
|
|||
go:
|
||||
# Whenever the Go version is updated here,
|
||||
# .circle/config.yml should also be updated.
|
||||
version: 1.12
|
||||
# .cirrus.yml should also be updated.
|
||||
version: 1.13
|
||||
|
||||
repository:
|
||||
path: github.com/soundcloud/ipmi_exporter
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
Prometheus IPMI Exporter
|
||||
========================
|
||||
|
||||
[![Build Status](https://api.cirrus-ci.com/github/soundcloud/ipmi_exporter.svg?branch=master)](https://cirrus-ci.com/github/soundcloud/ipmi_exporter)
|
||||
|
||||
This is an IPMI exporter for [Prometheus](https://prometheus.io).
|
||||
|
||||
It supports both the regular `/metrics` endpoint, exposing metrics from the
|
||||
|
|
Loading…
Reference in New Issue