Skip to content

Commit

Permalink
add MS tarball path
Browse files Browse the repository at this point in the history
add glibc versions for tarball path
  • Loading branch information
panchal-yash committed Aug 4, 2023
1 parent 8432afd commit 3868c00
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/PMM_PS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
ps_version:
description: "ps version"
required: true
ms_version:
description: "ms version"
required: true
pmm_image:
description: "pmm_image"
required: false
Expand All @@ -22,6 +25,9 @@ jobs:
timeout-minutes: 20
env:
PS_VERSION: ${{ github.event.inputs.ps_version || '8.0.32-24' }}
PS_GLIBC: ${{ github.event.inputs.ps_glibc || '2.28' }}
MS_VERSION: ${{ github.event.inputs.ms_version || '8.0.32' }}
MS_GLIBC: ${{ github.event.inputs.ms_glibc || '2.17' }}
PMM_IMAGE: ${{ github.event.inputs.pmm_image || 'perconalab/pmm-server:dev-latest' }}
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 4 additions & 2 deletions pmm_ps_setup/start-pmm-ps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

echo $PS_VERSION

PS_TARBALL_PATH=https://downloads.percona.com/downloads/TESTING/ps-$PS_VERSION/Percona-Server-$PS_VERSION-Linux.x86_64.glibc2.28.tar.gz
PS_TARBALL_PATH=https://downloads.percona.com/downloads/TESTING/ps-$PS_VERSION/Percona-Server-$PS_VERSION-Linux.x86_64.glibc$PS_GLIBC.tar.gz

MS_TARBALL_PATH=https://dev.mysql.com/get/Downloads/MySQL-8/mysql-$MS_VERSION-linux-glibc$MS_GLIBC-x86_64.tar.gz

PMM_QA_REPO_URL=https://github.com/percona/pmm-qa/

Expand All @@ -28,7 +30,7 @@ docker run --detach --restart always --publish 443:443 --name pmm-server $PMM_IM
cd pmm-tests

#Run for ms version and ms client 1
./pmm-framework.sh --ps-version ps-$PS_VERSION --addclient=ms,1 --pmm2 --ms-tarball $PS_TARBALL_PATH
./pmm-framework.sh --ms-version ms-$PS_VERSION --addclient=ms,1 --pmm2 --ms-tarball $MS_TARBALL_PATH


#Run for ps version and ps client 1
Expand Down

0 comments on commit 3868c00

Please sign in to comment.