-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Move to using paths from environment variables #20844
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted filessee 19 files with indirect coverage changes @@ Coverage Diff @@
## main #20844 +/- ##
==========================================
+ Coverage 69.20% 69.22% +0.01%
==========================================
Files 422 422
Lines 34822 34822
==========================================
+ Hits 24100 24106 +6
+ Misses 9334 9326 -8
- Partials 1388 1390 +2 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
| cfg := common.MakeConfig(NodeCount) | ||
|
|
||
| hosts, reportPath, etcdetcdDataPaths := common.GetPaths(cfg) | ||
| if *local { |
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.
What about local?
|
The title "Move to using paths from environment variables" is not reflecting what the PR. The PR does:
I addition you needlessly
Please send 3 PRs:
|
|
First PR #20845 |
Signed-off-by: Nont <[email protected]>
c5ce538 to
1e665ed
Compare
|
@serathius sorry I should not have sent this PR before going to bed last night. Indeed, I should have made the changes like #20845 first. I have checked and I don't think we have any other places that refer to The next step is to flip the logic, which is what this PR does. I confirmed that I have done the following tests on the branch and they are all successful.
The next step after this is to clean up CFG_NODECOUNT and |
|
Pushed commit with suggestions on top of your branch. Please let me know if this is simpler. |
Signed-off-by: Marek Siarkowicz <[email protected]>
ee277ef to
a492abd
Compare
|
That works and is simpler. I created that new function just to facilitate the change/diff, but it's no longer needed. Thank you. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nwnt, serathius The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
As discussed, I'm breaking #20817 down to something smaller. Hope this works, but please do let me know if you want to break it down further.
cc @serathius @ivanvc