Skip to content

Commit 20e6ba2

Browse files
author
Vadym Yarosh
committed
PMM-12921 fb integration fixes
1 parent 5c2b16c commit 20e6ba2

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/fb-integration-suite.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535

3636
jobs:
3737
pmm-server-tests:
38-
name: 'PMM Server ${{needs.get_versions.outputs.finish_version}} containers tests'
38+
name: 'CLI / Integration'
3939
uses: ./.github/workflows/runner-integration-cli-tests.yml
4040
secrets: inherit
4141
with:
@@ -46,11 +46,12 @@ jobs:
4646
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client:dev-latest' }}
4747
pmm_client_version: ${{ inputs.pmm_client_version || 'dev-latest' }}
4848
cli_test: 'pmm-server-only'
49+
test_name: 'pmm-server container tests'
4950

5051
# [ps5.7, ps8, ms8.0, pdpgsql13, pdpgsql14, pdpgsql15, modb4.4, modb5, modb6, help, generic, clientContainer, haproxy, proxysql, remove]
5152

5253
pmm-client-container-tests:
53-
name: 'PMM Client Docker Container tests'
54+
name: 'CLI / Integration'
5455
uses: ./.github/workflows/runner-integration-cli-tests.yml
5556
secrets: inherit
5657
with:
@@ -62,3 +63,4 @@ jobs:
6263
pmm_client_version: ${{ inputs.pmm_client_version || 'dev-latest' }}
6364
cli_test: 'pmm-client-docker'
6465
services_list: '--setup-pmm-client-docker'
66+
test_name: ${{ inputs.test_name > '' && format('{0} {1}', inputs.test_name, matrix.os) || matrix.os }}

.github/workflows/runner-integration-cli-tests.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,17 @@ on:
3232
description: "playwright test arguments to execute tests"
3333
required: false
3434
type: string
35+
test_name:
36+
type: string
37+
required: false
3538
sha:
3639
description: "SHA (leave empty if running manually, default - 'null')"
3740
required: false
3841
type: string
3942

4043
jobs:
4144
cli-tests:
45+
name: ${{ inputs.test_name || inputs.cli_test}}
4246
runs-on: ubuntu-latest
4347
timeout-minutes: 40
4448
env:
@@ -102,9 +106,9 @@ jobs:
102106
run: |
103107
docker create -v /srv --name pmm-server-data ${{ env.PMM_SERVER_IMAGE }}
104108
docker run -d -p 80:80 -p 443:443 -p 9000:9000 --name pmm-server \
105-
-e PERCONA_TEST_PLATFORM_ADDRESS=https://check-dev.percona.com:443
106-
-e PERCONA_TEST_PLATFORM_PUBLIC_KEY=RWTg+ZmCCjt7O8eWeAmTLAqW+1ozUbpRSKSwNTmO+exlS5KEIPYWuYdX
107-
--volumes-from pmm-server-data
109+
-e PERCONA_TEST_PLATFORM_ADDRESS=https://check-dev.percona.com:443 \
110+
-e PERCONA_TEST_PLATFORM_PUBLIC_KEY=RWTg+ZmCCjt7O8eWeAmTLAqW+1ozUbpRSKSwNTmO+exlS5KEIPYWuYdX \
111+
--volumes-from pmm-server-data \
108112
--restart always ${{ env.PMM_SERVER_IMAGE }}
109113
timeout 240 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://127.0.0.1/v1/readyz)" != "200" ]]; do sleep 2; done' || false
110114

0 commit comments

Comments
 (0)