Skip to content

Commit

Permalink
PMM-7 fix workflows (#112)
Browse files Browse the repository at this point in the history
* PMM-7 fix workflows

* PMM-7 fix workflows

* PMM-7 fix workflows

* PMM-7 fix workflows

* PMM-7 fix workflows
  • Loading branch information
yurkovychv authored Jan 27, 2025
1 parent 9f409ee commit a32f367
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/PMM_PDPGSQL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ on:

jobs:
PMM_PDPGSQL_TEST:
runs-on: ubuntu-latest
timeout-minutes: 20
runs-on: ubuntu-20.04
timeout-minutes: 40
env:
ADMIN_PASSWORD: 'admin'
PDPGSQL_VERSION: ${{ github.event.inputs.pdpgsql_version || '17' }}
Expand Down Expand Up @@ -69,6 +69,7 @@ jobs:
python3 -m venv virtenv
. virtenv/bin/activate
pip install --upgrade pip
pip install --force-reinstall -U setuptools
pip install -r requirements.txt
python pmm-framework.py --verbose --pmm-server-password=${{ env.ADMIN_PASSWORD }} --client-version=${{ env.PMM_CLIENT_VERSION }} --database PDPGSQL=${{ env.PDPGSQL_VERSION }}
Expand All @@ -87,4 +88,4 @@ jobs:
working-directory: pmm-ui-tests
run: |
export PMM_UI_URL="http://127.0.0.1:8081/"
npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_pdpgsql_integration_test.js --steps --debug
npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_pdpgsql_integration_test.js
7 changes: 4 additions & 3 deletions .github/workflows/PMM_PROXYSQL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ on:

jobs:
PMM_PXC_TEST:
runs-on: ubuntu-latest
timeout-minutes: 20
runs-on: ubuntu-20.04
timeout-minutes: 40
env:
ADMIN_PASSWORD: 'admin'
PXC_VERSION: ${{ github.event.inputs.pxc_version || '8.0' }}
Expand Down Expand Up @@ -99,6 +99,7 @@ jobs:
python3 -m venv virtenv
. virtenv/bin/activate
pip install --upgrade pip
pip install --force-reinstall -U setuptools
pip install -r requirements.txt
if [[ "${{ github.event.inputs.pxc_version }}" != http* ]]; then
python pmm-framework.py --verbose --pmm-server-password=${{ env.ADMIN_PASSWORD }} --client-version=${{ env.PMM_CLIENT_VERSION }} --database PXC=${{ env.PXC_VERSION }}
Expand All @@ -120,6 +121,6 @@ jobs:
- name: Run the Integration tests of PXC
run: |
export PMM_UI_URL="http://127.0.0.1:8081/"
npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_pxc_integration_test.js --steps --debug
npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_pxc_integration_test.js
working-directory: pmm-ui-tests

7 changes: 4 additions & 3 deletions .github/workflows/PMM_PS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ on:

jobs:
PMM_PS_TEST:
runs-on: ubuntu-latest
timeout-minutes: 20
runs-on: ubuntu-20.04
timeout-minutes: 40
env:
ADMIN_PASSWORD: 'admin'
PS_VERSION: ${{ github.event.inputs.ps_version || '8.0' }}
Expand Down Expand Up @@ -99,6 +99,7 @@ jobs:
python3 -m venv virtenv
. virtenv/bin/activate
pip install --upgrade pip
pip install --force-reinstall -U setuptools
pip install -r requirements.txt
if [[ "${{ github.event.inputs.ps_version }}" != http* ]]; then
python pmm-framework.py --verbose --pmm-server-password=${{ env.ADMIN_PASSWORD }} --client-version=${{ env.PMM_CLIENT_VERSION }} --database PS=${{ env.PS_VERSION }}
Expand All @@ -120,5 +121,5 @@ jobs:
- name: Run the Integration tests of PS
run: |
export PMM_UI_URL="http://127.0.0.1:8081/"
npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_ps_integration_test.js --steps --debug
npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_ps_integration_test.js
working-directory: pmm-ui-tests

0 comments on commit a32f367

Please sign in to comment.