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 0f7bbe4 commit 21a84cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/PMM_PS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ jobs:
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_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
- name: Concatenate values to environment file
run: |
Expand Down Expand Up @@ -88,7 +91,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 }} --addclient=ps,1 --pmm2 --ps-tarball ${{ env.PS_TARBALL_PATH }} --query-source=slowlog
run: ./pmm-framework.sh --ps-version ps-${{ env.PS_VERSION_SCRIPT }} --addclient=ps,1 --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 21a84cc

Please sign in to comment.