Skip to content

Commit

Permalink
PMM-13621 add general FB tests workflow (#3798)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurkovychv authored Dec 16, 2024
1 parent 695ead1 commit c9786f7
Show file tree
Hide file tree
Showing 8 changed files with 124 additions and 1,116 deletions.
86 changes: 0 additions & 86 deletions .github/workflows/jenkins-dispatch.yml

This file was deleted.

92 changes: 0 additions & 92 deletions .github/workflows/pmm-cli.yml

This file was deleted.

103 changes: 103 additions & 0 deletions .github/workflows/pmm-qa-fb-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
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' }}
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' }}

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' }}
Loading

0 comments on commit c9786f7

Please sign in to comment.