refactor, use connector in matrix

fix/3p-ci-error-handling
Miro Stauder 2 years ago committed by GitHub
parent 7c304800f0
commit b2eddd020a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -6,9 +6,7 @@ on:
env:
TESTNAME: django-framework
# TESTDIST: debian11
# INFRADB: mysql80
# BASELINE: ${{ vars.BASELINE_3P_DJANGO_FRAMEWORK }}
TESTDIST: debian12
jobs:
test:
@ -16,14 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
testdist: [ 'debian11' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90', 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
infradb: [ 'mysql80', 'mysql81', 'mysql82', 'mariadb10', 'mariadb11' ]
connector: [ 'pymysql' ]
env:
TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BASELINE: ${{ vars[format('BASELINE_3P_DJANGO_FRAMEWORK_{0}', matrix.infradb)] }}
CONNECTOR: ${{ matrix.connector }}
BLDCACHE: ${{ github.sha }}_debian12_bin
steps:
@ -34,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_django-framework
# proxysql
@ -43,14 +40,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -102,7 +98,7 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_django-framework
BASELINE=$(gh variable -R sysown/proxysql list | grep -i BASELINE_3P_DJANGO_FRAMEWORK_${{ matrix.infradb }} | awk '{ print $2 }')
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_DJANGO_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep -oP 'FAILED \(failures=\d+' | tr '=' ' ' | awk '{ print $3 }')
if [[ -z ${FAILS} ]]; then
@ -120,8 +116,9 @@ jobs:
exit 1
else
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
if [[ ${{ github.ref_name }} == v2.x ]]; then
gh variable -R sysown/proxysql set BASELINE_3P_DJANGO_FRAMEWORK_${{ matrix.infradb }} -b "${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_DJANGO_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi
@ -129,7 +126,7 @@ jobs:
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-${{ matrix.infradb }}-logs-run#${{ github.run_number }}
name: ${{ github.workflow }}-${{ github.sha }}-${{ matrix.infradb }}-${{ matrix.connector }}-logs-run#${{ github.run_number }}
path: |
proxysql_3p_testing/test_django-framework/logs

@ -14,19 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian11' ]
# infradb: [ 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
# connector: [ 'pymysql', 'mysqldb', 'asyncmy', 'mariadbconnector' ]
infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90' ]
connector: [ 'mysql', 'mariadb' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_LARAVEL_FRAMEWORK_{0}_{1}', matrix.infradb, matrix.connector)] }}
steps:
@ -37,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_laravel-framework
# proxysql
@ -46,7 +40,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
@ -104,7 +97,7 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_laravel-framework
#BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_LARAVEL_FRAMEWORK_${{ matrix.infradb }}_${{ matrix.connector }} | awk '{ print $2 }')
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_LARAVEL_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep -oP '^There were \d+ failures:' | awk '{ print $3 }')
if [[ -z ${FAILS} ]]; then
@ -124,7 +117,7 @@ jobs:
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_LARAVEL_FRAMEWORK_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
gh variable -R ${{ github.repository }} set BASELINE_3P_LARAVEL_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi

