Skip to content

Package Test Matrix #320

Package Test Matrix

Package Test Matrix #320

---
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: 'v3'
required: true
package:
description: "Select source package for enabling repo"
required: true
default: "pmm3-client"
type: choice
options:
- original
- pmm3-client
- tools
repository:
description: 'Select Repo for Client:'
required: true
default: 'dev-latest'
type: choice
options:
- release
- release candidate
- dev-latest
pmm_client_tarball:
description: "PMM Client tarball link or FB-code"
type: string
metrics_mode:
description: 'Select the Metrics Mode for PMM Client:'
required: true
default: 'auto'
type: choice
options:
- auto
- push
- pull
debug_mode:
description: 'Run verbose on Ansible Playbook'
required: false
default: 'false'
jobs:
i_test:
name: "Package Install"
uses: ./.github/workflows/package-test-single.yml

Check failure on line 53 in .github/workflows/package-test-matrix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/package-test-matrix.yml

Invalid workflow file

error parsing called workflow ".github/workflows/package-test-matrix.yml" -> "./.github/workflows/package-test-single.yml" (source branch with sha:e3ba8a4fab9c885cbe3c315edb904709334f7f13) --> "./.github/workflows/runner-package-test.yml" (source branch with sha:e3ba8a4fab9c885cbe3c315edb904709334f7f13) : you may only define up to 10 `inputs` for a `workflow_dispatch` event
secrets: inherit
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
package: ${{ inputs.package || 'pmm3-client' }}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm3-client_integration"
pmm_client_tarball: ${{ inputs.pmm_client_tarball || 'null' }}
debug_mode: ${{ inputs.debug_mode }}
u_test:
name: "Package Install with Custom Path"
uses: ./.github/workflows/package-test-single.yml
secrets: inherit
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
package: ${{ inputs.package || 'pmm3-client' }}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm3-client_integration_custom_path"
debug_mode: ${{ inputs.debug_mode }}
t_test:
name: "Package Install with Custom Port"
uses: ./.github/workflows/package-test-single.yml
secrets: inherit
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
package: ${{ inputs.package || 'pmm3-client' }}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm3-client_integration_custom_port"
debug_mode: ${{ inputs.debug_mode }}