Commit Graph

2623 Commits

Author SHA1 Message Date
dependabot[bot]
ddc37ba387
Bump github.com/hashicorp/memberlist from 0.3.1 to 0.3.2
Bumps [github.com/hashicorp/memberlist](https://github.com/hashicorp/memberlist) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/hashicorp/memberlist/releases)
- [Commits](https://github.com/hashicorp/memberlist/compare/v0.3.1...v0.3.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/memberlist
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 15:11:30 +00:00
Ben Kochie
6c6bed4a7e
Merge pull request #3010 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.37.0
Bump github.com/prometheus/common from 0.32.1 to 0.37.0
2022-07-25 21:12:37 +02:00
SuperQ
7b8a5145cd
Update config test to match new prometheus common.
Signed-off-by: SuperQ <superq@gmail.com>
2022-07-25 20:58:24 +02:00
dependabot[bot]
d990526f4a
Bump github.com/prometheus/common from 0.32.1 to 0.37.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.32.1 to 0.37.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.32.1...v0.37.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 18:35:12 +00:00
Ben Kochie
b5eb84a946
Merge pull request #3000 from prometheus/dependabot/go_modules/github.com/cenkalti/backoff/v4-4.1.3
Bump github.com/cenkalti/backoff/v4 from 4.1.2 to 4.1.3
2022-07-25 20:21:55 +02:00
dependabot[bot]
135807d352
Bump github.com/cenkalti/backoff/v4 from 4.1.2 to 4.1.3
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/cenkalti/backoff/releases)
- [Commits](https://github.com/cenkalti/backoff/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: github.com/cenkalti/backoff/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 16:59:18 +00:00
Ben Kochie
1a9f55b939
Merge pull request #3020 from prometheus/dependabot/go_modules/github.com/go-openapi/strfmt-0.21.3
Bump github.com/go-openapi/strfmt from 0.21.2 to 0.21.3
2022-07-25 18:49:18 +02:00
Ben Kochie
d847198073
Merge pull request #2991 from prometheus/dependabot/go_modules/github.com/stretchr/testify-1.8.0
Bump github.com/stretchr/testify from 1.7.0 to 1.8.0
2022-07-25 18:48:45 +02:00
dependabot[bot]
50a0f0c4f9
Bump github.com/go-openapi/strfmt from 0.21.2 to 0.21.3
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt) from 0.21.2 to 0.21.3.
- [Release notes](https://github.com/go-openapi/strfmt/releases)
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.21.2...v0.21.3)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/strfmt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 16:42:55 +00:00
dependabot[bot]
566b695ad5
Bump github.com/stretchr/testify from 1.7.0 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 16:42:39 +00:00
Ben Kochie
184693e586
Merge pull request #3022 from prometheus/dependabot/go_modules/github.com/go-openapi/runtime-0.24.1
Bump github.com/go-openapi/runtime from 0.23.1 to 0.24.1
2022-07-25 18:41:30 +02:00
Ben Kochie
16b4c3db88
Merge pull request #3023 from prometheus/superq/speedup_build
Speedup CI builds
2022-07-25 18:40:59 +02:00
SuperQ
96ba67da83
Speedup CI builds
Only build all binaries on main/release.

Signed-off-by: SuperQ <superq@gmail.com>
2022-07-25 17:42:10 +02:00
dependabot[bot]
7a9ae881d6
Bump github.com/go-openapi/runtime from 0.23.1 to 0.24.1
Bumps [github.com/go-openapi/runtime](https://github.com/go-openapi/runtime) from 0.23.1 to 0.24.1.
- [Release notes](https://github.com/go-openapi/runtime/releases)
- [Commits](https://github.com/go-openapi/runtime/compare/v0.23.1...v0.24.1)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 15:40:05 +00:00
Ben Kochie
d335e07150
Merge pull request #3021 from prometheus/dependabot/go_modules/golang.org/x/tools-0.1.11
Bump golang.org/x/tools from 0.1.9 to 0.1.11
2022-07-25 17:39:20 +02:00
dependabot[bot]
c5c8f70be0
Bump golang.org/x/tools from 0.1.9 to 0.1.11
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.9 to 0.1.11.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.1.9...v0.1.11)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 15:07:18 +00:00
Ben Kochie
8255bd4d43
Merge pull request #3001 from prometheus/dependabot/go_modules/github.com/go-kit/log-0.2.1
Bump github.com/go-kit/log from 0.2.0 to 0.2.1
2022-07-25 17:06:36 +02:00
dependabot[bot]
d2f561a270
Bump github.com/go-kit/log from 0.2.0 to 0.2.1
Bumps [github.com/go-kit/log](https://github.com/go-kit/log) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/go-kit/log/releases)
- [Commits](https://github.com/go-kit/log/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-kit/log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:54:08 +00:00
Ben Kochie
6af14b07ce
Merge pull request #3019 from prometheus/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.61
Bump github.com/aws/aws-sdk-go from 1.43.11 to 1.44.61
2022-07-25 16:41:52 +02:00
Ben Kochie
b55097f490
Merge pull request #3009 from inosato/remove-ioutil
Remove ioutil
2022-07-25 15:58:55 +02:00
dependabot[bot]
f54b4ccb56
Bump github.com/aws/aws-sdk-go from 1.43.11 to 1.44.61
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.11 to 1.44.61.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.11...v1.44.61)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 13:57:16 +00:00
Ben Kochie
155a47fc51
Merge pull request #3017 from prometheus/superq/build
Update build
2022-07-25 15:56:15 +02:00
SuperQ
b0c2f27319
Update build
* Update Go to 1.18
* Update circleci machine image.
* Switch maildev to new upstream image location.
* Update Go modules to 1.17 format.
* Make dependabot monthly to match prometheus/prometheus.

Signed-off-by: SuperQ <superq@gmail.com>
2022-07-23 17:41:36 +02:00
inosato
791e542100 Remove ioutil
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-18 22:01:02 +09:00
Julien Pivotto
b1438ccd40
Merge pull request #3008 from roidelapluie/releaseagain
Apply changelog for 0.24
2022-07-18 13:22:35 +02:00
Simon Pasquier
af5f6b7b70 Release 0.24.0
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-07-18 10:29:28 +02:00
Julien Pivotto
7c22040b8d
Merge pull request #3007 from prometheus/release-0.24
Release 0.24
2022-07-18 10:28:13 +02:00
gotjosh
0fbc2a7622
Merge pull request #2992 from prometheus/update-silence-api-tests
Refactor POST /api/v1/silences
2022-07-18 09:24:07 +01:00
Wen Long
da6de1f1cc
docs: correct the accepted value for X-XSS-Protection header (#3004)
Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
2022-07-14 00:49:29 +02:00
gotjosh
f9c1c9072d
Merge pull request #2994 from prometheus/better-failure-acceptance
Acceptance Tests: Better error messages
2022-07-08 17:12:16 +01:00
gotjosh
cbc94fad46
Acceptance Tests: Better error messages
The CI keeps reporting flakes for our acceptance test around the starting and stopping of the Alertmanagers. While I have an idea of where these failures are coming from, it would be nice to get a confirmation by structuring our error messages a bit better.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2022-07-07 11:09:42 +01:00
gotjosh
4b8b6c1298
Merge pull request #2987 from prometheus/dependabot/go_modules/github.com/go-openapi/validate-0.22.0
Bump github.com/go-openapi/validate from 0.21.0 to 0.22.0
2022-07-07 10:37:37 +01:00
dependabot[bot]
0d7c9dbd95
Bump github.com/go-openapi/validate from 0.21.0 to 0.22.0
Bumps [github.com/go-openapi/validate](https://github.com/go-openapi/validate) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/go-openapi/validate/releases)
- [Commits](https://github.com/go-openapi/validate/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/validate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 09:17:54 +00:00
gotjosh
17af1d69d2
Merge pull request #2989 from prometheus/dependabot/go_modules/github.com/go-openapi/spec-0.20.6
Bump github.com/go-openapi/spec from 0.20.4 to 0.20.6
2022-07-07 10:16:55 +01:00
gotjosh
512138d566
Refactor POST /api/v1/silences
As part of #2971, I'm about to extend the test for silences - extract the functions into helpers as part of a separate file and add names to the expectations so that we can easily identify them.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2022-07-06 18:34:57 +01:00
dependabot[bot]
390fc43409
Bump github.com/go-openapi/spec from 0.20.4 to 0.20.6
Bumps [github.com/go-openapi/spec](https://github.com/go-openapi/spec) from 0.20.4 to 0.20.6.
- [Release notes](https://github.com/go-openapi/spec/releases)
- [Commits](https://github.com/go-openapi/spec/compare/v0.20.4...v0.20.6)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/spec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 10:56:28 +00:00
gotjosh
3f6b65c1ab
Merge pull request #2914 from 3clypse/patch-1
Create dependabot.yml
2022-07-06 11:55:39 +01:00
gotjosh
b9149c68f7
Merge pull request #2983 from joeblubaugh/joeblubaugh/simpler-silence-test
Simplify Silence test to remove unnecessary wait.
2022-07-06 11:54:38 +01:00
Joe Blubaugh
01d1e49c54 Simplify Silence test to remove unnecessary wait.
As noted in #2867, there is an unnecessary require.Eventually in a
silence test. This PR addresses that by using a channel to signal that
that the maintenance loop has completed.

Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-06 09:47:52 +08:00
gotjosh
d4c2048be1
Merge pull request #2981 from metalmatze/telegram-defaults
notify/telegram: Set API URL and ParseMode defaults
2022-07-05 13:30:37 +01:00
Matthias Loibl
2785325f07
notify/telegram: Fix test
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2022-07-05 13:12:07 +02:00
Matthias Loibl
3ccff53692
notify/telegram: Update to use default telegram config
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2022-07-05 13:12:06 +02:00
Matthias Loibl
34e60d2c80
notify/telegram: Set API and ParseMode defaults
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2022-07-05 13:12:05 +02:00
gotjosh
a68fcc0445
Merge pull request #2867 from joeblubaugh/joeblubaugh/2850/clock-clock
Issue #2850: Add benbjohnson/clock to the silences package.
2022-07-05 11:40:08 +01:00
Joe Blubaugh
505f944c6a Apply suggestions from code review.
Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-05 11:22:46 +08:00
Joe Blubaugh
0c3bf4b6ce Loosen up the timing on an Eventually to avoid CI timeout
Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-05 11:22:46 +08:00
Joe Blubaugh
c9249a02bc Remove a stray line that was breaking the linter.
Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-05 11:22:46 +08:00
Joe Blubaugh
bedd3c4175 Clean up linter warnings about unused code and atomic package
Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-05 11:22:46 +08:00
Joe Blubaugh
cb00d9259b Issue #2850: Add benbjohnson/clock to the silences package.
github.com/benbjohnson/clock provides a time interface to programs
rather than using the stdlib time package. This allows mocking time in
programs and tests. In this commit, the clock is used to speed up and
simplify testing of the silences package.

Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-07-05 11:22:46 +08:00
Max Lowther
4abf1bf1dc
fixed oauth2 doc to reflect tls_config (#2979)
Signed-off-by: Max Lowther <lowther.max@gmail.com>
2022-07-04 16:54:44 +02:00