Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(operator): Update build and runtime deps #14416

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

periklis
Copy link
Collaborator

@periklis periklis commented Oct 8, 2024

What this PR does / why we need it:
Regular upgrade cycle before releasing the next Community Loki Operator version:

Dependency Old version New Version Requires Changes
go v1.21 v1.22.8 ✔️
k8s 1.28.7 v1.30.5 ✔️
controller-runtime v0.16.5 v0.18.5
Prometheus APIs 0.71.2 v0.76.1 ✔️
Prometheus Client Golang v1.19.0 v1.20.4
Operator SDK v1.33.0 v1.33.0
GolangCI-lint v1.56.2 v1.61.0
Gofumpt v0.6.0 v0.7.0
Kind v0.22.0 v0.22.0

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

  • No update of operator-sdk because it requires heavy changes to adopt the go/v4 kubebuilder project layout.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

Copy link
Collaborator

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Collaborator

@xperimental xperimental left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work fine per my test, only have two small comments/questions...

@@ -1,7 +1,7 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.21
go 1.22.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did bingo produce this? Usually this line is just major.minor and not the complete version ...

I noticed later that there's go 1.22.0 on the operator/go.mod and now I'm even more confused.

@@ -178,7 +178,7 @@ func main() {
os.Exit(1)
}
} else {
fmt.Fprintf(os.Stdout, "---\n%s", b)
_, _ = fmt.Fprintf(os.Stdout, "---\n%s", b)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we put a "ignore this line in lint" comment on this instead of the _, _ =?

@periklis periklis merged commit 9618e40 into grafana:main Oct 9, 2024
68 checks passed
periklis added a commit to periklis/loki that referenced this pull request Oct 9, 2024
periklis added a commit to openshift/loki that referenced this pull request Oct 11, 2024
periklis added a commit to openshift/loki that referenced this pull request Oct 14, 2024
periklis added a commit to openshift/loki that referenced this pull request Oct 14, 2024
periklis added a commit to openshift/loki that referenced this pull request Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants