Skip to content

Commit

Permalink
Merge pull request #618 from Percona-QA/PMM-12770-gh-update
Browse files Browse the repository at this point in the history
PMM-12770 Jobs updates per review
  • Loading branch information
Vadim Yarosh authored Jan 16, 2024
2 parents b9b36a2 + fd9a8de commit 616cdda
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 177 deletions.
158 changes: 37 additions & 121 deletions .github/workflows/pmm-package-test-matrix-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Get versions
uses: percona/pmm-ui-tests/.github/workflows/pmm-version-getter.yml@main
with:
repository: ${{ inputs.repository || 'release'}}
repository: ${{ inputs.repository || 'dev-latest' }}

c_test:
name: "pmm2-client"
Expand All @@ -43,19 +43,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -68,19 +61,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_upgrade"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -93,19 +79,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_custom_path"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -118,19 +97,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_auth_config"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -143,19 +115,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_auth_register"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -168,19 +133,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_auth_setup"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -193,19 +151,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_custom_path"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -218,19 +169,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_custom_port"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -243,19 +187,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_upgrade_custom_port"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -268,19 +205,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -293,19 +223,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_upgrade"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -318,19 +241,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_upgrade_custom_path"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
44 changes: 13 additions & 31 deletions .github/workflows/pmm-package-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: Package Test Matrix

on:
schedule:
- cron: '0 0 * * *'

workflow_dispatch:
inputs:
package_testing_branch:
Expand Down Expand Up @@ -33,7 +36,7 @@ jobs:
name: Get versions
uses: percona/pmm-ui-tests/.github/workflows/pmm-version-getter.yml@main
with:
repository: ${{ inputs.repository || 'release'}}
repository: ${{ inputs.repository || 'dev-latest' }}

i_test:
name: "pmm2-client_integration"
Expand All @@ -43,19 +46,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -68,19 +64,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_upgrade"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Expand All @@ -93,19 +82,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["bionic-x64",
"bullseye-x64",
"buster-x64",
"focal-x64",
"jammy-x64",
"centos-7-x64",
"ol-8-x64",
"ol-9-x64"]
os: ${{ fromJSON(needs.get_versions.outputs.pt_os) }}
with:
package_testing_branch: ${{ inputs.package_testing_branch || 'master' }}
expected_version: ${{needs.get_versions.outputs.finish_version}}
repository: ${{ inputs.repository || 'release'}}
metrics_mode: ${{ inputs.metrics_mode || 'auto'}}
repository: ${{ inputs.repository || 'dev-latest' }}
metrics_mode: ${{ inputs.metrics_mode || 'auto' }}
playbook: "pmm2-client_integration_upgrade_custom_path"
test_name: ${{ matrix.os }}
os: ${{ matrix.os }}
Loading

0 comments on commit 616cdda

Please sign in to comment.