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

37 commits

Author SHA1 Message Date
Simon Pasquier
2e151cf1c0
chore: bump code-generator to v0.30.1
The gen tools arguments have changed a bit, the Makefile commands have
been adjusted accordingly.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-06-07 11:25:50 +02:00
dongjiang
f33dc76268
update golangci-lint version (#6543)
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-04-22 12:09:59 +00:00
dependabot[bot]
601bdf096b
build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /scripts
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:14:27 +00:00
dongjiang
35bfdf45c3
chore: bump to controller-tools v0.14.0 (#6499)
* update controller-tools version

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-04-12 10:22:34 +02:00
dependabot[bot]
cab3f65640
build(deps): bump google.golang.org/protobuf in /scripts
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:26:08 +00: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
dongjiang1989
d6d883839d
update go version 1.22
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2024-02-07 11:24:58 +08:00
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
dependabot[bot]
c713033ffc
build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /scripts
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 22:32:22 +00:00
Simon Pasquier
4e63f2fddb chore: update to Go 1.21
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-09-08 17:25:51 +02: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
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
dependabot[bot]
d5ff0c5d6e
build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 in /scripts (#5353)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 12:28:40 +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
Simon Pasquier
400966bf31 chore: bump Kubernetes dependencies to v1.26.1
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-01-19 16:04:21 +01:00
Simon Pasquier
b609a8bb6f feature: generate "apply configuration" types
This commit uses the `applyconfiguration-gen` tool to generate the
"apply configuration" types for all monitoring types. It enables users
to run server-side apply operations from Go code.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-12-22 10:20:07 +01: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
69f7061796
Refactor crd api docs (#4899)
* scripts:tools: Add gen-crd-api-reference-docs tool

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

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

* make: Add targets and scripts to generate docs with gen-crd-api-reference-docs tool

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

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

* scripts/go.mod: bump gen-crd-api-reference-docs version

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

* Makefile: add target to generate v1beta1 docs

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

* Documentation/apis: regenerate

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

* Makefile: remove unused variable

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

* pkg/apis/monitoring: reorder markers for API docs

gen-crd-api-reference-docs requires codegen markers to appear before the
comments describing the types. Otherwise resource types aren't properly
identified.

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

* Documentation/apis: regenerate

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

* update docs configuration

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

* Documentation/apis: regenerate

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

* Add README.md for API documentation generation

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

* Skip embedded fields

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

* Move docgen tooling to Documentation/

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

* keep all APIs in a single page

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

* Fix header in pkg.tpl

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

* Update docs README.md

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

* Add link for apiextensions-apiserver module

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

* Documentation: regenerate

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

* Fix links in documentation

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

* update pkg.tpl

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

* Fix check-docs CI

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

* Documentation/api.md: regenerate

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

* scripts: bump mdox version

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

Co-authored-by: Philip Gough <philip.p.gough@gmail.com>
2022-07-13 14:24:02 +02:00
Simon Pasquier
2a88230ecc
Documentation: update link to image for newer Hugo (#4903)
Recent versions of Hugo fails to render `troubleshooting.md` when the
`custom-metrics-elements.png` image isn't located in a static directory.

To avoid further complication with the `synchronize.sh` script from the
github.com/prometheus-operator/website project, images are now stored
under `Documentation/img` and the script will copy this directory to the
`static` directory of the website. Any content that wants to include an
image needs to follow the same approach.

The caveat is that the image will not be displayed from the GitHub UI. I
have tried to use page bundles [1] which would circumvent this
limitation but it would involve moving all the individual MarkDown files
into separate directories and rearrange the site's structure.

See also https://github.com/prometheus-operator/website/pull/17

[1] https://gohugo.io/content-management/page-bundles/

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-07-13 09:53:42 +02:00
Simon Pasquier
ab839cf483
*: bump dependencies in scripts/go.mod (#4895)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-07-11 17:57:56 +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
Simon Pasquier
4a890fa09f *: bump controller-gen to v0.8.0
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2022-03-22 11:58:00 +01: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
Paweł Krupa (paulfantom)
6119d9e48f scripts: bump jsonnet to 0.18 2022-01-03 12:21:17 +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
edc8fa69b9 scripts: bump controller-gen to 0.6.2 2021-11-01 14:33:49 +01:00
Saswata Mukherjee
eebe34d1d3 Update mdox to latest
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2021-10-04 17:04:00 +05:30
Saswata Mukherjee
4b28f04aae Add mdox link checking and formatting
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2021-10-04 17:03:57 +05:30
Saswata Mukherjee
d3043017b9 Setup mdox
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
2021-10-04 16:59:19 +05:30
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
Amab
42d9435296 Add check-golang link to Makefile 2020-11-25 17:51:30 +01:00
paulfantom
aa479abde3
.github,scripts: add promlinter to lint our metric names 2020-11-23 12:27:20 +01:00
paulfantom
638de8206e
upgrade to jsonnet v0.17.0 2020-11-23 10:21:56 +01:00
Damien Grisonnet
1868b56d53
Bump controller-tools to v0.4.1 (#3694)
* scripts: bump controller-tools to v0.4.1

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>

* example,jsonnet: regenerate CRDs

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2020-11-23 09:16:20 +01:00
paulfantom
2676aa022c
switch to golang 1.15 2020-09-15 09:14:40 +02:00
paulfantom
67780ccc45
repository migration to prometheus-operator organization 2020-08-05 13:13:46 +02:00
Paweł Krupa
af8e08b61f
Refactor tooling management (#3176) 2020-05-26 08:34:04 +02:00