Skip to content

Commit 3092b79

Browse files
committed
PMM-13500: Fixes for the podman
1 parent 09a810a commit 3092b79

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

Diff for: .github/workflows/fb-e2e-suite.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,21 @@ jobs:
179179
setup_services: '--database ps --database psmdb --database pdpgsql'
180180
tags_for_tests: '@user-password'
181181

182+
user_and_password_podman:
183+
name: User with changed password UI tests
184+
uses: ./.github/workflows/runner-e2e-tests-podman.yml
185+
secrets: inherit
186+
with:
187+
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:3-dev-latest' }}
188+
pmm_client_version: ${{ inputs.pmm_client_version || '3-dev-latest' }}
189+
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client:3-dev-latest' }}
190+
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
191+
qa_integration_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
192+
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'v3' }}
193+
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
194+
setup_services: '--database ps --database psmdb --database pdpgsql'
195+
tags_for_tests: '@user-password'
196+
182197
pgsm:
183198
name: PGSM UI tests
184199
uses: ./.github/workflows/runner-e2e-tests-codeceptjs.yml
@@ -236,21 +251,6 @@ jobs:
236251
setup_services: '--database psmdb,SETUP_TYPE=pss'
237252
tags_for_tests: '@pmm-psmdb-replica-integration'
238253

239-
user_and_password_podman:
240-
name: User with changed password UI tests
241-
uses: ./.github/workflows/runner-e2e-tests-podman.yml
242-
secrets: inherit
243-
with:
244-
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:3-dev-latest' }}
245-
pmm_client_version: ${{ inputs.pmm_client_version || '3-dev-latest' }}
246-
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client:3-dev-latest' }}
247-
pmm_qa_branch: 'v3'
248-
qa_integration_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
249-
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'v3' }}
250-
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
251-
setup_services: '--addclient=ps,1 --addclient=modb,1'
252-
tags_for_tests: '@user-password'
253-
254254
dump_tool:
255255
name: Dump Tool UI tests
256256
uses: ./.github/workflows/runner-e2e-tests-codeceptjs.yml

Diff for: .github/workflows/runner-e2e-tests-podman.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
popd
151151
sudo sysctl net.ipv4.ip_unprivileged_port_start=80
152152
153-
- name: Setup PMM2-Server
153+
- name: Setup PMM3-Server
154154
working-directory: ./pmm-ui-tests
155155
run: |
156156
mkdir -p ~/.config/systemd/user/
@@ -227,8 +227,14 @@ jobs:
227227
run: sudo bash -x pmm3-client-setup.sh --pmm_server_ip 127.0.0.1 --client_version ${{ env.CLIENT_VERSION }} --admin_password ${{ env.ADMIN_PASSWORD }} --use_metrics_mode no
228228

229229
- name: Run Setup for E2E Tests
230-
working-directory: ./pmm-qa
231-
run: sudo -E bash -x pmm-tests/pmm-framework.sh ${{ env.WIZARD_ARGS }} --pmm2
230+
working-directory: qa-integration/pmm_qa
231+
run: |
232+
mkdir -m 777 -p /tmp/backup_data
233+
python3 -m venv virtenv
234+
. virtenv/bin/activate
235+
pip install --upgrade pip
236+
pip install -r requirements.txt
237+
python pmm-framework.py --pmm-server-password=${{ env.ADMIN_PASSWORD }} --verbose ${{ env.WIZARD_ARGS }}
232238
233239
- name: Setup npm modules for e2e tests
234240
working-directory: ./pmm-ui-tests

0 commit comments

Comments
 (0)