diff options
author | Stanislav Zidek <szidek@redhat.com> | 2024-03-01 15:33:30 +0100 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-03-07 07:52:43 -0500 |
commit | f38d9b74c918ce06567585844404dd8d7459f7e7 (patch) | |
tree | 1f3ca6cbeae1d8eb641ff57902006f38d88daadf /.github | |
parent | 6134e8e6ddc25c403fd1fab3f510a850a8843e62 (diff) |
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 <beldmit@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23747)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/interop-tests.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml index d6a17f6790..20339b5544 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 |