ci(s3tests): add targeted proxy diagnostics

This commit is contained in:
overtrue
2026-08-22 18:53:25 +08:00
parent ed424e2712
commit cbeb191e99
+11
View File
@@ -90,6 +90,10 @@ on:
description: "Optional pytest -m expression" description: "Optional pytest -m expression"
required: false required: false
default: "" default: ""
testexpr:
description: "Optional pytest -k expression"
required: false
default: ""
schedule: schedule:
# Weekly full sweep (Sunday 02:00 UTC): full suite, run against BOTH the # Weekly full sweep (Sunday 02:00 UTC): full suite, run against BOTH the
# single-node and the 4-node distributed topologies (matrix below). # single-node and the 4-node distributed topologies (matrix below).
@@ -116,6 +120,7 @@ env:
XDIST: ${{ github.event.inputs.xdist || '4' }} XDIST: ${{ github.event.inputs.xdist || '4' }}
MAXFAIL: ${{ github.event.inputs.maxfail || '0' }} MAXFAIL: ${{ github.event.inputs.maxfail || '0' }}
MARKEXPR: ${{ github.event.inputs.markexpr || '' }} MARKEXPR: ${{ github.event.inputs.markexpr || '' }}
TESTEXPR: ${{ github.event.inputs.testexpr || '' }}
S3_SHARD_COUNT: ${{ github.event_name == 'schedule' && '4' || github.event.inputs.shard-count || '1' }} S3_SHARD_COUNT: ${{ github.event_name == 'schedule' && '4' || github.event.inputs.shard-count || '1' }}
TEST_TIMEOUT: "300" TEST_TIMEOUT: "300"
@@ -269,8 +274,13 @@ jobs:
EOF EOF
cat > haproxy.cfg <<'EOF' cat > haproxy.cfg <<'EOF'
global
log stdout format raw local0 info
defaults defaults
mode http mode http
log global
option httplog
timeout connect 5s timeout connect 5s
timeout client 30s timeout client 30s
timeout server 30s timeout server 30s
@@ -314,6 +324,7 @@ jobs:
XDIST="${XDIST}" \ XDIST="${XDIST}" \
MAXFAIL="${MAXFAIL}" \ MAXFAIL="${MAXFAIL}" \
MARKEXPR="${MARKEXPR}" \ MARKEXPR="${MARKEXPR}" \
TESTEXPR="${TESTEXPR}" \
./scripts/s3-tests/run.sh ./scripts/s3-tests/run.sh
- name: Publish compatibility report - name: Publish compatibility report