-
Notifications
You must be signed in to change notification settings - Fork 986
47 lines (42 loc) · 2.03 KB
/
CI-3p-laravel-framework.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI-3p-laravel-framework
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'
on:
workflow_dispatch:
inputs:
testtree:
description: 'proxysql_3p_testing treeish/branch/tag/hash'
default: main
type: string
workflow_run:
workflows: [ CI-trigger ]
types: [ completed ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true
jobs:
run-mysql:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-laravel-framework.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_LARAVEL_FRAMEWORK_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_LARAVEL_FRAMEWORK_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-laravel-framework.yml@GH-Actions
secrets: inherit
with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_LARAVEL_FRAMEWORK_infradb_mariadb }}
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) &&
! 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:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_LARAVEL_FRAMEWORK_infradb_pgsql }}
connector: ${{ vars.MATRIX_3P_LARAVEL_FRAMEWORK_connector_pgsql }}