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

151 commits

Author SHA1 Message Date
dongjiang
5da7cf96fc
update golangci-lint to v1.62.2
Signed-off-by: dongjiang <dongjiang1989@126.com>
2024-12-04 18:09:32 +08:00
Dhruv
26e72997e8
Feat: Implemented Github Action linter (#7123)
* ci: add actionlint workflow for GitHub Actions

This workflow integrates actionlint into the CI pipeline to lint and
validate GitHub Actions workflows.

Fixes #7094 

Signed-off-by: slashexx dhruvpuri.35@gmail.com
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-11-22 10:35:54 +05:30
dongjiang
91af9515bf
chore: Update golangci-lint to v1.62.0 (#7101)
---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-11-13 15:48:14 +01:00
Simon Pasquier
625e1306b1
fix: fix if conditions in GitHub workflows
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-08 11:33:26 +01:00
liyang
6a64279e32 ci: Let github runner run only in the prometheus-operator main repository 2024-11-07 23:28:03 +08:00
Simon Pasquier
e48b358eac
Merge pull request #7055 from prometheus-operator/fix-7039
chore: fix TestPrometheusVersionUpgrade
2024-11-06 10:18:49 +01:00
Simon Pasquier
3c35a6d7ba
Merge pull request #7074 from simonpasquier/merge-release-0.78
Merge release 0.78
2024-11-05 16:25:06 +01:00
Simon Pasquier
d5dbb3df3e
chore: fix TestPrometheusVersionUpgrade
This change reduces the scope of the upgrade tests: we're now testing
from the current LTS version (v2.45.0) to the latest stable release.

Closes #7039

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-05 16:12:56 +01:00
Simon Pasquier
f80fe19a55
Merge branch 'release-0.78' into merge-release-0.78
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-05 15:32:56 +01:00
Jayapriya Pai
ebfe270f13 chore: fix actions for operator upgrade and typo fix
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-11-05 16:14:08 +05:30
Simon Pasquier
951d701bd2
chore: reclaim disk space in publish workflow
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-05 10:17:33 +01:00
Simon Pasquier
e8db5dd39a
chore: allow to save e2e diagnostics to disk
When the E2E_DIAGNOSTIC_DIRECTORY environment variable is set, the test
framework will save all collected information (logs, events, resources,
...) to this directory.

Related to #6973

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-10-30 15:20:13 +01:00
Jayapriya Pai
0cbb4ff69e chore: Fix unit tests actions
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-10-21 19:59:42 +05:30
Jayapriya Pai
6616970906
Merge pull request #6395 from slashpai/fix_actions
.github/workflow: make execution of e2e and unit tests conditional
2024-10-21 19:40:44 +05:30
dependabot[bot]
99e96d7352
build(deps): bump thollander/actions-comment-pull-request from 2 to 3
Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request) from 2 to 3.
- [Release notes](https://github.com/thollander/actions-comment-pull-request/releases)
- [Commits](https://github.com/thollander/actions-comment-pull-request/compare/v2...v3)

---
updated-dependencies:
- dependency-name: thollander/actions-comment-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 12:01:52 +00:00
Jayapriya Pai
21f57d510d chore: add github comment PR action
Fixes #6993

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-10-11 13:36:46 +05:30
Jayapriya Pai
07c873f627 .github/workflow: make execution of e2e and unit tests conditional
Ref: https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution

This will help to avoid blocking the merge on conditional execution
when only markdown files are changed

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-10-09 11:27:36 +05:30
Simon Pasquier
59c74143b9
Merge pull request #6984 from slashpai/update-workflow
chore: add concurrency for workflows
2024-10-07 12:38:49 +02:00
dependabot[bot]
726961bc0e
build(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.1.0...v6.1.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>
2024-10-03 12:58:41 +00:00
Jayapriya Pai
3cc41e7191 chore: add concurrency for workflows
To cancel the workflow running when new
commits are pushed to pull request branch

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-10-03 16:48:30 +05:30
Jayapriya Pai
c61034952d chore: Fix prometheus 3 tests
Update workflow and e2e tests for Prometheus 3

Related-to #6942

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-09-25 12:27:55 +05:30
dongjiang
e98aa3fad7
chore: update golangci-lint and controller-tools version (#6951)
* update golangci-lint and controller-tools version

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-09-19 15:12:32 +00:00
Jayapriya Pai
c846674a17
feat: add experimental Prometheus 3 support (#6940)
* feat: add experimental Prometheus 3 support

Fixes #6939

Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2024-09-18 18:33:32 +05:30
dongjiang
fabf336014
chore: bump to golangci-lint v1.60.1 (#6856)
* update golangci-lint version


---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-08-21 11:07:07 +02:00
Simon Pasquier
e511aa26d5
chore: re-enable the generate job on MacOS
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-08-07 13:54:49 +02:00
dongjiang1989
33c5275ec7
update golangci-lint version
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-08-07 10:15:51 +08:00
Simon Pasquier
5732d79d80
chore: disable the generate job on MacOS
This is a temporary workaround to unblock the CI until we find a more
robust solution.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-08-02 10:37:08 +02:00
dependabot[bot]
284038ed29
build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.0.1...v6.1.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>
2024-07-30 12:23:58 +00:00
Arthur Silva Sens
7b23fd648f
Merge pull request #6665 from prometheus-operator/feature-gated-tests
chore: Add feature-gated tests to CI
2024-06-18 12:01:01 -03:00
Arthur Silva Sens
3709681727
chore: Add feature-gated tests to CI
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
2024-06-12 11:22:34 -03:00
dependabot[bot]
72291f6ddd
build(deps): bump imjasonh/setup-crane from 0.3 to 0.4
Bumps [imjasonh/setup-crane](https://github.com/imjasonh/setup-crane) from 0.3 to 0.4.
- [Release notes](https://github.com/imjasonh/setup-crane/releases)
- [Commits](https://github.com/imjasonh/setup-crane/compare/v0.3...v0.4)

---
updated-dependencies:
- dependency-name: imjasonh/setup-crane
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 12:06:58 +00:00
Simon Pasquier
677c2d565f
chore: fix testScrapeConfigKubernetesNodeRole()
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-05-29 09:49:15 +02:00
Simon Pasquier
3b4a558af3
chore: update golangci-lint configuration
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-05-13 14:59:29 +02:00
dependabot[bot]
d3fbdb2053
build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.3.0 to 6.0.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5.3.0...v6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 12:41:55 +00:00
dependabot[bot]
132987791b
build(deps): bump golangci/golangci-lint-action from 5.1.0 to 5.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5.1.0...v5.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>
2024-05-06 12:18:19 +00:00
dependabot[bot]
04e8448d40
build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5.0.0...v5.1.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>
2024-04-30 12:08:12 +00:00
Simon Pasquier
822c158942
Merge pull request #6505 from prometheus-operator/stale-drafts
Consider draft PRs electable for staleness
2024-04-29 16:43:40 +02:00
dependabot[bot]
e284c272bd
build(deps): bump helm/kind-action from 1.9.0 to 1.10.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.9.0...v1.10.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>
2024-04-29 13:54:53 +00:00
dependabot[bot]
eb5d95c42b
build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 (#6547)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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>
2024-04-25 11:15:30 -03:00
dongjiang
f33dc76268
update golangci-lint version (#6543)
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-04-22 12:09:59 +00:00
Simon Pasquier
6ac24644be
Update .github/workflows/stale.yaml
Co-authored-by: Jayapriya Pai <slashpai9@gmail.com>
2024-04-19 12:52:10 +02:00
Arthur Silva Sens
de6d37a835
Consider draft PRs electable for staleness 2024-04-12 10:22:49 -03:00
dependabot[bot]
87bfffa3ad
build(deps): bump dependabot/fetch-metadata from 1 to 2 (#6420)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1 to 2.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1...v2)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  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>
2024-03-22 21:27:33 +01:00
dongjiang
ed3aede934
chore: bump to golangci-lint v1.56.2 (#6384)
* update golangci lint version

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-03-12 11:00:44 +01:00
Simon Pasquier
8ee993a0db
Merge pull request #6300 from prometheus-operator/dependabot/github_actions/golangci/golangci-lint-action-4.0.0
build(deps): bump golangci/golangci-lint-action from 3.7.1 to 4.0.0
2024-02-16 14:14:31 +01:00
dependabot[bot]
dfaea70b25
build(deps): bump golangci/golangci-lint-action from 3.7.1 to 4.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.1 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.1...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 12:19:45 +00:00
dependabot[bot]
b5f43b5c60
build(deps): bump helm/kind-action from 1.8.0 to 1.9.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.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>
2024-02-12 12:19:42 +00:00
dependabot[bot]
6a2749adf3
build(deps): bump golangci/golangci-lint-action from 3.7.0 to 3.7.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.0...v3.7.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>
2024-02-09 12:06:05 +00:00
dongjiang1989
29a0810b6d
setting targeted go version
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-01-14 16:32:37 +08:00
dongjiang
0502dfbb77
chore: fix golangci-lint Files Exists errors (#6221)
* fix golangci-lint files exists errors

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
Co-authored-by: Simon Pasquier <spasquie@redhat.com>
2024-01-12 15:57:36 +01:00