-
Notifications
You must be signed in to change notification settings - Fork 12
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
Drop conf.yaml apiver support #262
Conversation
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. Just added some suggestions for some of the log messages and docstrings.
scripts/qesap/lib/cmds.py
Outdated
if 'az_sas_token' in config_ansible: | ||
hanamedia_content['az_sas_token'] = config_ansible['az_sas_token'] | ||
hanamedia_content['az_blobs'] = config_ansible['hana_media'] | ||
log.error("Apiver:%d is no more supported", apiver) |
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.
s/is no more supported/is no longer supported/
scripts/qesap/lib/config.py
Outdated
return False | ||
if 'az_container_name' not in ansible_conf: | ||
log.error("Missing 'az_container_name' in 'ansible' in the config") | ||
log.error("Apiver: %d is no more supported", apiver) |
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.
s/is no more supported/is no longer supported/
|
||
def test_configure_apiver_older_than_3_no_ansible(base_args, tmpdir): | ||
''' | ||
Test is using th eno more supported apiver:2 |
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.
s/Test is using th eno more supported apiver:2/Test is using the unsupported apiver:2/
45c2900
to
02c15a4
Compare
Drop support for apiver <3
02c15a4
to
ab50889
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.
LGTM
Drop support for apiver <3
apiver 3 has been introduced in qe-sap-deployment version 0.5.0 with #103
Verification
HANASR http://openqaworker15.qa.suse.cz/tests/295671
QESAP http://openqaworker15.qa.suse.cz/tests/295672