1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 09:16:38 +00:00
Commit graph

151 commits

Author SHA1 Message Date
Arthur Silva Sens
73da59a886
Disable dependabot automation targeting k8s libs (#6191)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2024-01-02 11:55:55 +01:00
dependabot[bot]
de0b3c481b
build(deps): bump actions/stale from 8 to 9 (#6150)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [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/v8...v9)

---
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-12-08 12:45:19 +00:00
dependabot[bot]
6108481a36
build(deps): bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
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-12-07 12:31:15 +00:00
Arthur Silva Sens
e7185f251a
Use Prom-Op bot PAT token in dependabot workflow (#6128)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-11-30 09:05:29 -03:00
Arthur Silva Sens
2fc4fafd8b
Update stale workflow to close stale PRs (#6119)
* Update stale workflow to close stale PRs

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>

* Update .github/workflows/stale.yaml

---------

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2023-11-28 15:24:00 +00:00
Simon Pasquier
7b2da7f9eb chore: tidy up go.{mod,sum} files
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-23 15:47:45 +01:00
Jayapriya Pai
e065e08e28
.github/workflows: skip unit and e2e tests for *.md file updates
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2023-11-15 12:39:02 +05:30
Simon Pasquier
42df30ab6f chore: update tool versions in scripts/go.mod
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-14 13:44:47 +01:00
Simon Pasquier
f460e7a66d chore: cut v0.69.1
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-11-09 10:31:16 +01:00
Simon Pasquier
ea8968b99e
chore: don't close doc issues (#5943)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-09-27 11:55:13 +02:00
Arthur Silva Sens
69aae7d7d8
Fix prometheus upgrade tests (#5926)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-09-22 14:19:11 +00:00
Arthur Silva Sens
e9a6ee6abc
Checkout branch ref on Dependabot workflows (#5887)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
2023-09-20 14:59:49 -03:00
dependabot[bot]
2153689245
build(deps): bump docker/login-action from 2 to 3 (#5907)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
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>
2023-09-12 16:28:24 +01:00
dependabot[bot]
47b1450d81
build(deps): bump actions/checkout from 3 to 4 (#5884)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-09-04 11:35:08 -03:00
dependabot[bot]
de6cf6d11b
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-30 12:25:34 +00:00
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
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
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
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
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
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
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
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
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
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