Commit Graph
156 Commits
Author SHA1 Message Date
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
Ximon EighteenandGitHub 478e05ff25 Remove accidentally left behind case block in the pkg workflow. 2022-01-24 10:55:31 +01:00
Ximon Eighteen 366ab8e109 Merge branch 'main' into dev 2022-01-19 14:53:14 +01:00
Ximon Eighteen f36a93c18a Enable running the pkg workflow on demand rather than on every PR. 2022-01-19 14:53:08 +01:00
Ximon Eighteen f8e3443883 Merge branch 'main' into dev 2022-01-19 14:52:02 +01:00
Ximon Eighteen 36c3bc354c When packaging handle the workflow_dispatch event and use a valid fallback email address. 2022-01-19 14:51:47 +01:00
Ximon EighteenandGitHub c23853b036 DEB packaging for ARM (#755)
Cross compile DEB packages for armhf/ARMv7 and aarch64/ARM64 using the Rust Tools team cargo cross tool.
Tested on Raspbian 11/Debian Bullseye on a Raspberry Pi 4b (armhf) and Armbian/Debian Buster on a Rock64 (aarch64).
Doesn't yet support stripping of cross compiled binaries (revisit this when Cargo supports the Rust 1.58.0 strip feature) or automated determination of DEB dependencies for cross compiled binaries.
Also removes a duplicate `--system` argument to `useradd` in the RPM `postinst` script.
2022-01-19 12:48: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 EighteenandGitHub 4769876e36 Bump cargo-deb and cargo-generate-rpm. (#758) 2022-01-13 16:30:28 +01:00
Ximon EighteenandGitHub c1aadd421f Also run packaging checks on PRs to the dev branch. 2022-01-12 11:09:26 +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
Ximon EighteenandGitHub e0c3b98959 Remove outdated e2e test trigger rule 2021-10-31 14:01:06 +01:00
Tim Bruijnzeels 2832be8548 Re-add GHA audit step, but ignore it on all branches for now. 2021-10-20 11:09:13 +02:00
Tim Bruijnzeels 0ab7e724dc Disable cargo audit for now. 2021-10-20 10:52:52 +02:00
Tim Bruijnzeels 36478b221e Disable cargo audit github actions flow (for now). 2021-10-20 10:51:57 +02:00
Ximon EighteenandGitHub 0347e77d3c Use a separate Docker Hub token for the e2e test cache rebuild image push. 2021-09-27 12:59:34 +02:00
Ximon EighteenandGitHub 74ec6eb322 Enable manual triggering of the E2E test cache rebuild workflow. 2021-09-27 12:23:12 +02:00
Ximon EighteenandGitHub 67f39e6454 FIX: use automation account credentials to login ot Docker Hub
The personal login no longer works because MFA was enabled for that account.
2021-09-27 12:17:37 +02:00
Ximon EighteenandGitHub 1f390a7883 FIX: Ensure rc Docker images are v prefixed 2021-09-27 12:09:58 +02:00
Ximon EighteenandGitHub 19c64fa2f9 No final Krill release has been published for bullseye yet 2021-09-22 16:45:15 +02:00
Ximon EighteenandGitHub 8a9e5a1a4f Fix and enable RPM upgrade testing. 2021-09-22 16:24:42 +02:00
Ximon Eighteen 664744ee93 Fix the sanity check in the Docker workflow to run a valid command. 2021-09-16 15:28:24 +02:00
Ximon EighteenandGitHub 38a7f34d43 Publish Docker images ourselves as Docker Hub autobuilds are too unreliable. 2021-09-16 14:13:46 +02: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 2b81eeaba4 Merge branch 'main' into dev 2021-08-16 17:04:30 +02:00
Ximon EighteenandGitHub 2141226c6c Patch workflow for cargo-generate-rpm issue #21 (#613) (#617) 2021-08-16 14:46:28 +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 Bruijnzeels 90d8a59524 Merge 0.9.1-rc1 release into 'dev'. 2021-07-16 15:03:54 +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 EighteenandGitHub eca1eb061d RPM packaging (#536) 2021-06-29 10:48:34 +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 0d16d3ced1 Increase the coverage workflow timeout 2021-04-19 23:23:20 +02:00
Ximon EighteenandGitHub f58d19738a Run cargo audit nightly and on change to Cargo.lock. (#473) 2021-04-13 15:54:08 +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 b07036388f Try harder to use the right e2e framework branch (#451)
If there's no e2e framework branch for our branch, check if there is an e2e framework branch for our base branch before falling back to master.
2021-03-23 11:20:58 +01:00
Ximon EighteenandGitHub 82146ddc44 Match on the new dev branch naming strategy: plus -> bis.
Otherwise "dev" builds are given a version that Debian thinks is older rather than newer so apt upgrade fails.
2021-03-23 10:49:35 +01: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 ca45045b4c Merge branch 'master' into v0.8.1-bis 2021-03-14 11:00:27 +01:00
Ximon EighteenandGitHub 880073bfac Enable e2e testing of the dev branch 2021-03-12 23:36:45 +01:00
Ximon Eighteen 88f0a7b683 FIX: Properly detect the e2e branch to use when invoked from a PR. 2021-03-09 12:01:39 +01:00