mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 16:14:05 -08:00
41c22effbe
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a configuration option for Prometheus to send alerts to the v2 endpoint instead of the defautl v1 endpoint. Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
40 lines
873 B
YAML
40 lines
873 B
YAML
clone:
|
|
path: github.com/go-openapi/loads
|
|
|
|
matrix:
|
|
GO_VERSION:
|
|
- "1.6"
|
|
|
|
build:
|
|
integration:
|
|
image: golang:$$GO_VERSION
|
|
pull: true
|
|
environment:
|
|
GOCOVMODE: "count"
|
|
commands:
|
|
- go get -u github.com/axw/gocov/gocov
|
|
- go get -u gopkg.in/matm/v1/gocov-html
|
|
- go get -u github.com/cee-dub/go-junit-report
|
|
- go get -u github.com/stretchr/testify/assert
|
|
- go get -u gopkg.in/yaml.v2
|
|
- go get -u github.com/go-openapi/swag
|
|
- go get -u github.com/go-openapi/analysis
|
|
- go get -u github.com/go-openapi/spec
|
|
- ./hack/build-drone.sh
|
|
|
|
notify:
|
|
slack:
|
|
channel: bots
|
|
webhook_url: $$SLACK_URL
|
|
username: drone
|
|
|
|
publish:
|
|
coverage:
|
|
server: https://coverage.vmware.run
|
|
token: $$GITHUB_TOKEN
|
|
# threshold: 70
|
|
# must_increase: true
|
|
when:
|
|
matrix:
|
|
GO_VERSION: "1.6"
|