Commit Graph
198 Commits
Author SHA1 Message Date
Koen van HoveandGitHub 836d7fa6c5 Update Ploutos to v9 (#1332) 2025-10-20 18:43:14 +02:00
Koen van HoveandGitHub be490b75a2 Fix Clippy not found in CI error (#1323) 2025-09-25 14:01:09 +02:00
Koen van HoveandGitHub 835d9f6052 Add support for Debian Trixie (#1308)
This PR adds support for Debian Trixie (13).

 It also cleans up some old references that are no longer used.
2025-07-31 15:04:10 +02:00
Martin Hoffmann 850bf5b63b Only run coverage workflow manually. 2025-06-13 16:35:56 +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 Hoffmann c445fece1a Try upload-artifacts v4. 2025-06-11 18:21:26 +02:00
Martin Hoffmann 28fa29866d Enable manually triggering coverage workflow. 2025-06-11 18:07:23 +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
Ximon EighteenandGitHub d583a634f5 Delete failing audit workflow.
Fails regularly due to hitting GH API limits, the underlying GH Action hasn't been updated for 4 years, and the functionality is replaced by GH security vuln notifications anyway.
2024-08-21 09:39:06 +02: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 Hoffmann c3a870af54 Don't trigger packaging on main. 2024-06-21 11:07:46 +02:00
Martin HoffmannandGitHub a20adc99b4 Fix the Centos 7 packaging build. (#1201) 2024-06-12 16:37:26 +02:00
Martin HoffmannandGitHub 4d0b4edb1b Upgrade minimum Rust version to 1.70.0. (#1198) 2024-06-11 15:07:44 +02:00
Ximon Eighteen ae19f31c1b Test upgrade from Ploutos v6 to v7 to see if the breaking upgrade actually breaks. 2024-04-08 22:40:05 +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 870b23e3a8 Add krillta package (#1006) 2023-03-07 15:13:11 +01: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
ximon18andTim Bruijnzeels f7fbda53c7 Upgrade to Ploutos v6. 2023-02-06 12:10:27 +01:00
Ximon EighteenandGitHub 2b08ed4f4b Upgrade Ploutos packaging workflow from v1 to v5 (#1001) 2023-01-24 10:40:09 +01:00
Ximon EighteenandTim Bruijnzeels 7432657510 Follow move of reusable pkg workflow to new ploutos repo. 2022-11-18 09:47:26 +01:00
Ximon EighteenandGitHub 2940328034 Migrate to NLnetLabs reusable packaging workflow (#931) 2022-09-13 14:36:46 +02:00
Ximon EighteenandGitHub 2c00aa05e2 Relax pkg-test checks temporarily
`grep -i fail` will wrongly cause a failure at "Failed to set locale, defaulting to C".
2022-09-05 15:38:02 +02:00
Ximon EighteenandGitHub b031aba5e9 RPM (un)install fixes for #907 and #908
PR#909
2022-09-05 15:22:42 +02:00
Ximon EighteenandTim Bruijnzeels dbad10f004 Cross project pkg workflow consistency (#894)
In no particular order:
* Generalize references to Krill where they are not Krill specific.
* Make argument order consistent with Routinator.
* Various comment tidying and harmless changes for consistency with (e.g. argument order) the Routinator pkg workflow.
* Trigger the pkg workflow for all v* tags as this is simpler than matching specific version patterns and is consistent with the Routinator pkg workflow.
* Don't use ubuntu-latest as we unexpected changes may be introduced when latest moves up to the next Ubuntu release.
* Use the same latest DEB/RPM tool versions and features as the Routinator pkg workflow.
* Parameterize the Docker repo to push to. Don't assume it matches the GH repo name.
* Docker repo name must be lowercase.
* Ensure executables copied into the Docker image have the executable permission.
* Let the compiler choose the right target in the Dockerfile.
* Work around GitHub misapplication of secret protection to the dockerbasetag workflow job output.
* Upgrade to actions/cache@3
2022-08-29 16:51:39 +02:00
Ximon EighteenandGitHub 21ea28f1cb Bump pykmip-test from 18.04 to 20.04 (#888) 2022-08-22 16:38:19 +02:00
ximon18 178ef88892 Minor comment corrections in the pkg workflow. 2022-08-22 09:36:53 +02:00
Ximon EighteenandGitHub a1714139af Add packages for Raspberry Pi 1b (ARMv6 HF) (#814) 2022-08-09 23:30:23 +02:00
Ximon EighteenandGitHub 5cddacdef2 Extend Docker publishing to create ARM architecture images and a multi-arch manifest (#773)
* Move the Docker workflow into the main Packaging workflow.
* Extend the Dockerfile to support building from precompiled externally supplied binaries as well as building from sources (to support the cross-compilation case).
* Extend the workflow to support cross-compilation for both Docker images and traditional packages. (#764)
* Extend the workflow to publish a multi-arch Docker manifest.
* Prefix tmp artifact names with 'tmp-' so that packages.nlnetlabs.nl scripts can easily ignore them.
* Use latest upload/download artifact action versions.
* Upload built Docker images as GitHub Actions artifacts.
* Switch to the vault package repository for CentOS 8 now that it is EOL.
* Don't delete cross compiled binaries during pkg job as multiple invocations of the matrix need to access the same artifact.
2022-08-09 22:34:13 +02:00
ximon18 0ed25d1370 Disable testing of the Debian Stretch package as it is no longer available on images. 2022-07-19 11:16:38 +02:00
ximon18 d9a3823d08 krillup 0.9.6 was released for Ubuntu xenial/bionic/focal, Debian stretch/buster/bullseye and CentOS 7/8, so we should now be able to test upgrading on those systems. 2022-07-19 10:21:32 +02:00
ximon18 321516dec5 Minor comment fix. 2022-07-19 10:04:36 +02:00
Ximon EighteenandGitHub dde7041e79 Package Krill for Ubuntu 22.04 Jammy Jellyfish (#838)
* Package Krill for Ubuntu 22.04 Jammy Jellyish
* Depend on libssl3 for Ubuntu 22.04 instead of libssl1.1
2022-07-19 09:17:20 +02:00
Tim BruijnzeelsandGitHub 7d271417f1 Support configuration for benchmark testing (#825) 2022-05-27 09:11:42 +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
Tim BruijnzeelsandXimon Eighteen 5780c771f6 Support prepare-upgrade krill: prepares the new data to migrate. (#777)
* Support "prepare-upgrade" through "krillup" binary.
* Package the new `krillup` binary and man page into a separate DEB/RPM.
* Also switches to building in a Rocky Linux container due to repeated CentOS 8 vault repo timeouts.
* Mention correct config file location on CLI help.
* Remove incorrect reference to non-existent help subcommand for krillup.
* Add locking to upgrade process.

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
2022-02-18 18:02:55 +01:00
Ximon EighteenandTim Bruijnzeels 28c817cf24 Don't attribute the DEB package changelog maintainer to the personal GitHub details of the PR merging user, instead attribute it to RPKI team. 2022-02-18 18:02:55 +01:00
Ximon EighteenandTim Bruijnzeels 226cbe7750 Switch to the vault package repository for CentOS 8 now that it is EOL. 2022-02-18 18:02:55 +01:00
Ximon EighteenandTim Bruijnzeels 4e7a4e9c75 We use -dev as the next version label now, not -bis.
As requested by @timbru.
2022-02-18 18:02:55 +01:00