mirror of
https://github.com/rustfs/rustfs.git
synced 2026-11-30 20:57:35 +00:00
test(gateway): verify audit and metrics against the released server
This commit is contained in:
@@ -56,6 +56,7 @@ on:
|
||||
- "scripts/s3-tests/reference_parity.py"
|
||||
- "scripts/junit_diff.py"
|
||||
- "crates/e2e_test/src/dual_stack_differential/**"
|
||||
- "crates/gateway-adapter/tests/fixtures/observability-contract.json"
|
||||
schedule:
|
||||
- cron: "37 1 * * *"
|
||||
workflow_dispatch:
|
||||
@@ -389,6 +390,22 @@ jobs:
|
||||
echo "::error::the dual-stack differential failed; see the job summary for every (op, field, a, b)"
|
||||
exit 1
|
||||
|
||||
- name: Verify the observability contract on the pinned reference and candidate
|
||||
if: ${{ !cancelled() && (steps.differential.outcome == 'success' || steps.differential.outcome == 'failure') }}
|
||||
env:
|
||||
RUSTFS_E2E_REFERENCE_BINARY: ${{ steps.reference.outputs.path }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
export no_proxy="$NO_PROXY"
|
||||
test -x "$RUSTFS_E2E_REFERENCE_BINARY"
|
||||
failed=0
|
||||
for side in reference current; do
|
||||
name="dual_stack_differential::observability_contract::${side}_observability_contract"
|
||||
python3 scripts/e2e_binary.py run --features e2e-test-hooks -- \
|
||||
cargo nextest run --locked -p e2e_test --lib --no-tests fail -E "test(=$name)" || failed=1
|
||||
done
|
||||
exit "$failed"
|
||||
|
||||
compare:
|
||||
name: Compare targets
|
||||
needs: [ plan, s3tests ]
|
||||
|
||||
Reference in New Issue
Block a user