-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add support to install framework using pip and user defined version and refactor bootstrap and env clean #232
Conversation
fee1239
to
c2b15fb
Compare
Test:
|
This pull request fixes 1 alert when merging c2b15fb into 6dbe17a - view on LGTM.com fixed alerts:
|
Moving to different version of framework becomes easier and reliable now : Kvm test dry run did not work due to a known issue with 80.0 version as expected.
|
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.
Patch looks good, few minor comments..
c2b15fb
to
98200dd
Compare
This pull request fixes 1 alert when merging 98200dd into 84150d0 - view on LGTM.com fixed alerts:
|
Lately, we are noticing lot of issues due to broken framework in the environment using the unmatching version across different plugins, so let's avoid the direct repo install and use standard pip installation for framework and its plugin, by default it will install the latest released version of framework if bootstrapped, having said that user could choose the different version than default as needed through config and use the git repo aswell, details of how to choose different config options are documented in the config file comment section. Refactored the bootstrap workflow and env clean to have the proper environment to start with and clean the environment properly when asked, earlier unwanted steps were run. miscellaneous pylint fixes. Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
98200dd
to
a44babd
Compare
This pull request fixes 1 alert when merging a44babd into 84150d0 - view on LGTM.com fixed alerts:
|
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, Thanks for the patch!
@narasimhan-v seeing you have self requested review, do you have any comments?, it is good to have this merged soon, Thanks! |
@sathnaga I am yet to test the script. Will complete review by EOD. |
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.
@sathnaga Code looks good, but is it possible to split it into separate commits ? One for pip install, one for bootstrap refactor, etc ?
It's little interlinked in current state, I doubt I will have enough time to break it. probably will keep in mind for future change.. |
Sure. Are we waiting for anymore reviews ? Or can this be merged ? |
@narasimhan-v I guess we have two approvals, we can merge this. |
Lately, we are noticing lot of issues due to broken framework
in the environment using the unmatching version across different
plugins, so let's avoid the direct repo install and use standard
pip installation for framework and its plugin, by default it will
install the latest released version of framework if bootstrapped,
having said that user could choose the different version than
default as needed through config and use the git repo aswell,
details of how to choose different config options are documented
in the config file comment section.
Refactored the bootstrap workflow and env clean to have the
proper environment to start with and clean the environment properly
when asked, earlier unwanted steps were run.
miscellaneous pylint fixes.
Signed-off-by: Satheesh Rajendran sathnaga@linux.vnet.ibm.com