-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Move pkg/config to internal/config #6884
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
Move pkg/config to internal/config #6884
Conversation
Signed-off-by: Oyefule <[email protected]>
Signed-off-by: Oyefule <[email protected]>
please fix conflicts |
Signed-off-by: Oyefule <[email protected]>
@yurishkuro done |
I'm still seeing conflicts (could be from other changes being merged) |
Signed-off-by: Oyefule <[email protected]>
Probably due to other merged PRs. I have resolved the conflicts now |
Signed-off-by: Yuri Shkuro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since you moved certificate files you need to update the references to them
$ rg pkg/config/tlscfg/testdata
Makefile
225: cd pkg/config/tlscfg/testdata && ./gen-certs.sh
229: cd pkg/config/tlscfg/testdata && ./gen-certs.sh -d
cmd/remote-storage/app/server_test.go
37:var testCertKeyLocation = "../../../pkg/config/tlscfg/testdata"
cmd/collector/app/server/http_test.go
29:var testCertKeyLocation = "../../../../pkg/config/tlscfg/testdata"
cmd/collector/app/handler/zipkin_receiver_tls_test.go
25: const testCertKeyLocation = "../../../../pkg/config/tlscfg/testdata"
cmd/query/app/server_test.go
49:var testCertKeyLocation = "../../../pkg/config/tlscfg/testdata"
cmd/internal/flags/admin_test.go
29:var testCertKeyLocation = "../../../pkg/config/tlscfg/testdata"
make sure to run make test
and make lint
before submitting, you could've easily discovered these issues locally
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6884 +/- ##
==========================================
- Coverage 96.15% 96.14% -0.02%
==========================================
Files 341 341
Lines 19738 19738
==========================================
- Hits 18980 18978 -2
- Misses 573 575 +2
Partials 185 185
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Oyefule <[email protected]>
…jaeger into move-config-to-internal
Signed-off-by: Oyefule <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
|
Signed-off-by: Oyefule <[email protected]>
Head branch was pushed to by a user without write access
@yurishkuro I had issues testing the entire package, and the failing test referenced the path differently but I ran the test in isolation now and it passed, so no issues. |
## Which problem is this PR solving? - Part of jaegertracing#6869 ## Description of the changes - It moves private code from `pkg/config` to `internal/config` - Modifies related files where there are related imports of the moved file(s) ## How was this change tested? ```bash make test ``` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` --------- Signed-off-by: Oyefule <[email protected]> Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
## Which problem is this PR solving? - Part of jaegertracing#6869 ## Description of the changes - It moves private code from `pkg/config` to `internal/config` - Modifies related files where there are related imports of the moved file(s) ## How was this change tested? ```bash make test ``` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` --------- Signed-off-by: Oyefule <[email protected]> Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Signed-off-by: amol-verma-allen <[email protected]>
Which problem is this PR solving?
Description of the changes
pkg/config
tointernal/config
How was this change tested?
make test
Checklist
jaeger
:make lint test