Add Cirrus CI integration

This commit is contained in:
Conrad Hoffmann 2019-10-14 15:58:59 +02:00
parent 85875ebc14
commit 5e699d473e
3 changed files with 30 additions and 2 deletions

26
.cirrus.yml Normal file
View File

@ -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

View File

@ -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

View File

@ -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