_FB tarball tests #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: _FB tarball tests | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
inputs: | |
package_testing_branch: | |
description: 'Target branch for package-testing repository' | |
type: string | |
default: 'master' | |
required: true | |
pmm_server_image: | |
description: "pmm-server docker image" | |
required: true | |
type: string | |
default: "perconalab/pmm-server:dev-latest" | |
pmm_client_tarball: | |
description: "PMM Client tarball link or FB-code" | |
default: 'dev-latest' | |
type: string | |
required: true | |
metrics_mode: | |
description: 'Select the Metrics Mode for PMM Client:' | |
required: true | |
default: 'auto' | |
type: choice | |
options: | |
- auto | |
- push | |
- pull | |
sha: | |
description: "SHA (leave default if running manually)" | |
default: 'null' | |
required: false | |
type: string | |
workflow_call: | |
inputs: | |
package_testing_branch: | |
type: string | |
required: false | |
pmm_server_image: | |
required: true | |
type: string | |
pmm_client_tarball: | |
type: string | |
required: true | |
metrics_mode: | |
type: string | |
required: false | |
sha: | |
required: false | |
type: string | |
jobs: | |
tarball_install: | |
name: Tarball Install test | |
uses: ./.github/workflows/package-test-fb.yml | |
secrets: inherit | |
with: | |
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }} | |
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:dev-latest' }} | |
pmm_client_tarball: ${{ inputs.pmm_client_tarball || 'dev-latest' }} | |
playbook: 'pmm2-client_integration_custom_port' | |
test_name: 'tarball install' | |
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }} | |
tarball_upgrade: | |
name: Tarball Upgrade test | |
uses: ./.github/workflows/package-test-fb.yml | |
secrets: inherit | |
with: | |
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }} | |
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:dev-latest' }} | |
pmm_client_tarball: ${{ inputs.pmm_client_tarball || 'dev-latest' }} | |
playbook: 'pmm2-client_integration_upgrade_custom_path' | |
test_name: 'tarball upgrade' | |
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }} |