chore(loki): Have fewer go.mod
and go.sum
#10023
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Currently we have some different tools(inspect-chunk, lambda-promtail, etc) use their own versions of dependencies with their own
go.mod
andgo.sum
files.This PR try to have single (go.mod and go.sum) dependencies for those tools.
One exception is may be the
/operator
. Leaving that out of scope now because that may need some more consensus and will take it different PR.Another exception is
/pkg/push
package. Introduce via this PR with some valid use case.Which issue(s) this PR fixes:
Fixes #NA
Special notes for your reviewer:
One of the main rationale for this is to make easy to track our dependencies (if it's on fewer places) and automate upgrades (for easy version upgrades and security patch upgrades)
Ignoring changes on
/vendor
directory, The changes are only in couple of directories and maingo.mod
andgo.sum
files.Checklist
CONTRIBUTING.md
guide (required)