-
Notifications
You must be signed in to change notification settings - Fork 10.2k
[Antithesis] Migrate from fixed paths to env-based vars #20794
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 #20794 +/- ##
=======================================
Coverage 69.19% 69.20%
=======================================
Files 422 422
Lines 34821 34824 +3
=======================================
+ Hits 24096 24101 +5
+ Misses 9326 9323 -3
- Partials 1399 1400 +1 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
| dataPaths = parseDataPaths(envDataPaths) | ||
| hosts = make([]string, 0, len(dataPaths)) | ||
| for host := range dataPaths { | ||
| hosts = append(hosts, host+":2379") |
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.
Thought that ETCD_ROBUSTNESS_ENDPOINTS already include port numbers.
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.
My bad, I didn't include this part in the code. This is now fixed.
e13cfd6 to
3b9c2ee
Compare
3b9c2ee to
8382b93
Compare
Signed-off-by: Nont <[email protected]>
8382b93 to
04ed940
Compare
|
/retest |
| _, reportPath, dirs := common.DefaultPaths(cfg) | ||
| _, reportPath, dirs := common.GetPaths(cfg) | ||
| if *local { | ||
| _, reportPath, dirs = common.LocalPaths(cfg) |
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.
For the future, would also good to move LocalPaths into GetPaths
|
[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 a continuation of breaking #20736 down, I'm making the clients' data and report paths configurable from the new environment variables (DATA_PATHS and REPORT_PATH).
@serathius