Use Jq to add openssl to interop test harness

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25256)
This commit is contained in:
Neil Horman 2024-09-09 08:02:13 -04:00
parent d2157bbb83
commit d677482b7e

View 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: |