-
Notifications
You must be signed in to change notification settings - Fork 467
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
cloudtests: repatriate EnvironmentConfig (mz repo) #21349
cloudtests: repatriate EnvironmentConfig (mz repo) #21349
Conversation
9ff4bac
to
2aee69e
Compare
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.
A couple of comments but looks good! thanks for taking on this work -- I know it's going to require some significant refactoring in the cloud repo :)
response = get( | ||
config, | ||
config.controllers.region_api_server.configured_base_url(), | ||
class Environment: |
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.
nice! I like encapsulating all these environment management calls under this class!
4955c70
to
4d3f6a0
Compare
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.
I think this looks much better!
d911572
to
eb0e7e0
Compare
Rebased and added further commits after review:
|
8a67cf2
to
b6c4ec7
Compare
b6c4ec7
to
6c25114
Compare
Motivation
The class
EnvironmentConfig
is quite repo-specific and should belong to the cloud repo to allow editing it without pain.This PR refactors existing code:
EnvironmentConfig
EnvironmentConfig
Tips for reviewer
Commit-wise review suggested.
Checklist