mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
No functional change, but we should keep this current. see 5f4ddb54b05ae0355b1f64c22263a6bc381410df see 5c923f1869881156bf3a25c9659655ae10f7dbd0 see b81a7f428bc0ae32df485c4c15637230eb60f459
67 lines
2.7 KiB
YAML
67 lines
2.7 KiB
YAML
#
|
|
# goodput,crosstraffic are not run on purpose, those tests are intended to bandwidth measurement, we currently do not want to use GitHub runners for that
|
|
#
|
|
|
|
name: QUIC Interop AWS-LC
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * 2"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
combined-build-and-run:
|
|
runs-on: ubuntu-24.04
|
|
if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Update Docker to the latest
|
|
uses: docker/setup-docker-action@v4
|
|
|
|
- name: Build Docker image
|
|
id: push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: https://github.com/haproxytech/haproxy-qns.git
|
|
platforms: linux/amd64
|
|
build-args: |
|
|
SSLLIB=AWS-LC
|
|
tags: local:aws-lc
|
|
|
|
- name: Install tshark
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get -y install tshark
|
|
|
|
- name: Run
|
|
run: |
|
|
git clone https://github.com/quic-interop/quic-interop-runner
|
|
cd quic-interop-runner
|
|
pip install -r requirements.txt --break-system-packages
|
|
python run.py -j result.json -l logs-chrome -r haproxy=local:aws-lc -t "http3" -c chrome -s haproxy
|
|
python run.py -j result.json -l logs-picoquic -r haproxy=local:aws-lc -t "handshake,transfer,longrtt,chacha20,multiplexing,retry,resumption,zerortt,http3,blackhole,keyupdate,ecn,amplificationlimit,handshakeloss,transferloss,handshakecorruption,transfercorruption,ipv6,v2" -c picoquic -s haproxy
|
|
python run.py -j result.json -l logs-quic-go -r haproxy=local:aws-lc -t "handshake,transfer,longrtt,chacha20,multiplexing,retry,resumption,zerortt,http3,blackhole,keyupdate,ecn,amplificationlimit,handshakeloss,transferloss,handshakecorruption,transfercorruption,ipv6,v2" -c quic-go -s haproxy
|
|
python run.py -j result.json -l logs-ngtcp2 -r haproxy=local:aws-lc -t "handshake,transfer,longrtt,chacha20,multiplexing,retry,resumption,zerortt,http3,blackhole,keyupdate,ecn,amplificationlimit,handshakeloss,transferloss,handshakecorruption,transfercorruption,ipv6,v2" -c ngtcp2 -s haproxy
|
|
|
|
- name: Delete succeeded logs
|
|
if: ${{ failure() }}
|
|
run: |
|
|
for client in chrome picoquic quic-go ngtcp2; do
|
|
pushd quic-interop-runner/logs-${client}/haproxy_${client}
|
|
cat ../../result.json | jq -r '.results[][] | select(.result=="succeeded") | .name' | xargs rm -rf
|
|
popd
|
|
done
|
|
|
|
- name: Logs upload
|
|
if: ${{ failure() }}
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: logs
|
|
path: quic-interop-runner/logs*/
|
|
retention-days: 6
|