From: Stanislav Zidek Date: Fri, 1 Mar 2024 14:33:30 +0000 (+0100) Subject: interop tests: Fedora 39 config, simplify updates X-Git-Tag: openssl-3.3.0-alpha1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f38d9b74c918ce06567585844404dd8d7459f7e7;p=thirdparty%2Fopenssl.git interop tests: Fedora 39 config, simplify updates Imitating Fedora 39 configuration in openssl.cnf with SECLEVEL lowered to 0 in order to be able to run TLS 1.3 tests with TLS_AES_128_CCM_8_SHA256. In order to make updating smoother, check out specific tag rather than the branch. This way, "old" tests can be fetched until PR pointing to "new" tests is merged, so backwards-incompatible changes can be done when needed. Files specific for openssl upstream moved to separate directory. CLA: trivial Reviewed-by: Dmitry Belyavskiy Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/23747) --- diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml index d6a17f67900..20339b55445 100644 --- a/.github/workflows/interop-tests.yml +++ b/.github/workflows/interop-tests.yml @@ -31,11 +31,11 @@ jobs: - name: install interop tests run: | cd ${GITHUB_WORKSPACE} - git clone --branch=openssl --depth=1 https://gitlab.com/redhat-crypto/tests/interop.git + git clone --branch=openssl-v0.1 --depth=1 https://gitlab.com/redhat-crypto/tests/interop.git - name: build openssl as an rpm run: | mkdir -p /build/SPECS && cd /build && echo -e "%_topdir /build\n%_lto_cflags %{nil}" >~/.rpmmacros && rpmdev-setuptree - cd /build && cp ${GITHUB_WORKSPACE}/interop/openssl.spec SPECS/ && \ + cd /build && cp ${GITHUB_WORKSPACE}/interop/openssl/openssl.spec SPECS/ && \ cd SPECS/ && source ${GITHUB_WORKSPACE}/VERSION.dat && \ sed -i "s/^Version: .*\$/Version: $MAJOR.$MINOR.$PATCH/" openssl.spec && \ sed -i 's/^Release: .*$/Release: dev/' openssl.spec @@ -44,6 +44,7 @@ jobs: tar --transform "s/^__w\/openssl\/openssl/openssl-$MAJOR.$MINOR.$PATCH/" -czf /build/SOURCES/openssl-$MAJOR.$MINOR.$PATCH.tar.gz /__w/openssl/openssl/ rpmbuild -bb /build/SPECS/openssl.spec dnf install -y /build/RPMS/x86_64/openssl-* + cp ${GITHUB_WORKSPACE}/interop/openssl/openssl.cnf /etc/pki/tls/openssl.cnf - name: Run interop tests run: | cd interop