Skip to content

Commit

Permalink
Merge pull request #4779 from sysown/v2.7-actions-add-3p-tests-parameter
Browse files Browse the repository at this point in the history
add proxysql-3p-tests branch as parameter for manual runs
  • Loading branch information
renecannao authored Dec 19, 2024
2 parents a990961 + 5dd5852 commit 70b6234
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 9 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/CI-3p-django-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branc

on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
Expand Down Expand Up @@ -31,7 +36,9 @@ jobs:
connector: ${{ vars.MATRIX_3P_DJANGO_FRAMEWORK_connector_mariadb }}

run-pgsql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
if: |
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run) &&
! startsWith((github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name), 'v2.')
uses: sysown/proxysql/.github/workflows/ci-3p-django-framework.yml@GH-Actions
secrets: inherit
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/CI-3p-laravel-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branc

on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
Expand Down Expand Up @@ -31,7 +36,9 @@ jobs:
connector: ${{ vars.MATRIX_3P_LARAVEL_FRAMEWORK_connector_mariadb }}

run-pgsql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
if: |
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run) &&
! startsWith((github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name), 'v2.')
uses: sysown/proxysql/.github/workflows/ci-3p-laravel-framework.yml@GH-Actions
secrets: inherit
with:
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/CI-3p-mariadb-connector-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branc

on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
Expand All @@ -12,11 +17,20 @@ concurrency:
cancel-in-progress: true

jobs:
run:
run-mysql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-mariadb-connector-c.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_MARIADB_CONNECTOR_C_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_MARIADB_CONNECTOR_C_connector_mysql }}

run-mariadb:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-mariadb-connector-c.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_MARIADB_CONNECTOR_C_infradb_mariadb }}
connector: ${{ vars.MATRIX_3P_MARIADB_CONNECTOR_C_connector_mariadb }}
16 changes: 15 additions & 1 deletion .github/workflows/CI-3p-mysql-connector-j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branc

on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
Expand All @@ -12,11 +17,20 @@ concurrency:
cancel-in-progress: true

jobs:
run:
run-mysql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-mysql-connector-j.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_MYSQL_CONNECTOR_J_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_MYSQL_CONNECTOR_J_connector_mysql }}

run-mariadb:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-mysql-connector-j.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_MYSQL_CONNECTOR_J_infradb_mariadb }}
connector: ${{ vars.MATRIX_3P_MYSQL_CONNECTOR_J_connector_mariadb }}
16 changes: 15 additions & 1 deletion .github/workflows/CI-3p-php-pdo-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branc

on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
Expand All @@ -12,11 +17,20 @@ concurrency:
cancel-in-progress: true

jobs:
run:
run-mysql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-php-pdo-mysql.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_PHP_PDO_MYSQL_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_PHP_PDO_MYSQL_connector_mysql }}

run-mariadb:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-php-pdo-mysql.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_PHP_PDO_MYSQL_infradb_mariadb }}
connector: ${{ vars.MATRIX_3P_PHP_PDO_MYSQL_connector_mariadb }}
11 changes: 8 additions & 3 deletions .github/workflows/CI-3p-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branc

on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
Expand All @@ -12,10 +17,10 @@ concurrency:
cancel-in-progress: true

jobs:
run:
run-pgsql:
if: |
${{ (github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run) &&
startsWith(github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name, 'v3.') }}
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run) &&
! startsWith((github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name), 'v2.')
uses: sysown/proxysql/.github/workflows/ci-3p-postgresql.yml@GH-Actions
secrets: inherit
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/CI-3p-sqlalchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mariadb }}

run-pgsql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
if: |
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run) &&
! startsWith((github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name), 'v2.')
uses: sysown/proxysql/.github/workflows/ci-3p-sqlalchemy.yml@GH-Actions
secrets: inherit
with:
Expand Down

0 comments on commit 70b6234

Please sign in to comment.