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
Philip Gough
bbf82e22de Merge pull request #4710 from prometheus-operator/dependabot/github_actions/actions/stale-5
build(deps): bump actions/stale from 4 to 5
2022-04-11 16:49:17 +01:00
dependabot[bot]
f7ebd82e79 build(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
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>
2022-04-11 13:26:01 +00:00
dependabot[bot]
212f68bb11 build(deps): bump actions/stale from 4 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [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/v4...v5)

---
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-04-11 13:25:58 +00:00
Simon Pasquier
0c2e2a750b *: use consistent image name for the admision webhook
The end-to-end tests and jsonnet code were using
`quay.io/prometheus-operator/prometheus-admission-webhook` which doesn't
exist.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-03-16 17:16:13 +01:00
dependabot[bot]
6663cb2c3d build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 12:24:20 +00:00
Simon Pasquier
2530955eab scripts: bump golangci-lint version
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-02-28 17:06:54 +01:00
Philip Gough
5057bd5187 ci: Update build script to build admission webhook 2022-02-03 11:19:29 +00:00
fpetkovski
c801104b24 Upload bundle.yaml when a release is created
This commit adds a Github workflow which uploads the manifests in
bundle.yaml to a release once it is created.
2021-12-22 08:39:24 +01:00
Simon Pasquier
e1fbfdebc7 *: bump to Kubernetes 1.23
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-12-13 10:30:24 +01:00
paulfantom
765d9272fa .github/workflows: group all e2e jobs into one job report 2021-11-09 15:16:17 +01:00
Filip Petkovski
2fd0a047d0 Split prometheus e2e tests
The current Prometheus e2e tests have both sequential and parallel
subtests. The parallel subtests expect a prometheus-operator configured
to run against all namespaces. These tests run before the sequential ones
and block their execution.

This commit splits the two subtests into dedicated workflows so that
they can run in parallel. The outcome is a reduction of the e2e suite
to from 60m to 40m.
2021-11-09 10:46:45 +01:00
paulfantom
68bef5ba19 .github: convert deprecated stale app to GH action
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-11-03 11:24:46 +01:00
Paweł Krupa
294d4fa140 Merge pull request #4334 from paulfantom/github-env 2021-10-18 10:43:26 +02:00
paulfantom
d91138ffc0 .github: introduce a central place for storing CI env variables
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-10-15 14:39:38 +02:00
Simon Pasquier
13de2f5206 .github/stale.yml: exclude issues with 'help wanted'
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-10-13 16:24:43 +02:00
paulfantom
041b23859a .github: rename dependabot configuration file 2021-10-08 17:39:54 +02:00
Jayapriya Pai
9087e4296c .github/workflows: Update workflows to use go 1.17 2021-10-07 13:54:25 +05:30
Jayapriya Pai
2f36ef93a7 *: pin to golang 1.17
Signed-off-by: Jayapriya Pai <slashpai9@gmail.com>
2021-10-07 12:31:15 +05:30
paulfantom
598e6c0465 .github: automatically update dependencies 2021-10-06 13:51:25 +02:00
Saswata Mukherjee
d3043017b9 Setup mdox
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2021-10-04 16:59:19 +05:30
Simon Pasquier
56f92c38ab *: fix action and script publishing images
The workflow didn't work properly when tagging releases because it
wasn't enabled for tag events. We exclude all tags that start by `pkg`
since they are only relevant for Go sub-modules.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-09-27 10:05:47 +02:00
Simon Pasquier
7925986b5e Merge pull request #4219 from paulfantom/simpler-publish
.github: publish images without looking at other jobs
2021-09-08 17:11:29 +02:00
Philip Gough
bf56411c35 gh-action: Use kind config in e2e test to test gated features 2021-09-08 11:03:49 +01:00
paulfantom
f46605ac78 .github: publish images without looking at other job 2021-08-17 14:59:43 +02:00
paulfantom
b0c8c9f1d3 *: pin to golang 1.16 everywhere
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-08-16 12:54:16 +02:00
paulfantom
b3eae3886c .github/workflows: bump e2e environment deps
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-08-16 12:45:09 +02:00
Paweł Krupa
22ea341b13 Merge pull request #4147 from paulfantom/pr-template 2021-07-22 18:27:20 +02:00
paulfantom
b36e637921 .github: improve pull request template
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-07-21 09:43:48 +02:00
paulfantom
acfdf5eb6f .github/workflows: improve image publishing 2021-07-08 12:44:25 +02:00
paulfantom
223a2178af .github/workflows: fix publisher workflow
* Allow manually triggering workflow by adding workflow_dispatch
* Remove 'tags' keyword as it is not supported for workflow_run
* Fix condition to better detect event (used example from
  https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-07-06 19:23:28 +02:00
paulfantom
e7c7128b4b .github/workflows: improve cluster bootstrap and bump kind
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-07-05 13:11:26 +02:00
Paweł Krupa
5c7763dccf Merge pull request #4116 from paulfantom/separate-ci-workflows
.github/workflows: separate GH actions into separate workflows
2021-06-29 18:20:27 +02:00
Paweł Krupa
8fbfa5b2ce Add links to discussions and slack in "Create Issue" 2021-06-29 09:28:00 +02:00
paulfantom
352f73d20b .github/workflows: separate GH actions into separate workflows 2021-06-19 13:51:46 +02:00
Paweł Krupa
2b93704fc1 Merge pull request #4060 from paulfantom/publish_to_ghcr
Support pushing images to other container registries
2021-06-14 16:10:33 +02:00
Maksim Nabokikh
9fcdff92e3 Bump golangci-lint and switch to the revive (#4089)
* Bump golag-ci lint version to 1.40.1

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>

* Bump linter on CI

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>

* Fix promlinter and examples

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-06-09 13:32:23 +02:00
paulfantom
d0be30bda5 .github/workflows: login to GHCR when publishing images 2021-06-01 14:29:14 +02:00
fpetkovski
b03c10d9c3 .github/workflows: fix typo to enable excluding thanos ruler tests
Setting the EXCLUDE_THANOSRULER_TESTS env var excludes all thanos
ruler tests in the e2e suite. The CI workflow currently has a typo
and sets EXCLUDE_THANOS_TESTS instead.
This change fixes the typo in the CI workflow.

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
2021-05-10 16:36:29 +02:00
paulfantom
7de58186d1 .github/workflows: run actions only in specific scenarios
Actions should run only on:
- all pull_requests
- pushes to:
  - master/main branches
  - release-* branches
  - tags prefixed with `v`
2021-04-30 17:14:26 +02:00
Paweł Krupa
aa6d0a4e62 .github/ISSUE_TEMPLATE: notify users to provide prom-op version and not helm (#3958) 2021-04-08 21:49:56 +02:00
paulfantom
b39c3d1156 .github: bump golang to 1.16 and kind to 0.10.0
Signed-off-by: paulfantom <pawel@krupa.net.pl>
2021-03-02 23:32:51 +01:00
Tiago Meireles
adee526918 Update Helm installation repository url.
Signed-off-by: Tiago Meireles <tiago.meireles7@outlook.com>
2021-02-24 16:45:37 -05:00
Lili Cosic
48050f4eb9 .github/workflows/ci.yaml: Bump Kubernetes and kind versions 2021-01-13 12:06:18 +01:00
Ali Akca
c8b84939d6 Rename rbac script for avoid confusion 2021-01-11 16:07:00 +01:00
Simon Pasquier
8379b90288 .github: specify Go version for publish action (#3760)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-01-04 12:54:01 +01:00
paulfantom
bea475ac43 .github: add initial template for PRs 2020-12-02 17:32:14 +01:00
Frederic Branczyk
56720e5bc0 Merge pull request #3579 from Amab/feature/go-lint
Setup a CI job for Go code linting. Fixes # 3576
2020-11-27 18:05:23 +01:00
paulfantom
64a1153412 .github: lock closed threads after 21 days of inactivity 2020-11-27 11:03:59 +01:00
Amab
5555c8a1b5 Upgrade golangci-lint to v1.33 2020-11-25 17:51:12 +01:00
Juan Miguel Boyero Corral
758c3f84a4 Merge branch 'master' into feature/go-lint 2020-11-25 17:05:43 +01:00