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>
25 lines
1.3 KiB
YAML
25 lines
1.3 KiB
YAML
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
go:
|
|
- '1.9'
|
|
- 1.10.x
|
|
- 1.11.x
|
|
install:
|
|
- 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/docker/go-units
|
|
- 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/jsonpointer
|
|
- go get -u github.com/go-openapi/spec
|
|
- go get -u github.com/go-openapi/strfmt
|
|
- go get -u github.com/go-openapi/loads/fmts
|
|
language: go
|
|
notifications:
|
|
slack:
|
|
secure: Sf7kZf7ZGbnwWUMpffHwMu5A0cHkLK2MYY32LNTPj4+/3qC3Ghl7+9v4TSLOqOlCwdRNjOGblAq7s+GDJed6/xgRQl1JtCi1klzZNrYX4q01pgTPvvGcwbBkIYgeMaPeIRcK9OZnud7sRXdttozgTOpytps2U6Js32ip7uj5mHSg2ub0FwoSJwlS6dbezZ8+eDhoha0F/guY99BEwx8Bd+zROrT2TFGsSGOFGN6wFc7moCqTHO/YkWib13a2QNXqOxCCVBy/lt76Wp+JkeFppjHlzs/2lP3EAk13RIUAaesdEUHvIHrzCyNJEd3/+KO2DzsWOYfpktd+KBCvgaYOsoo7ubdT3IROeAegZdCgo/6xgCEsmFc9ZcqCfN5yNx2A+BZ2Vwmpws+bQ1E1+B5HDzzaiLcYfG4X2O210QVGVDLWsv1jqD+uPYeHY2WRfh5ZsIUFvaqgUEnwHwrK44/8REAhQavt1QAj5uJpsRd7CkRVPWRNK+yIky+wgbVUFEchRNmS55E7QWf+W4+4QZkQi7vUTMc9nbTUu2Es9NfvfudOpM2wZbn98fjpb/qq/nRv6Bk+ca+7XD5/IgNLMbWp2ouDdzbiHLCOfDUiHiDJhLfFZx9Bwo7ZwfzeOlbrQX66bx7xRKYmOe4DLrXhNcpbsMa8qbfxlZRCmYbubB/Y8h4=
|
|
script:
|
|
- hack/coverage
|