-
Notifications
You must be signed in to change notification settings - Fork 2
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
[RPD-250] Move _show_terraform_outputs()
into provision
#188
[RPD-250] Move _show_terraform_outputs()
into provision
#188
Conversation
_show_terraform_outputs()
into provision
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.
Added comments
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.
LGTM 👍
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.
LGTM
* [RPD-287] ZenML version inference for zenserver (#180) * various changes * change variable names to make things more clear * shubham's comment * test for latest * update existing tests * update existing tests * shubham latest comment * add gitflow notation branches to ci (#183) * remove old, commented out code * [RPD-260] Add an object to handle the `matcha.config.json` file. (#184) * adds logic and tests for matcha config module * updates docstrings * adds tests and implements config object throughout matcha * updated for pr comments * updates docstring * fixes ci * updates for comments * [RPD-249] Refactor `analytics_service` to simplify tracking decorator (#181) * refactor analytics service * adds tests and updates for comments * updates tests * updates for comments * extracts _get_state_uuid logic into private function * removes old _get_state_uuid logic * updates _execute_analytics_event_function * extracts _time_event logic * adds _post_event logic * adds tests * adds dataclass * updates tests * [RPD-236] Improved approach to check ignored folder when uploading and downloading (#186) * [RPD-250] Move `_show_terraform_outputs()` into `provision` (#188) * updates core and azure_runner * adds test * updated for comments * updates test fixtures * [RPD-259] Refactor `build_state_from_terraform_output` within `matcha_state.py` to use objects defined within matcha_state.py (#190) * updates build_state_from_terraform_outputs * updates for comments * fixes tests * removes print statement * updates get_component * updates get_component * updates for comments * [RPD-290] Update MatchaConfig object to not throw an error when a matching property/component is not found (#192) --------- Co-authored-by: KirsoppJ <[email protected]> Co-authored-by: Callum Wells <[email protected]>
This PR moves the
_show_terraform_outputs
function out of theazure_runner
class and into thematcha_ml.core.core.py
module. The_show_terraform_outputs
function is a generic utility function for the coreprovision
function and, as such, should be contained in the same module. The return value of theazure_runner
'sprovision
method has been updated to pass aMatchaStateService
instance, instantiated with the terraform outputs of the provisioningback to the core
provision` function.A test has been added for the
_show_terraform_outputs
function.Checklist
Please ensure you have done the following:
Type of change
Tick all those that apply: