]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Use Jq to add openssl to interop test harness
authorNeil Horman <nhorman@openssl.org>
Mon, 9 Sep 2024 12:02:13 +0000 (08:02 -0400)
committerNeil Horman <nhorman@openssl.org>
Tue, 10 Sep 2024 15:38:15 +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

index 1e51c365034cca33bb3c3b8bbd4a6d046c26d0f6..202b2c29a852b2efc2faa3e440a4ed1a785188d0 100644 (file)
@@ -28,7 +28,10 @@ jobs:
       - 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
+          jq '.openssl = { image: "quay.io/openssl-ci/openssl-quic-interop"
+                         , url: "https://github.com/openssl/openssl"
+                         , role: "client"
+                         }' ./implementations.json > ./implementations.tmp
           mv ./implementations.tmp implementations.json
       - name: "run interop"
         run: |