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

PMM-T1329 adding verification for pmm-managed binaries #502

Draft
wants to merge 1 commit into
base: pmm-2.30.0
Choose a base branch
from
Draft
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
11 changes: 11 additions & 0 deletions pmm-tests/check_client_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,14 @@ ls -la /usr/local/percona/pmm2/exporters | grep -q postgres_exporter
ls -la /usr/local/percona/pmm2/exporters | grep -q proxysql_exporter
ls -la /usr/local/percona/pmm2/exporters | grep -q rds_exporter
ls -la /usr/local/percona/pmm2/exporters | grep -q vmagent

## Verification of the tarball binary for latest version PMM-T1329
rm -r pmm2-client.tar.gz | true
rm -r pmm2-client-${agent_version} | true
wget -O pmm2-client.tar.gz https://downloads.percona.com/downloads/TESTING/pmm/pmm2-client-${agent_version}.tar.gz
tar -xvf pmm2-client.tar.gz
if ls -la pmm2-client-${agent_version}/bin | grep -q "pmm-managed"; then
echo "unexpected pmm-managed binaries exist in client tarball"
exit 1;
fi