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

[release-2.7.x] Use golangci-lint v1.51.2 in build image (#8587) #8622

Merged
merged 2 commits into from
Feb 24, 2023

Conversation

DylanGuedes
Copy link
Contributor

Signed-off-by: Michel Hollands [email protected]
Signed-off-by: Christian Haudum [email protected]
Co-authored-by: Christian Haudum [email protected]
(cherry picked from commit 6dfae7c)

**What this PR does / why we need it**:

Golangci-lint [1.50.0
OOMs](golangci/golangci-lint#3538 (comment))
when used with go 1.20.1. This also updates the build image.

**Checklist**
- [ ] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [ ] Documentation added
- [ ] Tests updated
- [ ] `CHANGELOG.md` updated
- [ ] Changes that require user attention or interaction to upgrade are
documented in `docs/sources/upgrading/_index.md`

---------

Signed-off-by: Michel Hollands <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
Co-authored-by: Christian Haudum <[email protected]>
(cherry picked from commit 6dfae7c)
@DylanGuedes DylanGuedes added backport type/bug Somehing is not working as expected labels Feb 24, 2023
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	0%

@DylanGuedes DylanGuedes marked this pull request as ready for review February 24, 2023 14:08
@DylanGuedes DylanGuedes requested a review from a team as a code owner February 24, 2023 14:08
Copy link
Contributor

@MichelHollands MichelHollands left a comment

Choose a reason for hiding this comment

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

LGTM

@DylanGuedes DylanGuedes merged commit 3f5f6b1 into release-2.7.x Feb 24, 2023
@DylanGuedes DylanGuedes deleted the backport-8587-to-release-2.7.x branch February 24, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/S type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants