Skip to content
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

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

mpagot
Copy link
Collaborator

@mpagot mpagot commented Aug 29, 2024

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

Copy link
Collaborator

@alvarocarvajald alvarocarvajald left a 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.

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)
Copy link
Collaborator

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/

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)
Copy link
Collaborator

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
Copy link
Collaborator

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/

@mpagot mpagot force-pushed the qesap_drop_apiver_2 branch from 45c2900 to 02c15a4 Compare August 29, 2024 14:33
Drop support for apiver <3
@mpagot mpagot force-pushed the qesap_drop_apiver_2 branch from 02c15a4 to ab50889 Compare August 29, 2024 14:56
Copy link
Collaborator

@BillAnastasiadis BillAnastasiadis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpagot mpagot merged commit a59df8e into SUSE:main Aug 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants