Skip to content

Commit

Permalink
Remove - from the PMM_VERSION variable and create a new Variable PMM_…
Browse files Browse the repository at this point in the history
…VERSION_SCRIPT
  • Loading branch information
panchal-yash committed Sep 1, 2023
1 parent 21a84cc commit 2ec43f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/PMM_PS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
push:
branches:
- main
- add-pmm-ps-pxc-ms-workflow

pull_request:
branches:
Expand All @@ -38,12 +39,12 @@ jobs:
else
wget https://raw.githubusercontent.com/Percona-QA/package-testing/master/VERSIONS
PS_VERSION="$(grep 'PS80_VER' VERSIONS | cut -d = -f 2)"
PS_VERSION_PATH=$(echo "ps-release-$PS_VERSION")
PS_VERSION_PATH=$(echo "ps-$PS_VERSION")
PS_VERSION_SCRIPT=$(echo ${PS_VERSION%-*})
fi
echo "PS_VERSION=${PS_VERSION}" >> $GITHUB_ENV
echo "PS_VERSION_PATH=${PS_VERSION_PATH}" >> $GITHUB_ENV
echo "PS_VERSION_SCRIPT=${PS_VERSION_SCRIPT}" >> $GITHUB_ENV
echo "PS_VERSION_SCRIPT=${PS_VERSION_SCRIPT}" | sed 's/"//g' >> $GITHUB_ENV
- name: Concatenate values to environment file
Expand Down Expand Up @@ -91,7 +92,7 @@ jobs:
run: sudo pmm-admin config --server-insecure-tls --server-url=https://admin:admin@localhost:443

- name: Run for PS tests
run: ./pmm-framework.sh --ps-version ps-${{ env.PS_VERSION_SCRIPT }} --addclient=ps,1 --pmm2 --ps-tarball ${{ env.PS_TARBALL_PATH }} --query-source=slowlog
run: ./pmm-framework.sh --ps-version ${{ env.PS_VERSION_SCRIPT }} --setup-pmm-ps-integration --pmm2 --ps-tarball ${{ env.PS_TARBALL_PATH }} --query-source=slowlog
working-directory: pmm-qa/pmm-tests

- name: Install Node js
Expand Down

0 comments on commit 2ec43f6

Please sign in to comment.