aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
6 daysci: Add shellcheckJakub Jelen1-0/+2
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
6 daysRun all reviews in single jobJakub Jelen1-22/+8
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
6 daysci: Move codespell to the review stage in fileJakub Jelen1-11/+13
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
6 daysgitlab-ci: Check merge requests for Signed-off-by trailersAndreas Schneider1-0/+10
Based on Andreas work in https://gitlab.com/libssh/libssh-mirror/-/merge_requests/104/ Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
6 daysRun CI in merge requests and in branchesJakub Jelen1-0/+22
This should avoid duplicate pipelines as suggested in (gitlab-org/gitlab!230928) Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
7 daysAdd review stage to the CI checking formattingJakub Jelen1-0/+14
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2024-03-08Rework the coverage buildJakub Jelen1-1/+1
This reworks it to avoid a need to special build type and adding the flags only to the targets that need it (skipping testing wrappers which break with them). It also updates the CodeCoverage module from the following URL: https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2023-11-22ci: Build fuzzers also for normal testingJakub Jelen1-1/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Eshan Kelkar <eshankelkar@galorithm.com>
2023-08-22ci: Output errors for 'fedora/ninja' too.Simon Josefsson1-1/+1
Signed-off-by: Simon Josefsson <simon@josefsson.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2023-07-27Removes the pkcs11-provider installation from sourcesSahana Prasad1-13/+0
Signed-off-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-06-01Remove remained HAVE_DSA ifdefs and WITH_DSANorbert Pocs1-2/+1
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2023-05-16ci: Skip PKCS#11 tests under valgrindJakub Jelen1-0/+4
The pkcs11 tests bring a lot of dependencies that are outside of our control (openssl, engine_pkcs11, pkcs11_provider, p11-kit, softhsm, ...) and that might always not handle the memory well. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-05-16ci: Add valgrind targetJakub Jelen1-0/+9
We used to have this in the old ctest. The code should be ready for this as we already skip tracing openssh sshd (ca4fb9c6) and have workaround for openssl issues (55252e4d), but it took me some time to figure out the secret command to run tests under valgrind with cmake. This adds also convenient custom target to run the memcheck manually. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-04-14ci: Add CentOS 8 as there are no other OpenSSL 1.1.1 platformsJakub Jelen1-0/+19
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-04-14ci: Suse is already on OpenSSL 3.0Jakub Jelen1-5/+5
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-04-14ci: Actually build the package with x86 cross-compilerJakub Jelen1-1/+2
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-03-21gitlab-ci: We have cmake in Windows runners in the default path nowAndreas Schneider1-3/+0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2023-03-15gitlab-ci.yml: Add documentation coverage checkNorbert Pocs1-1/+2
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2023-03-14gitlab-ci: Don't install CMakeAndreas Schneider1-1/+2
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-01gitlab-ci: Use CentOS9 for Coverity buildsAndreas Schneider1-2/+1
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-01Add support for PKCS#11 provider in OpenSSL 3.0Jakub Jelen1-0/+18
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-02-02Remove support for DSA KeysMohammad Shehar Yaar Tausif1-7/+4
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-01-25ci: Update OpenSSL versions in the CI target namesJakub Jelen1-3/+3
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-01-25ci: Drop fedora/fips combination as it looks brokenJakub Jelen1-8/+0
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
2023-01-17Enable code coverage also for client testingJakub Jelen1-3/+1
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>
2022-10-31.gitlab-ci.yml: Remove c7s CI runnerNorbert Pocs1-10/+0
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-12ci: Introduce spellcheckerJakub Jelen1-0/+12
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2022-10-12.gitlab-ci.yml: Run pkcs11 tests on c9sNorbert Pocs1-3/+5
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2022-10-12.gitlab-ci.yml: Add c9s fips runnerNorbert Pocs1-19/+27
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-08-30ci: Add apline linux targetJakub Jelen1-0/+18
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-08-25Implement code coverage collectionJakub Jelen1-0/+20
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-08-03gitlab-ci: Enable environment variable in centos9Norbert Pocs1-0/+1
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2022-07-28.gitlab-ci: Add centos9 imageNorbert Pocs1-0/+9
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-07-28.gitlab-ci: Remove remaining rawhide linesNorbert Pocs1-9/+0
Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-07-08gitlab-ci: Drop the rawhide runnerAndreas Schneider1-57/+3
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-07.gitlab-ci: Add fedora rawhide to gitlab CINorbert Pocs1-1/+64
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-04.gitlab-ci: Fix typo in the cmake option nameJakub Jelen1-1/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-06-22gitlab-ci: Remove 'allow_failure' for visualstudioAndreas Schneider1-3/+0
This has been fixed already. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2022-06-20ci: Build benchmarks to catch more errorsJakub Jelen1-1/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2022-05-02examples: Add 'ssh X11 client' sampleMarco Fortina1-0/+1
Signed-off-by: Marco Fortina <marco.fortina@atlantica.it> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2022-01-28gitlab-ci: Use coverity build envAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2022-01-28gitlab-ci: Sort build env variablesAndreas Schneider1-3/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2021-08-17gitlab-ci: Fix indentation and complaints by yamllintAndreas Schneider1-93/+91
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2021-08-11.gitlab-ci: Allow failure of windows runners as they are brokenJakub Jelen1-0/+3
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2021-06-07Enable freebsd runner also for jjelenJakub Jelen1-0/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2021-05-27gitlab-ci: Enable new freebsd runnerAndreas Schneider1-1/+2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2021-05-27gitlab-ci: Use shared Windows runners from gitlabAndreas Schneider1-20/+27
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2021-05-26gitlab-ci: Disable the freebsd runnerAndreas Schneider1-1/+1
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-03-30gitlab-ci: Run basic test with ninjaJakub Jelen1-0/+6
v1: Move to the test stage Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2021-03-26gitlab-ci: fix typo ADDTIONALDDoSolitary1-8/+8
Signed-off-by: DDoSolitary <DDoSolitary@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>