Move pkg/config to internal/config#6884
Conversation
Signed-off-by: Oyefule <drelanorgent@gmail.com>
Signed-off-by: Oyefule <drelanorgent@gmail.com>
|
please fix conflicts |
Signed-off-by: Oyefule <drelanorgent@gmail.com>
|
@yurishkuro done |
|
I'm still seeing conflicts (could be from other changes being merged) |
Signed-off-by: Oyefule <drelanorgent@gmail.com>
Probably due to other merged PRs. I have resolved the conflicts now |
yurishkuro
left a comment
There was a problem hiding this comment.
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 <drelanorgent@gmail.com>
…jaeger into move-config-to-internal
Signed-off-by: Oyefule <drelanorgent@gmail.com>
|
Signed-off-by: Oyefule <drelanorgent@gmail.com>
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 <drelanorgent@gmail.com> Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Yuri Shkuro <github@ysh.us>
## 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 <drelanorgent@gmail.com> Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Yuri Shkuro <github@ysh.us> Signed-off-by: amol-verma-allen <amol.verma@allen.in>

Which problem is this PR solving?
Description of the changes
pkg/configtointernal/configHow was this change tested?
make testChecklist
jaeger:make lint test