Skip to content

Commit

Permalink
simplify action build and tests chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
mirostauder authored Mar 5, 2024
1 parent f60df66 commit 4379553
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 267 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/CI-3p-django-framework.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-3p-django-framework

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-3p-django-framework.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-3p-laravel-framework.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-3p-laravel-framework

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-3p-laravel-framework.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-3p-mariadb-connector-c.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-3p-mariadb-connector-c

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-3p-mariadb-connector-c.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-3p-mysql-connector-j.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-3p-mysql-connector-j

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-3p-mysql-connector-j.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-3p-php-pdo-mysql.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-3p-php-pdo-mysql

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-3p-php-pdo-mysql.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-3p-sqlalchemy.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-3p-sqlalchemy

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-3p-sqlalchemy.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-basictests.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-basictests

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-basictests.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-codeql.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-CodeQL

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-codeql.yml@GH-Actions
secrets: inherit

16 changes: 4 additions & 12 deletions .github/workflows/CI-maketest.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
name: CI-maketest

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

Expand Down
21 changes: 4 additions & 17 deletions .github/workflows/CI-repltests.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-repltests

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-repltests.yml@GH-Actions
secrets: inherit

21 changes: 4 additions & 17 deletions .github/workflows/CI-selftests.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
name: CI-selftests

on:
push:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ "v2.x" ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:

workflow_run:
workflows: [ "CI-builds" ]
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

jobs:
cache:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

run:
needs: [ "cache" ]
uses: sysown/proxysql/.github/workflows/ci-selftests.yml@GH-Actions
secrets: inherit

Loading

0 comments on commit 4379553

Please sign in to comment.