Commit Graph
58 Commits
Author SHA1 Message Date
Koen van HoveandGitHub be490b75a2 Fix Clippy not found in CI error (#1323) 2025-09-25 14:01:09 +02:00
Martin HoffmannandGitHub 74dfd7e0cd Upgrade dependencies for 0.15.0. (#1288)
Some dependency requires edition 2024, so we need to upgrade the minimum
Rust version to 1.85.
2025-06-12 16:20:54 +02:00
Martin HoffmannandGitHub 99e331b18e Remove static-openssl feature. (#1279)
This PR removes the static-openssl feature. If necessary, this features can
be invoked by selecting openssl/vendored directly.

The PR also removes building and testing with default features from the CI
workflow. The only difference between default and all features currently is
rta which is deprecated and will be removed, anyway.

This PR now also fixes a few issues in krillc config simple and the post
install scripts for Debian and RPM packages.
2025-06-04 17:58:28 +02:00
Martin HoffmannandGitHub 4a76408530 Code improvements suggested by Clippy 1.87. (#1278)
This PR implements some of the suggestions made by Clippy 1.87.

Some of the suggestions have been ignored by way of allow attributes.
In particular, we allow the large size of commons::error::Error for now,
but this will need to be fixed in another PR.
2025-06-04 14:51:40 +02:00
Martin Hoffmann 4f5c340eb6 Bump MSRV to 1.81. 2025-04-11 16:07:16 +02:00
Martin HoffmannandGitHub 2914b86d88 Import KVX with disk and memory stores. (#1253)
This PR imports the code previously in the kvx crate into Krill itself
as the commons::storage module. It also rearranges some of Krill’s
eventsourcing and queue code to better integrate with the now internal
storage module.
2025-03-21 14:07:16 +01:00
Martin HoffmannandGitHub 6d253c22da Refactor cli to use clap’s derive. (#1228)
This PR changes how the clients -- krillc, krillta, as well as the
integration tests -- work to better fit the derive model provided by clap.
This results in basically everything in the cli module and all the
integration tests being different now.

The PR slightly changes the options for both krillc and krillta. For krillc,
the --server, --token, --format, and --api options are now before the first
subcommand (since they affect all commands). For krillta, those options are
now after krillta proxy but before the next subcommand, while --format is
now after krillta signer.

This PR also removes client support and integration tests for RTA.

This is a breaking change.
2024-08-20 14:05:06 +02:00
Martin HoffmannandGitHub 45eb8f857b Fix Clippy warnings and enable Clippy in CI. (#1216)
This PR fixes all warnings from nightly Clippy as of today and enables a
Clippy run in the CI workflow for the stable channel with all features
enabled.
2024-06-25 15:16:15 +02:00
Martin HoffmannandGitHub 4d0b4edb1b Upgrade minimum Rust version to 1.70.0. (#1198) 2024-06-11 15:07:44 +02:00
Ximon EighteenandGitHub cebbd0edd8 Bump GH Actions action versions work around GHA warning "The following actions uses node12 which is deprecated and will be forced to run on node16: <snip>. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/". (#1156) 2023-11-15 12:08:16 +01:00
Ximon EighteenandGitHub 418bae75f6 Work around the backward incompatible Python removal of deprecated ssl.wrap_socket() function which breaks PyKMIP (as there is no newer version of PyKMIP to upgrade to which would follow the change in Python). (#1155) 2023-11-15 11:43:40 +01:00
Tim BruijnzeelsandArjen dd037c7e70 Kvx storage 1067 (#1069)
* Depend on kvx 0.6.0
* Update minimum rust version to 1.65 (required by kvx)
---------

Co-authored-by: Arjen <4867268+arjentz@users.noreply.github.com>
2023-10-17 15:31:11 +02:00
Tim Bruijnzeels 6073f40ab7 Update minimum rust version and alpine image for docker. 2023-10-17 15:31:11 +02:00
Tim BruijnzeelsandGitHub d168ff5125 Prep 0.13.0 rc2 (#1041)
* Do not migrate migrate non-existing 0.12.x publication server (#1040)
* Updgrade rpki-rs, downgrade minimal Rust version to 1.63
* Upgrade to docker apline 3.17 because of Rust 1.63
* Update readme and version for 0.13.0-rc2
2023-04-26 14:35:55 +02:00
Ximon EighteenandGitHub b22beb3fa3 Remove Cypress based UI tests (#1035) 2023-04-20 13:28:48 +02:00
Tim BruijnzeelsandGitHub cae0c3842a Enforce that id-ad-caRepository uses a trailing slash. (#1030) (#1034) 2023-04-20 13:21:32 +02:00
Ximon EighteenandGitHub 9c4b5f44ed Work around failing PyKMIP tests by pinning to an old SQLAlchemy Python package for use by PyKMIP. (#1015) 2023-02-20 17:01:51 +01:00
Ximon EighteenandGitHub 21ea28f1cb Bump pykmip-test from 18.04 to 20.04 (#888) 2022-08-22 16:38:19 +02:00
330da84de5 Migrate 8181 8183 6942 support to rpki rs (#820)
* Use types which were ported into rpki-rs.
* Update dependency to rpki-rs 0.14.3-dev.
* IGNORE old_events test for now, see issue: #819
* Quick fix for compilation using --all-features. See issue #821

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
2022-05-12 15:24:50 +02:00
Tim Bruijnzeels 4e1df9294a Merge 0.9.5-rc8 (main) into dev 2022-03-30 14:05:02 +02:00
Ximon EighteenandTim Bruijnzeels b5b2c24a92 Bump MSRV due to pulled in version of impl-trait-for-tuples dependency needing support for the 2021 Rust edition. 2022-02-23 14:17:18 +01:00
Ximon Eighteen 4c4374c713 Merge branch 'main' into dev 2022-01-17 11:46:56 +01:00
Ximon EighteenandGitHub b0be88bc10 HSM support for keys (#21) (#733)
Adds support for PKCS#11 v2.20 and/or KMIP 1.2 compatible HSMs.
Includes backward compatible extensions to the krill.conf syntax.
Includes HSM related developer docs.
Excludes HSM specific API (REST, krillc, Prometheus) or UI extensions.
2022-01-14 14:19:24 +01:00
Ximon EighteenandTim Bruijnzeels 0eb81dacc9 Upgrade to actions/checkout v2 to avoid potential security issue (see #746). 2022-01-12 10:22:34 +01:00
Tim Bruijnzeels cadaeacbab Typo in ci.yml 2021-09-13 15:17:12 +02:00
Tim Bruijnzeels d47b20c920 Disable ui-tests in GHA for now. (#659) 2021-09-13 15:15:54 +02:00
Ximon Eighteen 9323ca9dea Don't complain about missing UI artifacts to upload as this is normal for tests of builds that lack the ui-tests cargo feature. 2021-07-30 22:08:07 +02:00
Tim BruijnzeelsandGitHub 8be620b606 Update dependencies: rpki-rs, bytes, tokio, hyper, reqwest (#584)
* Update dependencies: rpki-rs, and therefore bytes, tokio, hyper, reqwest
* Rust 1.51 clippy
* Update minimal rust version to 1.47
    socket2 requires improved const fn support.
    exponential compile-time and type_length_limit and async in 1.46.

See PR #586
2021-07-02 10:20:24 +02:00
Ximon Eighteen 72c111018f Update GitHub workflows to use the new main branch name. 2021-05-12 11:55:07 +02:00
Ximon EighteenandGitHub 2ca2228405 Use --locked everywhere to ensure that Krill builds consistently use the same dependency versions as those locked by the Cargo.lock file. (#467) (#468) 2021-04-12 09:47:42 +02:00
Tim BruijnzeelsandGitHub 4665e12414 Use single threaded testing 2021-04-06 12:16:54 +02:00
Ximon EighteenandGitHub 8cc6281219 Enable the multi-user feature by default. (#444)
* Enable the multi-user feature by default.
* Explain the matrix elements used and order them logically.
* FIX: Bump Terraform action version to resolve "Error: The `add-path` command is disabled".
2021-03-23 10:28:57 +01:00
Ximon Eighteen 16d578a053 Merge branch 'master' into v0.8.1-bis. 2021-03-09 10:58:06 +01:00
Ximon EighteenandGitHub f02451c6eb Run functional and UI tests in non-multi-user mode (#414)
Otherwise we only run them with --all-features whcih includes multi-user mode.
2021-02-10 11:04:30 +01:00
Ximon EighteenandGitHub c617e3ac46 Store Cypress UI test screenshot and video captures for later review (resolves #373) 2021-01-19 16:08:51 +01:00
Ximon EighteenandGitHub 61ee9b21e6 Don't run tests twice for pushes to PR branches 2021-01-17 22:30:23 +01:00
Ximon EighteenandGitHub 8a7a7bcb3e Extend the CI job with code coverage reports by cargo tarpaulin. (#371) (#372)
Trigger a new code coverage report GitHub Actions CI workflow after successful completion of the CI workflow (#371).
Also attempts to stablize the flakey add ROAs UI test (#377).
2021-01-15 15:10:30 +01:00
Ximon Eighteen 98ba564134 Revert code coverage CI changes in preparation for resubmitting them to a branch for proper PR based review. 2021-01-12 23:16:28 +01:00
Ximon Eighteen e22f3791f2 Attempt to extend the CI coverage build to run for all features while trying to be DRY. 2021-01-12 21:53:22 +01:00
Ximon EighteenandGitHub 70f0461067 Bump min Rust version in CI job to match build.rs. 2021-01-12 20:36:37 +01:00
Ximon EighteenandGitHub b6ee0e87bc CI workflow YML indentation fix 2021-01-12 20:34:56 +01:00
Ximon EighteenandGitHub 56c44c41c3 Initial attempt at code coverage using tarpaulin (#371) 2021-01-12 19:27:09 +00:00
Ximon EighteenandGitHub e8451cfe0e Remove branch restrictions for CI run. 2021-01-12 19:55:33 +01:00
Ximon EighteenandGitHub 011a4e541e Remove branch restrictions for CI eun. 2021-01-12 19:49:23 +01:00
Ximon Eighteen dcd7e6d991 Remove temp GH actions hack
Renaming the workflow file still didn't cause the run workflow button to appear for the CI workflow.
2021-01-08 12:58:33 +01:00
Ximon Eighteen a9d800279e GH actions temporary hack.
Per https://github.community/t/cant-trigger-workflow-manually/121740/48.
2021-01-08 12:56:28 +01:00
Ximon EighteenandGitHub e3bb1120e8 Try out the new manual workflow invocation feature of GitHub Actions
Must be committed to the master branch according to the docs.
2021-01-08 12:13:56 +01:00
Ximon EighteenandGitHub f512539d45 Also build and test with all features enabled. 2021-01-08 12:05:38 +01:00
Ximon EighteenandGitHub eaf2e82741 Also build against our min Rust version 2021-01-08 11:58:36 +01:00
ximon18andGitHub 2cf859d161 See if strange CI failures also happen in newer Ubuntu 2020-10-09 16:35:34 +02:00