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
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
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
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
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
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
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
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
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
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
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
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
paulfantom
aa479abde3
.github,scripts: add promlinter to lint our metric names 2020-11-23 12:27:20 +01:00
Simon Pasquier
9020469061 .github: update version of engineerd/setup-kind
See https://github.com/engineerd/setup-kind/issues/28 for details

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-11-12 09:45:41 +01:00
Amab
74529b8e8a Increase timeout to 10 minutes for Golang linter 2020-10-08 23:06:50 +02:00
Amab
69eb39f528 Update golangci-lint to v1.31 2020-10-08 22:47:17 +02:00
Amab
09f6e8c8fa Setup a CI job for Go code linting. Fixes # 3576 2020-10-08 22:41:53 +02:00
Damien Grisonnet
8aed16b5f4 ci: add dead links check
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2020-09-22 12:21:26 +02:00
Paweł Krupa
9bbd18a7c8
Merge pull request #3504 from paulfantom/go1.15
Switch to go 1.15
2020-09-15 11:35:34 +02:00
paulfantom
2676aa022c
switch to golang 1.15 2020-09-15 09:14:40 +02:00
paulfantom
bbf76b2085
.github/workflows: wait for k8s cluster bootstrap by checking if all containers are ready 2020-09-14 16:31:48 +02:00
paulfantom
a1361008ff
.github/workflows: add image building stage and unify workflows
additionally added myself as github action code owner for future PR
reviews and swapped travis CI badge in README.md for GitHub actions one
2020-09-08 19:54:20 +02:00
paulfantom
9b146f87f4
switch to kind 2020-09-07 18:16:44 +02:00