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

Upgrade golang from 1.16 to 1.18 #258

Closed
wants to merge 3 commits into from
Closed

Conversation

pracucci
Copy link
Contributor

In this PR I'm upgrading golang from 1.16 to 1.18. I've tested Dockerfile changes manually building all images running make benchtool-image cortextool-image chunktool-image logtool-image e2ealerting-image push-e2ealerting-image blockscopy-image.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci requested a review from a team as a code owner August 10, 2022 07:32
@colega
Copy link
Contributor

colega commented Aug 10, 2022

You'll need to upgrade golangci-lint, at least to 1.45 iirc.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci
Copy link
Contributor Author

This is not as easy as it looks. We need to upgrade a bunch of dependencies (see 712e105) but then cortex and dskit conflicts on the registration of the metric by flagext.Deprecated.

Since we have mimirtool, I think we should get rid of Cortex at all from this repo (so basically not supported Cortex/Mimir anymore), so we stop vendoring Cortex and remove the dependencies hell.

However, this currently not a priority for me, so I'm going to close this PR and leave it just as a reference for the future.

@pracucci pracucci closed this Aug 10, 2022
friedrichg pushed a commit to cortexproject/cortex-tools that referenced this pull request Aug 1, 2023
grafana#258)

* - Fixed hardcoding of containerSecurityContext in Ingester statefulset
- Brought setting of containerSecurityContext for the Ingester statefulset inline with other components configuration

Signed-off-by: Ryan Woods <n4monitoring@node4.co.uk>

* Removed hard coding of ingester securityContext

Signed-off-by: Ryan Woods <n4monitoring@node4.co.uk>

* add containerSecurityContext back to ingester pod container

Signed-off-by: ShuzZzle <niclas.schad@gmail.com>

* fix securityContext for ingester sts

Signed-off-by: ShuzZzle <niclas.schad@gmail.com>

Co-authored-by: Ryan Woods <n4monitoring@node4.co.uk>
Co-authored-by: ShuzZzle <niclas.schad@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants