1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

273 Commits

Author SHA1 Message Date
Arthur Silva Sens
fa7c03edca Add git config to dependabot workflow (#5864) 2023-08-30 09:23:46 -03:00
Arthur Silva Sens
8fe3dcff33 Checkout repository during dependabot workflow (#5851)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-08-29 14:43:22 +00:00
Arthur Silva Sens
30af207204 Run PrometheusVersionUpgrade tests separately (#5732)
As our compatibility matrix grows, the tests assuring we can upgrade one Prometheus version to the next are taking up to 1~2h to complete. We aim to accelerate our e2e tests that are required to pass on Pull Requests by moving this test to a separate CI, that runs once a day.

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-08-29 10:41:51 -03:00
Arthur Silva Sens
3769c42e41 Update CODEOWNERS (#5850) 2023-08-25 14:06:54 +00:00
Arthur Silva Sens
74732311df Auto-approve dependabot PRs (#5843)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-08-25 10:20:19 -03:00
Arthur Silva Sens
34bb905e3c Generate Documentation/compatibility.md on dependabot PRs (#5844)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-08-24 11:45:58 -03:00
Arthur Silva Sens
8b947d4ff1 Automerge dependabot PRs (#5825) 2023-08-21 07:14:19 -03:00
Arthur Silva Sens
fd021b164e Update k8s libs together (#5826)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-08-21 10:25:02 +01:00
dependabot[bot]
13da1fc7d4 build(deps): bump helm/kind-action from 1.7.0 to 1.8.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 12:32:03 +00:00
Simon Pasquier
1a7bdc5f92 Merge pull request #5809 from prometheus-operator/dependabot/github_actions/golangci/golangci-lint-action-3.7.0
build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
2023-08-16 17:32:40 +02:00
Simon Pasquier
9d8aa775ac chore: use helm/kind-action
helm/kind-action seems to be more maintained than engineerd/setup-kind.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-08-16 15:28:43 +02:00
dependabot[bot]
0364ce7000 build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 12:24:13 +00:00
Philip Gough
492190eb05 chore: update e2e tests to Kubernetes v1.27.3 (#5680)
* ci: Update to kube 1.27.3 and remove feature gate on minReadySeconds for sts

* test:e2e: Remove gate for minReadySeconds tests

* Bubble up Pod Phase in error for running and ready check

* test: Add retry to WaitForPodsReady if Phase is Completed
2023-06-20 09:31:41 +01:00
dependabot[bot]
074285e97d build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (#5661)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 16:05:03 +01:00
Simon Pasquier
91bf2091c7 chore: update golangci-lint to v1.53.1 (#5633)
* chore: update golangci-lint to v1.53.1

* chore: resolve new linter errors

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-06-06 14:47:01 +02:00
dependabot[bot]
6f5c0422e8 build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 12:58:17 +00:00
Arthur Silva Sens
14ebc8885f Fix issue template support.md 2023-05-25 18:54:06 -03:00
Simon Pasquier
34f15c366c chore: update to Kubernetes v1.27.1 (#5530)
The Kubernetes version used in the e2e tests is v1.26.3 because v1.27.1
doesn't work yet with kind.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-04-28 14:38:26 +01:00
ArthurSens
e9f6546c48 Highligth support channels for kube-prometheus-stack
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2023-04-19 16:25:23 +00:00
Simon Pasquier
c38fce84c2 ci: fix image push
The token used by GitHub Actions also needs write permission for packages.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-03-28 16:04:11 +02:00
Simon Pasquier
218e324ccc ci: fix cosign execution
The token used by GitHub actions needs write permission for the id-token
scope in order to achieve identity-based (e.g. "keyless") signing.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-03-28 14:47:41 +02:00
dependabot[bot]
ffacf3ae8c build(deps): bump actions/stale from 7 to 8 (#5442)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 10:31:40 +00:00
dependabot[bot]
592f8c3e79 build(deps): bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 12:58:16 +00:00
Simon Pasquier
105ae14048 .github/workflows/publish.yaml: fix typo (#5395)
The Quay username is available from the GitHub secrets!

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-03-07 11:54:58 +00:00
Simon Pasquier
bba447e9c1 scripts/push-docker-image.sh: add amend option for main tag
Since the 'main' tag is floating, we need to use the '--amend' flag when
creating the manifest.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-03-06 15:56:25 +01:00
Simon Pasquier
567d65d4e1 Merge pull request #5356 from simonpasquier/cosign-images
build: sign tagged container images with cosign
2023-02-28 17:04:05 +01:00
Simon Pasquier
8aba85463b build: sign tagged images with cosign
Images with the `main` tag aren't signed because if I understand
correctly, it's not possible to sign again an existing image. Otherwise
we would have to suffix the tag with the short commit ID (e.g.
`:main-01234567`). At the same time, using the main (or latest) tag isn't
the best choice in terms of reproducibility/stability so not having
signed images is probably not a big deal.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-02-20 16:49:41 +01:00
Simon Pasquier
8051947248 chore: update to Go 1.20 (#5348)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-02-20 12:29:03 +00:00
Simon Pasquier
6584494a4e chore: bump golangci-lint to v1.51.1 (#5339)
* test: fix variable captured in loop closure

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-02-14 14:47:11 +01:00
dependabot[bot]
8e6ed6f6f3 build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 12:03:41 +00:00
Simon Pasquier
e4e27052f5 Increase 'operations-per-run' for the stale action (#5273)
The default value of 30 is too low for the repository and the action
fails to process all issues and pull requests.

This change also fixes the exclusion list for the "help wanted" label.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-01-10 17:00:57 +00:00
dependabot[bot]
78891839d1 build(deps): bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 12:06:02 +00:00
dependabot[bot]
01a2744de8 build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#5158)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 12:58:24 +00:00
dependabot[bot]
4fb5475db6 build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 12:20:19 +00:00
Simon Pasquier
ae74bdf0d9 Bump Go version to 1.19
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-10-13 15:59:23 +02:00
Simon Pasquier
6e603bfa4c .github/workflows: fix release workflow
The release workflow requires the Go toolchain to generate the
stripped-down version of the CRDs.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-10-11 11:20:17 +02:00
Simon Pasquier
9f6bbb5913 .github: bump to Kubernetes v1.25.2 (#5047)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-09-23 13:16:37 +00:00
dependabot[bot]
7283fe575e build(deps): bump actions/stale from 5 to 6
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 12:30:51 +00:00
Wen Long
46fc96b096 test: re-add e2e test for Prometheus Operator upgrade path (#5015)
* test: re-add e2e test for Prometheus Operator upgrade path

PR #4758 was reverted because it broke CI. CI failed because it
was out of sync with the main branch for a long time and some of
the function signature changed.

This commit is based on PR #4758 and fix CI function signature
error.

Fixes: #4067

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>

* test: handle Prometheus observedGeneration status check

Current version is 0.59.1. The Prometheus CRD observedGeneration
will be released at version 0.60.0. This commit set the framework
version to next minor version and only check observedGeneration
status when operator version >= 0.60.0.

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>

* test/framework: cleanup 0.57.0

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
2022-09-20 11:27:08 +01:00
Simon Pasquier
f1bbc61337 .github/workflows/stale.yaml: fix bug label (#5007)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-09-12 10:35:01 +02:00
Philip Gough
9b91b599db Revert "test: Add e2e test for Prometheus Operator Upgrade Path" 2022-09-07 17:14:00 +01:00
Philip Gough
db9f4435e9 Merge pull request #4758 from heylongdacoder/feature/e2e-upgrade-path
test: Add e2e test for Prometheus Operator Upgrade Path
2022-09-07 16:41:52 +01:00
Philip Gough
a63bbe70bd Merge pull request #4937 from simonpasquier/stripped-down-crds
Makefile: add stripped-down-crds.yaml target
2022-09-02 16:27:11 +01:00
Simon Pasquier
0d2335b567 .github/workflows: upload stripped down CRDs to release
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-09-02 16:39:29 +02:00
Simon Pasquier
419e3398c2 .github: bump to Kubernetes v1.25
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-09-02 16:34:31 +02:00
heylongdacoder
6689274692 test: Add e2e test for Prometheus Operator Upgrade Path
Fixes #4067

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
2022-06-10 01:48:13 +08:00
Simon Pasquier
31c8866bff *: bump to Go 1.18
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-06-09 15:45:27 +02:00
Simon Pasquier
b3a5384f2c *: bump golangci-lint to v1.46.0
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-05-13 15:55:00 +02:00
dependabot[bot]
dd84d707f9 build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 12:26:41 +00:00
dependabot[bot]
a04d2d22fb build(deps): bump docker/login-action from 1 to 2 (#4774)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 16:52:05 +02:00