mirror of https://github.com/sysown/proxysql
Merge pull request #5759 from sysown/ci-mariadb10-galera-GH-Actions
feat(ci): add reusable workflows for CI-mariadb10-galera-g[1-9] test groupsfix/galera-g5-cluster-start
commit
57bda737c1
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g1
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g1"
|
||||
export TAP_GROUP="mariadb10-galera-g1"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g1 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g1"
|
||||
export TAP_GROUP="mariadb10-galera-g1"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g1"
|
||||
export TAP_GROUP="mariadb10-galera-g1"
|
||||
docker logs proxysql.ci-mariadb10-galera-g1 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g2
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g2"
|
||||
export TAP_GROUP="mariadb10-galera-g2"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g2 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g2"
|
||||
export TAP_GROUP="mariadb10-galera-g2"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g2"
|
||||
export TAP_GROUP="mariadb10-galera-g2"
|
||||
docker logs proxysql.ci-mariadb10-galera-g2 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g3
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g3"
|
||||
export TAP_GROUP="mariadb10-galera-g3"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g3 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g3"
|
||||
export TAP_GROUP="mariadb10-galera-g3"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g3"
|
||||
export TAP_GROUP="mariadb10-galera-g3"
|
||||
docker logs proxysql.ci-mariadb10-galera-g3 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g4
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g4"
|
||||
export TAP_GROUP="mariadb10-galera-g4"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g4 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g4"
|
||||
export TAP_GROUP="mariadb10-galera-g4"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g4"
|
||||
export TAP_GROUP="mariadb10-galera-g4"
|
||||
docker logs proxysql.ci-mariadb10-galera-g4 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g5
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g5"
|
||||
export TAP_GROUP="mariadb10-galera-g5"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g5 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g5"
|
||||
export TAP_GROUP="mariadb10-galera-g5"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g5"
|
||||
export TAP_GROUP="mariadb10-galera-g5"
|
||||
docker logs proxysql.ci-mariadb10-galera-g5 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g6
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g6"
|
||||
export TAP_GROUP="mariadb10-galera-g6"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g6 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g6"
|
||||
export TAP_GROUP="mariadb10-galera-g6"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g6"
|
||||
export TAP_GROUP="mariadb10-galera-g6"
|
||||
docker logs proxysql.ci-mariadb10-galera-g6 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g7
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g7"
|
||||
export TAP_GROUP="mariadb10-galera-g7"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g7 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g7"
|
||||
export TAP_GROUP="mariadb10-galera-g7"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g7"
|
||||
export TAP_GROUP="mariadb10-galera-g7"
|
||||
docker logs proxysql.ci-mariadb10-galera-g7 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g8
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g8"
|
||||
export TAP_GROUP="mariadb10-galera-g8"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g8 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g8"
|
||||
export TAP_GROUP="mariadb10-galera-g8"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g8"
|
||||
export TAP_GROUP="mariadb10-galera-g8"
|
||||
docker logs proxysql.ci-mariadb10-galera-g8 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
@ -0,0 +1,131 @@
|
||||
name: CI-mariadb10-galera-g9
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
trigger:
|
||||
type: string
|
||||
|
||||
env:
|
||||
SHA: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
infradb: [ 'mariadb10' ]
|
||||
env:
|
||||
BLDCACHE: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_src
|
||||
MATRIX: '(${{ matrix.infradb }})'
|
||||
|
||||
steps:
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
id: checks
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}'
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
status: 'in_progress'
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ github.repository }}
|
||||
ref: ${{ env.SHA }}
|
||||
path: 'proxysql'
|
||||
sparse-checkout: |
|
||||
test/infra
|
||||
test/tap/groups
|
||||
test/scripts
|
||||
|
||||
- name: Cache restore src
|
||||
id: cache-src
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ env.BLDCACHE }}
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/src/
|
||||
|
||||
- name: Cache restore test
|
||||
id: cache-test
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}_ubuntu22-tap_test
|
||||
fail-on-cache-miss: true
|
||||
path: |
|
||||
proxysql/test/
|
||||
|
||||
- name: Verify binary
|
||||
run: |
|
||||
chmod +x proxysql/src/proxysql
|
||||
file proxysql/src/proxysql
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Pull CI base image
|
||||
run: |
|
||||
docker pull ghcr.io/sysown/proxysql-ci-base:latest
|
||||
docker tag ghcr.io/sysown/proxysql-ci-base:latest proxysql-ci-base:latest
|
||||
|
||||
- name: Start infrastructure
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g9"
|
||||
export TAP_GROUP="mariadb10-galera-g9"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/ensure-infras.bash
|
||||
|
||||
- name: Run mariadb10-galera-g9 tests
|
||||
run: |
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g9"
|
||||
export TAP_GROUP="mariadb10-galera-g9"
|
||||
export SKIP_CLUSTER_START=1
|
||||
test/infra/control/run-tests-isolated.bash
|
||||
|
||||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
set +e
|
||||
cd proxysql
|
||||
export INFRA_ID="ci-mariadb10-galera-g9"
|
||||
export TAP_GROUP="mariadb10-galera-g9"
|
||||
docker logs proxysql.ci-mariadb10-galera-g9 2>&1 | tail -50 || true
|
||||
test/infra/control/stop-proxysql-isolated.bash
|
||||
test/infra/control/destroy-infras.bash
|
||||
|
||||
- name: Fix artifact permissions
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
run: |
|
||||
sudo chmod -R a+rX proxysql/ci_*_logs/ 2>/dev/null || true
|
||||
|
||||
- name: Archive artifacts logs
|
||||
if: ${{ failure() && !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ github.workflow }}-${{ env.SHA }}-logs-run#${{ github.run_number }}
|
||||
path: |
|
||||
proxysql/ci_*_logs/
|
||||
|
||||
- uses: LouisBrunner/checks-action@v2.0.0
|
||||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_id: ${{ steps.checks.outputs.check_id }}
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ env.SHA }}
|
||||
conclusion: ${{ job.status }}
|
||||
details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
||||
Loading…
Reference in new issue