From 74d03b35566c7da5b8a2ac53b407c8a43a4f989f Mon Sep 17 00:00:00 2001 From: saikumar-vs <112166980+saikumar-vs@users.noreply.github.com> Date: Fri, 31 Jan 2025 17:18:21 +0530 Subject: [PATCH] Pmm3 fix client for release version (#113) * Updates to fix client version --- pmm_qa/pmm3-client-setup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pmm_qa/pmm3-client-setup.sh b/pmm_qa/pmm3-client-setup.sh index abc906a..f044a19 100755 --- a/pmm_qa/pmm3-client-setup.sh +++ b/pmm_qa/pmm3-client-setup.sh @@ -72,9 +72,8 @@ if [[ "$client_version" == "pmm3-latest" ]]; then fi ## Only supported for debian based systems for now -if [[ "$client_version" =~ ^"3." ]]; then - ## Note: only experimental packages are present atm. - wget -O pmm-client.deb https://repo.percona.com/pmm3-client/apt/pool/experimental/p/pmm-client/pmm-client_${client_version}-6.$(lsb_release -sc)_amd64.deb +if [[ "$client_version" =~ ^3\.[0-9]+\.[0-9]+$ ]]; then + wget -O pmm-client.deb https://repo.percona.com/pmm3-client/apt/pool/main/p/pmm-client/pmm-client_${client_version}-7.$(lsb_release -sc)_amd64.deb dpkg -i pmm-client.deb fi