@ -14,18 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian11' ]
infradb: [ 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90' ]
connector: [ 'mysql', 'mariadb' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_LARAVEL_FRAMEWORK_{0}_{1}', matrix.infradb, matrix.connector)] }}
steps:
@ -36,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_laravel-framework
# proxysql
@ -45,14 +40,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -94,7 +88,7 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_laravel-framework
#BASELINE=$(gh variable -R sysown/proxysql list | grep -i BASELINE_3P_LARAVEL_FRAMEWORK_${{ matrix.infradb }}_${{ matrix.connector }} | awk '{ print $2 }')
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_LARAVEL_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep -oP '^There were \d+ failures:' | awk '{ print $3 }')
if [[ -z ${FAILS} ]]; then
@ -112,8 +106,9 @@ jobs:
exit 1
else
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
if [[ ${{ github.ref_name }} == v2.x ]]; then
gh variable -R sysown/proxysql set BASELINE_3P_LARAVEL_FRAMEWORK_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_LARAVEL_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi

@ -14,19 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian11' ]
# infradb: [ 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
# connector: [ 'pymysql', 'mysqldb', 'asyncmy', 'mariadbconnector' ]
infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90' ]
connector: [ 'mysql', 'mariadb' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_LARAVEL_FRAMEWORK_{0}_{1}', matrix.infradb, matrix.connector)] }}
steps:
@ -37,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_laravel-framework
# proxysql
@ -46,14 +40,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -104,7 +97,7 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_laravel-framework
#BASELINE=$(gh variable -R sysown/proxysql list | grep -i BASELINE_3P_LARAVEL_FRAMEWORK_${{ matrix.infradb }}_${{ matrix.connector }} | awk '{ print $2 }')
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_LARAVEL_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep -oP '^There were \d+ failures:' | awk '{ print $3 }')
if [[ -z ${FAILS} ]]; then
@ -122,8 +115,9 @@ jobs:
exit 1
else
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
if [[ ${{ github.ref_name }} == v2.x ]]; then
gh variable -R sysown/proxysql set BASELINE_3P_LARAVEL_FRAMEWORK_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_LARAVEL_FRAMEWORK_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi

@ -6,9 +6,7 @@ on:
env:
TESTNAME: mariadb-connector-c
# TESTDIST: debian11
# INFRADB: mysql57
# BASELINE: ${{ vars.BASELINE_3P_MARIADB_CONNECTOR_C }}
TESTDIST: debian12
jobs:
test:
@ -16,14 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
testdist: [ 'debian11' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90', 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
infradb: [ 'mysql57', 'mysql80', 'mysql81', 'mysql82', 'mariadb10', 'mariadb11' ]
connector: [ 8.0 ]
env:
TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BASELINE: ${{ vars[format('BASELINE_3P_MARIADB_CONNECTOR_C_{0}', matrix.infradb)] }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
BLDCACHE: ${{ github.sha }}_debian12_bin
steps:
@ -34,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_mariadb-connector-c
proxysql
@ -43,14 +40,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -98,6 +94,7 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_mariadb-connector-c
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_MARIADB_CONNECTOR_C_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep 'FAIL' | grep ' / ' | awk '{ print $2 }')
if [[ -z ${FAILS} ]]; then
@ -110,8 +107,9 @@ jobs:
exit 1
else
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
if [[ ${{ github.ref_name }} == v2.x ]]; then
gh variable -R sysown/proxysql set BASELINE_3P_MARIADB_CONNECTOR_C_${{ matrix.infradb }} -b "${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_MARIADB_CONNECTOR_C_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi
@ -119,7 +117,7 @@ jobs:
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-${{ matrix.infradb }}-logs-run#${{ github.run_number }}
name: ${{ github.workflow }}-${{ github.sha }}-${{ matrix.infradb }}-${{ matrix.connector }}-logs-run#${{ github.run_number }}
path: |
proxysql_3p_testing/test_mariadb-connector-c/logs

@ -7,8 +7,6 @@ on:
env:
TESTNAME: mysql-connector-j
TESTDIST: debian12
# INFRADB: mysql57
# BASELINE: ${{ vars.BASELINE_3P_MYSQL_CONNECTOR_J }}
jobs:
test:
@ -16,17 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian11' ]
infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90', 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90', 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
infradb: [ 'mysql57', 'mysql80', 'mysql81', 'mysql82', 'mariadb10', 'mariadb11' ]
connector: [ '8.0.33' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_MYSQL_CONNECTOR_J_{0}_{1}', matrix.infradb, matrix.connector)] }}
steps:
@ -37,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_mysql-connector-j
proxysql
@ -46,7 +40,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
@ -93,6 +86,8 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_mysql-connector-j
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_MYSQL_CONNECTOR_J_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep 'FAIL' | grep ' / ' | awk '{ print $2 }')
if [[ -z ${FAILS} ]]; then
echo "Baseline '${BASELINE:-10000}' WARN: no results found"
@ -105,7 +100,7 @@ jobs:
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_MYSQL_CONNECTOR_J_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
gh variable -R ${{ github.repository }} set BASELINE_3P_MYSQL_CONNECTOR_J_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi

@ -6,9 +6,7 @@ on:
env:
TESTNAME: php-pdo-mysql
# TESTDIST: debian11
# INFRADB: mysql57
# BASELINE: ${{ vars.BASELINE_3P_PHP_PDO_MYSQL }}
TESTDIST: debian12
jobs:
test:
@ -16,15 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
testdist: [ 'debian11' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql81', 'mysql82', 'mariadb10', 'mariadb11' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90', 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
infradb: [ 'mysql57' ]
connector: [ 'mysql', 'mariadb' ]
env:
TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
# BLDCACHE: CI-builds_${{ github.sha }}_${{ matrix.testdist }}_bin
BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
BASELINE: ${{ vars[format('BASELINE_3P_PHP_PDO_MYSQL_{0}', matrix.infradb)] }}
CONNECTOR: ${{ matrix.connector }}
BLDCACHE: ${{ github.sha }}_debian12_bin
steps:
@ -35,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
test_php-pdo-mysql
proxysql
@ -44,14 +40,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -91,6 +86,8 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_php-pdo-mysql
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_PHP_PDO_MYSQL_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep 'Tests failed :' | awk '{ print $4 }')
if [[ -z ${FAILS} ]]; then
echo "Baseline '${BASELINE:-10000}' WARN: no results found"
@ -101,8 +98,9 @@ jobs:
exit 1
else
echo "Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
if [[ ${{ github.ref_name }} == v2.x ]]; then
gh variable -R sysown/proxysql set BASELINE_3P_PHP_PDO_MYSQL_${{ matrix.infradb }} -b "${FAILS}"
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
gh variable -R ${{ github.repository }} set BASELINE_3P_PHP_PDO_MYSQL_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi
@ -110,7 +108,7 @@ jobs:
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
name: ${{ github.workflow }}-${{ github.sha }}-${{ matrix.infradb }}-${{ matrix.connector }}logs-run#${{ github.run_number }}
path: |
proxysql_3p_testing/test_php-pdo-mysql/logs

@ -6,7 +6,7 @@ on:
env:
TESTNAME: sqlalchemy
TESTDIST: 'debian12'
TESTDIST: debian12
jobs:
test:
@ -14,18 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian12' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql81', 'mysql82', 'mysql83', 'mysql84', 'mysql90', 'mariadb10', 'mariadb11' ]
infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90' ]
connector: [ 'pymysql', 'mysqldb', 'asyncmy', 'mariadbconnector' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ env.TESTDIST }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_SQLALCHEMY_{0}_{1}', matrix.infradb, matrix.connector)] }}
outputs:
summary: ${{ steps.check_baseline.outputs.summary }}
@ -38,7 +33,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
infra-docker-hoster
test_sqlalchemy
@ -48,7 +43,6 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
@ -95,6 +89,8 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_sqlalchemy
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_SQLALCHEMY_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
GHUSER="$(id -u):$(id -g)"
sudo chown -R ${GHUSER} ./logs
FAILS=$(cat logs/*run-tests.log | grep -oP '^=+ \d+ failed, ' | awk '{ print $2 }')
@ -113,7 +109,7 @@ jobs:
#MAIN=$(gh repo view ${{ github.repository }} --json defaultBranchRef --jq .defaultBranchRef.name)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Setting new BASELINE: ${FAILS} for '${MAIN}'"
gh variable -R ${{ github.repository }} set BASELINE_3P_SQLALCHEMY_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
gh variable -R ${{ github.repository }} set BASELINE_3P_SQLALCHEMY_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi
SUM="{'STATUS':'${STATUS}','INFRADB':'${INFRADB}','CONNECTOR':'${CONNECTOR}','BASELINE':${BASELINE:-10000},'FAILS':${FAILS:-1}}"

@ -6,7 +6,7 @@ on:
env:
TESTNAME: sqlalchemy
TESTDIST: 'debian12'
TESTDIST: debian12
jobs:
test:
@ -14,19 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian12' ]
# # https://mariadb.com/kb/en/mariadb-server-release-dates/
infradb: [ 'mariadb10.5', 'mariadb10.6', 'mariadb10.11', 'mariadb11.2', 'mariadb11.4', 'mariadb11.5' ]
# infradb: [ 'mariadb10', 'mariadb11' ]
connector: [ 'pymysql', 'mysqldb', 'asyncmy', 'mariadbconnector' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ env.TESTDIST }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_SQLALCHEMY_{0}_{1}', matrix.infradb, matrix.connector)] }}
steps:
@ -37,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
infra-docker-hoster
test_sqlalchemy
@ -47,14 +41,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -97,7 +90,8 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_sqlalchemy
cat logs/*run-tests.log | grep -oP '^=+ \d+ failed, '
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_SQLALCHEMY_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep -oP '^=+ \d+ failed, ' | awk '{ print $2 }')
if [[ -z ${FAILS} ]]; then
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Baseline '${BASELINE}' WARN: no results found"
@ -112,11 +106,11 @@ jobs:
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}" >> $GITHUB_STEP_SUMMARY
#MAIN=$(git -C ./proxysql remote show origin | grep -Po '(?<=HEAD branch: ).*')
#MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
MAIN=$(gh repo view ${{ github.repository }} --json defaultBranchRef --jq .defaultBranchRef.name)
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
#MAIN=$(gh repo view ${{ github.repository }} --json defaultBranchRef --jq .defaultBranchRef.name)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Setting new BASELINE: ${FAILS} for '${MAIN}'"
gh variable -R ${{ github.repository }} set BASELINE_3P_SQLALCHEMY_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
gh variable -R ${{ github.repository }} set BASELINE_3P_SQLALCHEMY_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi

@ -6,7 +6,7 @@ on:
env:
TESTNAME: sqlalchemy
TESTDIST: 'debian12'
TESTDIST: debian12
jobs:
test:
@ -14,18 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# testdist: [ 'debian12' ]
# infradb: [ 'mysql57', 'mysql80', 'mysql81', 'mysql82', 'mysql83', 'mysql84', 'mysql90', 'mariadb10', 'mariadb11' ]
infradb: [ 'mysql57', 'mysql80', 'mysql84', 'mysql90' ]
connector: [ 'pymysql', 'mysqldb', 'asyncmy', 'mariadbconnector' ]
env:
# TESTDIST: ${{ matrix.testdist }}
INFRADB: ${{ matrix.infradb }}
CONNECTOR: ${{ matrix.connector }}
# BLDCACHE: ${{ github.sha }}_${{ matrix.testdist }}_bin
# BLDCACHE: ${{ github.sha }}_${{ env.TESTDIST }}_bin
BLDCACHE: ${{ github.sha }}_debian12_bin
BASELINE: ${{ vars[format('BASELINE_3P_SQLALCHEMY_{0}_{1}', matrix.infradb, matrix.connector)] }}
steps:
@ -36,7 +31,7 @@ jobs:
ref: 'main'
fetch-depth: 1
path: 'proxysql_3p_testing'
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.gh_token }}
sparse-checkout: |
infra-docker-hoster
test_sqlalchemy
@ -46,14 +41,13 @@ jobs:
env:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -92,7 +86,8 @@ jobs:
GH_TOKEN: ${{ secrets.gh_token }}
run: |
cd proxysql_3p_testing/test_sqlalchemy
cat logs/*run-tests.log | grep -oP '^=+ \d+ failed, '
BASELINE=$(gh variable -R ${{ github.repository }} list | grep -i BASELINE_3P_SQLALCHEMY_${INFRADB/./}_${CONNECTOR/./} | awk '{ print $2 }')
FAILS=$(cat logs/*run-tests.log | grep -oP '^=+ \d+ failed, ' | awk '{ print $2 }')
if [[ -z ${FAILS} ]]; then
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Baseline '${BASELINE}' WARN: no results found"
@ -107,11 +102,11 @@ jobs:
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}"
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Baseline '${BASELINE:-10000}' PASS: FAILS = ${FAILS}" >> $GITHUB_STEP_SUMMARY
#MAIN=$(git -C ./proxysql remote show origin | grep -Po '(?<=HEAD branch: ).*')
#MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
MAIN=$(gh repo view ${{ github.repository }} --json defaultBranchRef --jq .defaultBranchRef.name)
MAIN=$(curl -s https://api.github.com/repos/${{ github.repository }} | jq --raw-output .default_branch)
#MAIN=$(gh repo view ${{ github.repository }} --json defaultBranchRef --jq .defaultBranchRef.name)
if [[ ${MAIN} == ${{ github.ref_name }} ]]; then
echo "INFRADB: '${INFRADB}' CONNECTOR: '${CONNECTOR}' Setting new BASELINE: ${FAILS} for '${MAIN}'"
gh variable -R ${{ github.repository }} set BASELINE_3P_SQLALCHEMY_${{ matrix.infradb }}_${{ matrix.connector }} -b "${FAILS}"
gh variable -R ${{ github.repository }} set BASELINE_3P_SQLALCHEMY_${INFRADB/./}_${CONNECTOR/./} -b "${FAILS}"
fi
fi

@ -52,11 +52,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -22,16 +22,16 @@ jobs:
# run: |
# # lock fast
# echo "Setting lock '${LOCK^^}' to '${{ github.workflow }}'"
# gh variable -R sysown/proxysql list | grep -i ${LOCK} >/dev/null || gh variable -R sysown/proxysql set ${LOCK} -b '${{ github.workflow }}' >/dev/null
# gh variable -R ${{ github.repository }} list | grep -i ${LOCK} >/dev/null || gh variable -R ${{ github.repository }} set ${LOCK} -b '${{ github.workflow }}' >/dev/null
#
# # wait for unlock
# sleep 5
# PROBE="$(gh variable -R sysown/proxysql list | grep -i ${LOCK} || echo '')"
# PROBE="$(gh variable -R ${{ github.repository }} list | grep -i ${LOCK} || echo '')"
# if [[ ! ${PROBE} =~ ${{ github.workflow }} ]]; then
# while [[ ! -z ${PROBE} ]]; do
# echo "Wating for unlock '${LOCK^^}' by '$(echo ${PROBE} | awk '{ print $2 }')' ..."
# sleep 15
# PROBE="$(gh variable -R sysown/proxysql list | grep -i ${LOCK} || echo '')"
# PROBE="$(gh variable -R ${{ github.repository }} list | grep -i ${LOCK} || echo '')"
# done
# else
# echo "Aquired lock '${LOCK^^}' by '${{ github.workflow }}'"
@ -89,7 +89,7 @@ jobs:
if: ${{ steps.cache-check.outputs.cache-hit != 'true' }}
uses: actions/checkout@v4
with:
# repository: 'sysown/proxysql'
# repository: '${{ github.repository }}'
# ref: 'v2.x'
fetch-depth: 0
path: 'proxysql'
@ -217,10 +217,10 @@ jobs:
# - name: Concurency unlock
# run: |
# # delete lock
# PROBE="$(gh variable -R sysown/proxysql list | grep -i ${LOCK} || echo '')"
# PROBE="$(gh variable -R ${{ github.repository }} list | grep -i ${LOCK} || echo '')"
# if [[ ${PROBE} =~ ${{ github.workflow }} ]]; then
# echo "Releasing lock '${LOCK^^}' by '$(echo ${PROBE} | awk '{ print $2 }')'"
# gh variable -R sysown/proxysql delete ${LOCK} || true
# gh variable -R ${{ github.repository }} delete ${LOCK} || true
# elif [[ ! -z ${PROBE} ]]; then
# echo "Lock raced '${LOCK^^}' by '$(echo ${PROBE} | awk '{ print $2 }')'"
# # exit -1

@ -48,11 +48,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"
@ -81,9 +81,9 @@ jobs:
# env:
# GH_TOKEN: ${{ github.token }}
# run: |
# export VERS=$(git ls-remote https://github.com/sysown/proxysql.git "refs/tags/*" | grep -v 'refs/tags/v' | sed -e 's|.*/||g' | tail -2 | head -1)
# export HASH=$(gh api repos/sysown/proxysql/git/refs/heads/v2.x | jq '.object.sha' | cut -c2-8)
# export CMTS=$(gh api repos/sysown/proxysql/compare/${VERS}...v2.x | jq '.ahead_by')
# export VERS=$(git ls-remote https://github.com/${{ github.repository }}.git "refs/tags/*" | grep -v 'refs/tags/v' | sed -e 's|.*/||g' | tail -2 | head -1)
# export HASH=$(gh api repos/${{ github.repository }}/git/refs/heads/v2.x | jq '.object.sha' | cut -c2-8)
# export CMTS=$(gh api repos/${{ github.repository }}/compare/${VERS}...v2.x | jq '.ahead_by')
# echo "git descibe : ${VERS}-${CMTS}-g${HASH}"
# echo "GIT_VERSION=${VERS}-${CMTS}-g${HASH}" >> $GITHUB_ENV

@ -25,7 +25,7 @@ jobs:
Status : **Build in progress**
[![CI-Package-Build](https://github.com/sysown/proxysql/actions/workflows/CI-package-build.yml/badge.svg)](https://github.com/sysown/proxysql/actions/workflows/CI-package-build.yml)
[![CI-Package-Build](https://github.com/${{ github.repository }}/actions/workflows/CI-package-build.yml/badge.svg)](https://github.com/${{ github.repository }}/actions/workflows/CI-package-build.yml)
EOF
@ -88,7 +88,7 @@ jobs:
Status : **Build in progress**
[![CI-Package-Build](https://github.com/sysown/proxysql/actions/workflows/CI-package-build.yml/badge.svg)](https://github.com/sysown/proxysql/actions/workflows/CI-package-build.yml)
[![CI-Package-Build](https://github.com/${{ github.repository }}/actions/workflows/CI-package-build.yml/badge.svg)](https://github.com/${{ github.repository }}/actions/workflows/CI-package-build.yml)
EOF
fi
@ -148,7 +148,7 @@ jobs:
Status : **Build is finished**
[![CI-Package-Build](https://github.com/sysown/proxysql/actions/workflows/CI-package-build.yml/badge.svg)](https://github.com/sysown/proxysql/actions/workflows/CI-package-build.yml)
[![CI-Package-Build](https://github.com/${{ github.repository }}/actions/workflows/CI-package-build.yml/badge.svg)](https://github.com/${{ github.repository }}/actions/workflows/CI-package-build.yml)
EOF

@ -33,11 +33,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -28,11 +28,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -33,11 +33,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -33,11 +33,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -30,11 +30,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -33,11 +33,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

@ -33,11 +33,11 @@ jobs:
echo "BASELINE: '${BASELINE}'"
echo "Wating for cache '${BLDCACHE}' ..."
sleep $(( $RANDOM / 1024 ))
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
while [[ -z ${PROBE} ]]; do
echo "Wating for cache '${BLDCACHE}' ..."
sleep 30
PROBE="$(gh cache list --limit 300 --repo sysown/proxysql | grep -i ${BLDCACHE} || echo '')"
PROBE="$(gh cache list --limit 300 --repo ${{ github.repository }} | grep -i ${BLDCACHE} || echo '')"
done
echo "Cache available '${BLDCACHE}'"

Loading…
Cancel
Save