Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-7 upgrade playwright tests runner tweak #681

Merged
merged 4 commits into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/runner-e2e-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ jobs:
--volumes-from pmm-integration-server-data \
--name pmm-integration-server \
${{ steps.pmm_server_to_image.outputs.IMAGE }}
timeout 240 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://${{ env.PMM_SERVER_IP }}/v1/readyz)" != "200" ]]; do sleep 2; done' || false
timeout 240 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://${{ env.PMM_SERVER_IP }}/v1/readyz)" != "200" ]]; do echo "waiting for ${{ env.PMM_SERVER_IP }}" && sleep 2; done' || false
sleep 30

- name: 'Upgrade pmm-server: <Podman way>'
if: ${{ inputs.upgrade_type == 'Podman way' }}
Expand All @@ -395,7 +396,8 @@ jobs:
podman pull docker.io/${{ steps.pmm_server_to_image.outputs.IMAGE }}
systemctl --user restart pmm-server

timeout 240 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://${{ env.PMM_SERVER_IP }}/v1/readyz)" != "200" ]]; do sleep 2; done' || false
timeout 240 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://${{ env.PMM_SERVER_IP }}/v1/readyz)" != "200" ]]; do echo "waiting for ${{ env.PMM_SERVER_IP }}" && sleep 2; done' || false
sleep 30

- name: 'Tests <before PMM Client> upgrade'
working-directory: ./pmm-ui-tests/playwright-tests
Expand Down
Loading