Skip to content

Commit

Permalink
add permissions to PMM_PS workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
panchal-yash committed Jul 4, 2023
1 parent 4cd67bc commit f0dba4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PMM_PS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
PS_VERSION: ${{ github.event.inputs.ps_version || 'latest' }}
PS_VERSION: ${{ github.event.inputs.ps_version || '8.0.31-23' }}
PMM_IMAGE: ${{ github.event.inputs.pmm_image || 'perconalab/pmm-server:dev-latest' }}
steps:
- uses: actions/checkout@v2
- name: test-pmm-ps
run: |
./start-pmm-ps.sh
chmod +x start-pmm-ps.sh && ./start-pmm-ps.sh
working-directory: ./pmm_ps_setup
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 @@ -12,6 +12,8 @@ sudo rm -r pmm-qa || true

git clone -b master https://github.com/percona/pmm-qa/

cd pmm-qa

# Give write perimssion to the bash script
chmod +x ./pmm-tests/pmm-framework.sh

Expand All @@ -22,7 +24,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 --ms-version $PS_VERSION --addclient=ms,1 --pmm2 --ps_tarball_url=$PS_TARBALL_PATH
./pmm-framework.sh --ms-version $PS_VERSION --addclient=ms,1 --pmm2

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

0 comments on commit f0dba4a

Please sign in to comment.