]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add local nightly interop running
authorNeil Horman <nhorman@openssl.org>
Fri, 16 Aug 2024 19:42:50 +0000 (15:42 -0400)
committerNeil Horman <nhorman@openssl.org>
Tue, 10 Sep 2024 15:38:09 +0000 (11:38 -0400)
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25256)

.github/workflows/run_quic_interop.yml [new file with mode: 0644]

diff --git a/.github/workflows/run_quic_interop.yml b/.github/workflows/run_quic_interop.yml
new file mode 100644 (file)
index 0000000..1e51c36
--- /dev/null
@@ -0,0 +1,37 @@
+name: "Run openssl quic interop testing"
+
+on:
+  workflow_run:
+    workflows: ["Build openssl interop container from master"]
+    types: [completed]
+  workflow_dispatch:
+
+jobs:
+  run_quic_interop:
+    strategy:
+      matrix:
+        tests: [http3, transfer, handshake, retry, chacha20]
+        servers: [quic-go, ngtcp2, mvfst, quiche, nginx, msquic, haproxy]
+      fail-fast: false
+    runs-on: ubuntu-latest 
+    steps:
+      - uses: actions/checkout@v4
+        with:
+         repository: 'quic-interop/quic-interop-runner'
+         fetch-depth: 0
+      - name: Install dependencies
+        run: |
+          pip install -r requirements.txt
+          sudo add-apt-repository ppa:wireshark-dev/stable
+          sudo apt-get update
+          sudo apt-get install -y tshark
+      - name: Patch implementations file
+        run: |
+          head -n -2 implementations.json > ./implementations.tmp
+          echo -e "},\n\"openssl\": {\n\"image\": \"quay.io/openssl-ci/openssl-quic-interop\",\n\"url\": \"https://github.com/openssl/openssl\",\n\"role\": \"client\"\n}\n}" >> ./implementations.tmp
+          mv ./implementations.tmp implementations.json
+      - name: "run interop"
+        run: |
+          python3 ./run.py -c openssl -t ${{ matrix.tests }} -s ${{ matrix.servers }} --log-dir ./logs -d
+
+