Package Test Matrix #364
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: Package Test Matrix | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
inputs: | |
package_testing_branch: | |
description: 'Target branch for package-testing repository' | |
type: string | |
default: 'master' | |
required: true | |
package: | |
description: "Select source package for enabling repo" | |
required: true | |
default: "pmm2-client" | |
type: choice | |
options: | |
- original | |
- pmm2-client | |
- tools | |
repository: | |
description: 'Select Repo for Client:' | |
required: true | |
default: 'dev-latest' | |
type: choice | |
options: | |
- release | |
- release candidate | |
- dev-latest | |
metrics_mode: | |
description: 'Select the Metrics Mode for PMM Client:' | |
required: true | |
default: 'auto' | |
type: choice | |
options: | |
- auto | |
- push | |
- pull | |
jobs: | |
i_test: | |
name: "Package Install" | |
uses: ./.github/workflows/package-test-single.yml | |
secrets: inherit | |
with: | |
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }} | |
package: ${{ inputs.package || 'pmm2-client' }} | |
repository: ${{ inputs.repository || 'dev-latest' }} | |
metrics_mode: ${{ inputs.metrics_mode || 'auto' }} | |
playbook: "pmm2-client_integration" | |
u_test: | |
name: "Package Upgrade" | |
uses: ./.github/workflows/package-test-single.yml | |
secrets: inherit | |
with: | |
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }} | |
package: ${{ inputs.package || 'pmm2-client' }} | |
repository: ${{ inputs.repository || 'dev-latest' }} | |
metrics_mode: ${{ inputs.metrics_mode || 'auto' }} | |
playbook: "pmm2-client_integration_upgrade" | |
t_test: | |
name: "Tarball Upgrade (custom path)" | |
uses: ./.github/workflows/package-test-single.yml | |
secrets: inherit | |
with: | |
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }} | |
package: ${{ inputs.package || 'pmm2-client' }} | |
repository: ${{ inputs.repository || 'dev-latest' }} | |
metrics_mode: ${{ inputs.metrics_mode || 'auto' }} | |
playbook: "pmm2-client_integration_upgrade_custom_path" |