Skip to content

Updates, Add support for PMM-13805 #118

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

Open
wants to merge 3 commits into
base: v3
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pmm_qa/pmm-framework.py
Original file line number Diff line number Diff line change
@@ -272,13 +272,14 @@ def setup_pdpgsql(db_type, db_version=None, db_config=None, args=None):
print(f"Check if PMM Server is Up and Running..Exiting")
exit()

# Gather Version details
pdpgsql_version = os.getenv('PDPGSQL_VERSION') or db_version or database_configs[db_type]["versions"][-1]
# Gather Version details, Note: we accept minor versions and dont validate in Configs.
pdpgsql_version = os.getenv('PDPGSQL_VERSION') or database_configs[db_type]["versions"][-1]

# Define environment variables for playbook
env_vars = {
'PGSTAT_MONITOR_BRANCH': 'main',
'PDPGSQL_VERSION': pdpgsql_version,
'PPG_REPO_TYPE': 'testing',
'PMM_SERVER_IP': args.pmm_server_ip or container_name or '127.0.0.1',
'PDPGSQL_PGSM_CONTAINER': 'pdpgsql_pgsm_pmm_' + str(pdpgsql_version),
'CLIENT_VERSION': get_value('CLIENT_VERSION', db_type, args, db_config),
Loading