]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
interoperability testing with openssl
authorStanislav Zidek <szidek@redhat.com>
Thu, 11 Feb 2021 12:57:27 +0000 (13:57 +0100)
committerStanislav Zidek <szidek@redhat.com>
Thu, 4 Aug 2022 10:13:50 +0000 (12:13 +0200)
GitLab CI extended to run 2way interoperability tests with openssl on
Fedora. Also prepared for adding further interoperability tests once
they are in better shape.

Signed-off-by: Stanislav Zidek <szidek@redhat.com>
.gitlab-ci.yml

index 38f551ef6c695a47297ffaf98c3ce539cf1b5e0c..bca9a3230fde2d5a44f7efabcd20143342a12b30 100644 (file)
@@ -366,6 +366,38 @@ fedora-minimal/test:
   needs:
     - fedora-minimal/build
 
+fedora-interop/test:
+  extends:
+    - .test
+    - .fedora
+  dependencies:
+    - fedora-minimal/build
+  needs:
+    - fedora-minimal/build
+  parallel:
+    matrix:
+      - COMPONENT:
+          - openssl
+          #- nss # currently fails on Fedora due to NSS bug
+        TYPE:
+          - 2way
+          #- 3way # these tests take too long, plan is to split them
+          #- 4way
+          #- 5way
+          #- p256
+          #- p384
+          #- p521
+          #- rsae
+          #- rsapss
+  allow_failure: true
+  script:
+    - git clone --depth=1 https://gitlab.com/redhat-crypto/tests/interop.git
+    - cd interop/
+    - echo "Tests to run:"
+    - tmt run plans -n interop tests -f "tag:interop-gnutls" -f "tag:interop-$TYPE" -f "tag:interop-$COMPONENT"  discover -v
+    - echo "Run the tests:"
+    - tmt run -a plans -n interop tests -f "tag:interop-gnutls" -f "tag:interop-$TYPE" -f "tag:interop-$COMPONENT" provision -h local execute -h tmt --interactive
+
 fedora-SSL-3.0/build:
   extends:
     - .build