Skip to content

FB Tests

FB Tests #205

name: "FB Tests"
on:
workflow_dispatch:
inputs:
pmm_qa_branch:
description: "Branch for PMM-QA to checkout (pmm-qa)"
required: false
type: string
pmm_ui_tests_branch:
description: "Branch for UI tests to checkout (pmm-ui-tests)"
required: false
type: string
package_testing_branch:
description: "Branch for package tests to checkout (package-testing)"
required: false
type: string
pmm_server_image:
description: "pmm-server docker image, default perconalab/pmm-server:3-dev-latest"
required: false
type: string
pmm_client_image:
description: "pmm3-client docker image, default perconalab/pmm-server:3-dev-latest"
required: false
type: string
pmm_client_version:
description: "pmm3-client version Tarball or Dev-latest, default is dev-latest"
required: false
type: string
sha:
description: "SHA (leave empty if running manually, default - 'null')"
required: false
type: string
workflow_call:
inputs:
pmm_qa_branch:
required: false
type: string
pmm_ui_tests_branch:
required: false
type: string
package_testing_branch:
required: false
type: string
pmm_server_image:
required: false
type: string
pmm_client_image:
required: false
type: string
pmm_client_version:
required: false
type: string
sha:
required: false
type: string
jobs:
# Enable after helm is supported for v3
# helm_tests:
# name: Helm
# uses: percona/pmm-qa/.github/workflows/helm-tests.yml@v3
# secrets: inherit
# with:
# sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
# server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:3-dev-latest' }}
# client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-server:3-dev-latest' }}
# pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
integration_fb_suite:
name: CLI
uses: percona/pmm-qa/.github/workflows/fb-integration-suite.yml@v3
secrets: inherit
with:
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'v3' }}
qa_integration_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:3-dev-latest' }}
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-server:3-dev-latest' }}
pmm_client_version: ${{ inputs.pmm_client_version || '3-dev-latest' }}
e2e_fb_suite:
name: E2E
uses: percona/pmm-qa/.github/workflows/fb-e2e-suite.yml@v3
secrets: inherit
with:
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'v3' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'v3' }}
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:3-dev-latest' }}
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-server:3-dev-latest' }}
pmm_client_version: ${{ inputs.pmm_client_version || '3-dev-latest' }}
tarball_fb_suite:
name: Tarball
uses: percona/pmm-qa/.github/workflows/fb-tarball-suite.yml@v3
secrets: inherit
with:
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:3-dev-latest' }}
pmm_client_tarball: ${{ inputs.pmm_client_version || '3-dev-latest' }}