Jakub Jelen
7f40974802
ci: Add CentOS 8 as there are no other OpenSSL 1.1.1 platforms
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-04-14 19:11:24 +02:00
Jakub Jelen
f6f1bfaa4e
ci: Suse is already on OpenSSL 3.0
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-04-14 19:11:24 +02:00
Jakub Jelen
91279e0aac
ci: Actually build the package with x86 cross-compiler
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-04-14 19:11:24 +02:00
Andreas Schneider
0c6995b149
gitlab-ci: We have cmake in Windows runners in the default path now
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-03-21 14:41:59 +01:00
Norbert Pocs
45a8d1dbb1
gitlab-ci.yml: Add documentation coverage check
...
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Sahana Prasad <sahana@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-03-15 10:21:31 +01:00
Andreas Schneider
0b826c986c
gitlab-ci: Don't install CMake
...
The choco server is somtimes ratelimited. Avoid running into issues
and use cmake already installed on the runner.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-03-14 07:14:49 +01:00
Andreas Schneider
e7b8de1363
gitlab-ci: Use CentOS9 for Coverity builds
...
The Fedora 34 container is not available anymore. And we need gcc 11
as scan.coverity.com is on version 2022.6 supporting only gcc 11.
See
https://dev.sig-docs.synopsys.com/polaris/topics/r_coverity-compatible-platforms_2022.6.html
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-03-01 14:40:05 +01:00
Jakub Jelen
2539d72b7c
Add support for PKCS#11 provider in OpenSSL 3.0
...
The engine API in OpenSSL 3.0 is deprecated so we are in the progress of working
on a PKCS#11 provider for OpenSSL. This commit introduces a conditional build
with the pkcs11-provider support (instead of engines) with all the changes
required for the provider to work with existing code and tests.
The CI modification is only temporary before we will have the real package in
Fedora or somewhere to use.
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-03-01 11:35:28 +01:00
Mohammad Shehar Yaar Tausif
a3a13eb3a8
Remove support for DSA Keys
...
Solving issue #110 . The original work is at !231
Some changes were needed because the newly added features in master through time
Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com >
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2023-02-02 14:49:06 +01:00
Jakub Jelen
6d34718f89
ci: Update OpenSSL versions in the CI target names
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-01-25 16:53:19 +01:00
Jakub Jelen
31073780d1
ci: Drop fedora/fips combination as it looks broken
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-01-25 16:53:19 +01:00
Jakub Jelen
96ee1c62dd
Enable code coverage also for client testing
...
This adds the priv_wrapper options to skip the OpenSSH server sandbox, which
prevented in the past writing any debug information or coverage files causing
SIGSYS/crashes.
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Norbert Pocs <npocs@redhat.com >
2023-01-17 14:33:50 +01:00
Norbert Pocs
67762bd68b
.gitlab-ci.yml: Remove c7s CI runner
...
The c7s uses not longer supported openssl version which will make
the CI fail when we remove the supported of the old openssl versions.
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-10-31 16:33:44 +01:00
Jakub Jelen
769cb46ac8
ci: Introduce spellchecker
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
2022-10-12 13:50:41 +02:00
Norbert Pocs
e29ffd78b3
.gitlab-ci.yml: Run pkcs11 tests on c9s
...
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-10-12 12:08:37 +02:00
Norbert Pocs
7757ebf7a5
.gitlab-ci.yml: Add c9s fips runner
...
Let's check tests in fips mode with an up to date system too as we already
found some issues running the tests there.
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-10-12 12:08:35 +02:00
Jakub Jelen
e5af9524e3
ci: Add apline linux target
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-08-30 15:39:49 +02:00
Jakub Jelen
25a678190c
Implement code coverage collection
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-08-25 14:53:58 +02:00
Norbert Pocs
4d96c667bc
gitlab-ci: Enable environment variable in centos9
...
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-08-03 19:42:27 +02:00
Norbert Pocs
84df28ee31
.gitlab-ci: Add centos9 image
...
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-07-28 15:55:58 +02:00
Norbert Pocs
224298a4d0
.gitlab-ci: Remove remaining rawhide lines
...
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-07-28 15:55:58 +02:00
Andreas Schneider
a0c0efaf2e
gitlab-ci: Drop the rawhide runner
...
Fedora 36 is using OpenSSL 3.0 now.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-07-08 12:57:51 +02:00
Norbert Pocs
b80ad81d8e
.gitlab-ci: Add fedora rawhide to gitlab CI
...
Rawhide has openssl 3.0 support which can test the new changes.
Signed-off-by: Norbert Pocs <npocs@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-07-07 08:39:39 +02:00
Jakub Jelen
2abd4bfb6c
.gitlab-ci: Fix typo in the cmake option name
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2022-07-04 10:11:57 +02:00
Andreas Schneider
1be117b351
gitlab-ci: Remove 'allow_failure' for visualstudio
...
This has been fixed already.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-06-22 12:28:28 +02:00
Jakub Jelen
bdeb7418c5
ci: Build benchmarks to catch more errors
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
2022-06-20 12:03:11 +02:00
Marco Fortina
88bc364c05
examples: Add 'ssh X11 client' sample
...
Signed-off-by: Marco Fortina <marco.fortina@atlantica.it >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-05-02 20:06:22 +02:00
Andreas Schneider
2756eae1c7
gitlab-ci: Use coverity build env
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-01-28 09:12:12 +01:00
Andreas Schneider
afcb85bfda
gitlab-ci: Sort build env variables
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2022-01-28 09:11:11 +01:00
Andreas Schneider
fd9fda67f9
gitlab-ci: Fix indentation and complaints by yamllint
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2021-08-17 14:04:12 +02:00
Jakub Jelen
6daa95f9c1
.gitlab-ci: Allow failure of windows runners as they are broken
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2021-08-11 19:33:12 +02:00
Jakub Jelen
592d256a0b
Enable freebsd runner also for jjelen
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2021-06-07 11:34:32 +02:00
Andreas Schneider
ae44d846b8
gitlab-ci: Enable new freebsd runner
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2021-05-27 13:25:02 +02:00
Andreas Schneider
7657994aed
gitlab-ci: Use shared Windows runners from gitlab
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2021-05-27 11:59:38 +02:00
Andreas Schneider
7ab6194a82
gitlab-ci: Disable the freebsd runner
...
We need a new one. Disable till set up and registered
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2021-05-26 17:43:49 +02:00
Jakub Jelen
d5099dec54
gitlab-ci: Run basic test with ninja
...
v1: Move to the test stage
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2021-03-30 14:43:04 +02:00
DDoSolitary
5904f19592
gitlab-ci: fix typo ADDTIONAL
...
Signed-off-by: DDoSolitary <DDoSolitary@gmail.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2021-03-26 16:18:34 +08:00
Andreas Schneider
4708fc3b10
gitlab-ci: Fix packaging artifacts for Coverity runner
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-12-09 18:03:23 +01:00
Sahana Prasad
b052f665c9
ConfigureChecks.cmake: Disable HAVE_DSA by default (when mbedTLS is not enabled)
...
Ensure that it is not possible to enable it back with mbedTLS
Signed-off-by: Sahana Prasad <sahana@redhat.com >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2020-09-02 14:35:43 +02:00
Jakub Jelen
59ac79c4dc
gitlab-ci: Avoid passing artifacts between completely unrelated stages
...
The introduction of stages in gitlab-ci had quite a unfortune side
effect that is described in the documentation [1]. The whole artifacts
path (in our case obj/) is passed from one stage to another by default,
which is causing very odd behavior as the previous results are only
partially overwritten by the new cmake command and can even lead to
execution of tests that are not supposed to run in particular job.
[1] https://docs.gitlab.com/ee/ci/yaml/#dependencies
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
2020-04-20 14:14:33 +02:00
Jakub Jelen
7f57717f84
gitlab-ci: Fix typo
...
Signed-off-by: Jakub Jelen <jjelen@redhat.com >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
2020-04-20 14:14:33 +02:00
Andreas Schneider
8e00d1f0a8
gitlab-ci: Add Coverity Scan
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-03-30 09:46:18 +02:00
Andreas Schneider
fc694a5c49
gitlab-ci: Add stages
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-03-30 09:46:18 +02:00
Andreas Schneider
c79e67ca1e
gitlab-ci: Use variables so we can keep before_script
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-03-30 09:46:18 +02:00
Andreas Schneider
9914809ae3
gitlab-ci: Remove the tumbleweed docs build
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-03-30 09:46:18 +02:00
Andreas Schneider
45d82b3e36
gitlab-ci: Add a simple fedora build and docs build
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-03-30 09:46:18 +02:00
Andreas Schneider
7f869e4c99
gitlab-ci: Add a build template
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-03-30 09:46:18 +02:00
Andreas Schneider
30d03498b4
gitlab-ci: Improve setting Fedora to FIPS mode
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
2020-01-24 09:39:44 +01:00
Anderson Toshiyuki Sasaki
7f5e14698f
gitlab-ci: Create obj directory for Windows builds
...
The obj directory is not created anymore when the git repository is
cloned. Create the directory during the build.
Also set the variable "ErrorActionPreference: STOP" to make the build to
fail if an error occurs.
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com >
Reviewed-by: Andreas Schneider <asn@cryptomilk.org >
2020-01-20 14:16:20 +01:00
Andreas Schneider
1fe5f03fff
gitlab-ci: Re-enable client testing on Tumbleweed
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
Reviewed-by: Jakub Jelen <jjelen@redhat.com >
2020-01-09 14:47:54 +01:00