Skip to content

pmm2-ui-tests-fb

pmm2-ui-tests-fb #1652

name: pmm2-ui-tests-fb
on:
workflow_dispatch:
inputs:
server_image:
description: "pmm-server docker image, default perconalab/pmm-server:dev-latest"
required: false
type: string
client_version:
description: "pmm2-client version Tarball or Dev-latest, default is dev-latest"
required: false
type: string
client_image:
description: "pmm2-client docker image, default perconalab/pmm-client:dev-latest"
required: false
type: string
pmm_qa_branch:
description: "Branch for PMM-QA to checkout"
required: false
type: string
pmm_ui_branch:
description: "Branch for PMM-UI tests to checkout"
required: false
type: string
sha:
description: "SHA (leave empty if running manually, default - 'null')"
required: false
type: string
workflow_call:
inputs:
server_image:
description: "pmm-server docker image, default perconalab/pmm-server:dev-latest"
required: false
type: string
client_version:
description: "pmm2-client version Tarball URL or Dev-latest, default is dev-latest"
required: false
type: string
client_image:
description: "pmm2-client docker image, default perconalab/pmm-client:dev-latest"
required: false
type: string
pmm_qa_branch:
description: "Branch for PMM-QA to checkout"
required: false
type: string
pmm_ui_branch:
description: "Branch for PMM-UI tests to checkout"
required: false
type: string
sha:
description: "SHA (leave empty if running manually, default - 'null')"
required: false
type: string
secrets:
BACKUP_LOCATION_ACCESS_KEY:
required: false
BACKUP_LOCATION_SECRET_KEY:
required: false
jobs:
backup_management_mongo:
name: Backup Management MongoDB UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--mongo-replica-for-backup'
tags_for_tests: '@bm-mongo'
# -- include backup_management_ps once setup for mysql fixed for the worker
# backup_management_ps:
# name: Backup Management PS UI tests
# uses: ./.github/workflows/ui-tests.yml
# secrets: inherit
# with:
# server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
# client_version: ${{ inputs.client_version || 'dev-latest' }}
# client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
# pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
# pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
# sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
# client_flags: '--mongo-replica-for-backup --setup-bm-mysql'
# tags_for_tests: '@bm-mysql'
backup_management_common:
name: Backup Management Common and Locations UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--mongo-replica-for-backup --setup-bm-mysql'
# tags_for_tests: '@bm-common|@bm-locations' -- include bm-common once setup for mysql fixed
tags_for_tests: '@bm-locations'
exporters:
name: Exporters tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--mongo-replica-for-backup'
tags_for_tests: '@mongodb-exporter|@exporters'
instances:
name: Instances UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--addclient=haproxy,1 --addclient=ps,1 --setup-external-service'
tags_for_tests: '@instances-fb'
alerting_and_settings:
name: Alerting and Settings UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--addclient=ms,1'
tags_for_tests: '@alerting-fb|@settings-fb'
user_and_password:
name: User with changed password UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--addclient=ps,1 --addclient=modb,1 --addclient=pdpgsql,1'
tags_for_tests: '@user-password'
pgsm:
name: PGSM UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--setup-pmm-pgsm-integration'
tags_for_tests: '@pgsm-pmm-integration'
pgss:
name: PGSS UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--setup-pmm-pgss-integration'
tags_for_tests: '@pgss-pmm-integration'
rbac:
name: RBAC UI tests
uses: percona/pmm-qa/.github/workflows/runner-e2e-tests-playwright.yml@main
secrets: inherit
with:
pmm_ui_tests_branch: ${{ inputs.pmm_ui_branch || 'main '}}
pmm_test_flag: '@rbac'
pmm_server_version: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
pmm_client_version: ${{ inputs.client_version || 'dev-latest' }}
pmm_clients: '--addclient=ps,1'

Check failure on line 202 in .github/workflows/pmm2-ui-tests-fb.yml

View workflow run for this annotation

GitHub Actions / pmm2-ui-tests-fb

Invalid workflow file

The workflow is not valid. .github/workflows/pmm2-ui-tests-fb.yml (Line: 202, Col: 20): Invalid input, pmm_clients is not defined in the referenced workflow.

Check failure on line 202 in .github/workflows/pmm2-ui-tests-fb.yml

View workflow run for this annotation

GitHub Actions / pmm2-ui-tests-fb

Invalid workflow file

The workflow is not valid. .github/workflows/pmm2-ui-tests-fb.yml (Line: 202, Col: 20): Invalid input, pmm_clients is not defined in the referenced workflow.
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
psmdb_arbiter:
name: PSMDB Arbiter Replica UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--mongomagic --with-arbiter'
tags_for_tests: '@pmm-psmdb-arbiter-integration'
user_and_password_podman:
name: User with changed password UI tests
uses: ./.github/workflows/ui-tests-podman.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--addclient=ps,1 --addclient=modb,1 --addclient=pdpgsql,1'
tags_for_tests: '@user-password'
dump_tool:
name: Dump Tool UI tests
uses: ./.github/workflows/ui-tests.yml
secrets: inherit
with:
server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
client_version: ${{ inputs.client_version || 'dev-latest' }}
client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
client_flags: '--addclient=ps,1'
tags_for_tests: '@dump'
tarball_install:
name: Tarball Install test
uses: percona/pmm-qa/.github/workflows/package-test-fb.yml@main
secrets: inherit
with:
package_testing_branch: 'master'
pmm_server_image: ${{ inputs.pmm_server_image }}
pmm_client_tarball: ${{ inputs.client_version || 'dev-latest' }}
playbook: 'pmm2-client_integration_custom_port'
test_name: 'Tarball install'
tarball_upgrade:
name: Tarball Upgrade test
uses: percona/pmm-qa/.github/workflows/package-test-fb.yml@main
secrets: inherit
with:
package_testing_branch: 'master'
pmm_server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }}
pmm_client_tarball: ${{ inputs.client_version || 'dev-latest' }}
playbook: 'pmm2-client_integration_upgrade_custom_path'
test_name: 'Tarball upgrade'