Commit Graph
129 Commits
Author SHA1 Message Date
ximon18andTim Bruijnzeels 6dcbf2f5cc Update the pkg workflow to match improvements and fixes made in the Routinator project. (#318)
- Switch to O/S name based jobs instead of O/S numeric version to support Debian bullseye (which doesn't yet have a numeric Docker image tag and so cannot be run in a container by number, only by name).
- Switch to official cargo-deb release that has the required systemd unit functionality.
- Drop usage of empty 'job.container.image' cache key component.
- Work around lack of support for `date --rfc-email` in older O/S versions.
- Use a simpler and more consistent approach for waiting for network up in LXC containers.
- Ensure sudo is available.
2020-10-09 15:04:04 +02:00
Tim Bruijnzeels 3b06113f4d Update version for 0.8.0-rc1 release 2020-10-09 11:51:40 +02:00
Tim Bruijnzeels c8a35279c9 Update to rpki-rs 0.10.0 2020-10-07 18:17:05 +02:00
Tim Bruijnzeels 07697a4c80 Add check for minimum Rust version. (Inspired by routinator) 2020-10-06 13:33:00 +02:00
Tim Bruijnzeels 84cc7faf7e Using feature for functional-tests to help development speed. 2020-09-23 10:25:43 +02:00
Tim Bruijnzeels 2d42bd6949 Hide the "rta" functionality in the CLI behind a feature. 2020-09-18 10:48:04 +02:00
Tim Bruijnzeels 50ced092dc Update dependencies to rpki-rs master. 2020-09-17 15:40:29 +02:00
Tim Bruijnzeels ef7274bd73 Remove async_trait (#314) 2020-09-07 16:54:57 +02:00
Ximon Eighteen cc6ab21258 Merge branch 'master' into 0.8.0-RC-dev 2020-08-27 09:45:56 +02:00
Tim Bruijnzeels f23fa3a0c5 Update reqwest, and remove the "blocking" feature - we are al async now! 2020-08-26 15:42:19 +02:00
Tim Bruijnzeels 9b46f5ab60 Use tokio::sync::RwLocks everywhere. Fix the message queue consumption. Use async in traits.. 2020-08-19 17:30:54 +02:00
ximon18andGitHub bd57a2e126 Restart after .deb upgrade rather than stop -> upgrade -> start. (#299) 2020-08-11 14:42:27 +02:00
ximon18andGitHub e40131aaea Deb pkg fixes (#288)
Various Debian packaging fixes and improvements: (note: depends on a fork of cargo deb as some cargo deb PRs are still pending)
  - Fix: Krill will now be restarted when the package is upgraded (also when upgrading from v0.7.0/v0.7.1/v0.7.2/v0.7.3 packages) (fixes #280).
  - Fix: systemd warning after apt remove (fixes #275).
  - Fix: Lintian error "manpage-not-compressed" (via cargo deb PR 133).
  - Fix: Lintian error "debian-changelog-file-missing" (via cargo deb PR 137). Note: the changelog is only a minimal pointer to the GitHub release notes, attributed to the user doing the pull requestor or merge to master.
  - Fix: Lintian error "copyright-without-copyright-notice".
  - Fix: Cargo Deb "warning: extended-description field missing" (via cargo deb PR 138).
  - Fix: Incorrect systemd unit "vendor preset: enabled" (via PR 276).
  - Fix: Remove unused /etc/krill directory created by the "ConfigurationDirectory" systemd unit key.
Also:
  - Use debhelper dh_installsystemd style support for systemd unit installation (based on official Debian debhelper dh_installsystemd autoscripts & logic) instead of incomplete/erroneous hand crafted maintainer scripts (via cargo deb PR 135).
  - Uses systemd unit masking on package removal as recommended (see PR 276).
  - Enables bash echo output for pkg workflow run steps.
  - Verfies built deb packages with Lintian.
  - Less repetition in Cargo.toml.
2020-07-30 09:25:03 +02:00
ximon18andGitHub a59ee97e09 Support 'pre-release' build labels in .deb packages (#287)
Correctly handle dashes in the Krill version number so that 'pre-release' 'tags' appended to the version number do not cause the package to be considered newer than a final untagged version number. Treat `-plus` as an exception denoting a build that is indeed newer.
2020-07-24 15:09:27 +02:00
Tim Bruijnzeels aa89b3dbe7 Sign oneoff RTA (still needs e2e testing). (#283) 2020-07-20 16:54:48 +02:00
Tim Bruijnzeels ee5b6d9f08 Use a lazily initialised configuration static for easier access to config. (#268) 2020-07-10 13:08:24 +02:00
Tim Bruijnzeels 4bb71cf7ad Update versions and changelog for release. 2020-07-06 12:24:11 +02:00
ximon18andGitHub 47b7f4a93c Make the .deb copyright file compliant with Debian Policy. (#274)
Without license-file the generated copyright file does not contain a "verbatim copy of its copyright information" as per https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information.
2020-07-02 09:55:14 +02:00
Tim Bruijnzeels 206cfc5c80 Update versions for 0.8.0 RC development. 2020-06-29 10:20:00 +02:00
Tim Bruijnzeels 3e517c0fa8 Update version to 0.7.2 2020-06-28 22:57:50 +02:00
Tim Bruijnzeels 5e42cc0031 Update development version. 2020-06-28 22:43:34 +02:00
Tim Bruijnzeels 627bf8bdca Update version to 0.7.1 2020-06-25 09:40:59 +02:00
Tim BruijnzeelsandGitHub d3e64a5b07 Merge pull request #265 from NLnetLabs/0.6.0-plus
0.6.0 plus
2020-06-23 16:24:09 +02:00
Ximon Eighteen afc122b715 More comments. 2020-06-23 13:38:32 +02:00
Ximon Eighteen 43df33b827 RPM packaging is not ready for release yet. 2020-06-23 12:56:39 +02:00
Ximon Eighteen 8431642a4a Create Krill DEB and RPM packages via GH actions:
- Assumes that the target system has ca-certificates installed already.
  - Vendor OpenSSL to support Ubuntu 16.04 which only has OpenSSL 1.0.0.
  - Use GH caching to avoid repeat compilation of unchanging cargo deb and krill dependencies.
  - Build in Docker containers as GH runners have too many non-standard packages and libraries pre-installed.
  - Sanity check the created DEB in targeted O/S versions via LXC/LXD containers (for systemd support).
2020-06-23 12:55:17 +02:00
ximon18 a3674d3c0e Warn about dual use of [package] properties. 2020-06-23 12:28:17 +02:00
ximon18 9a9b589aa4 Cargo config improvements
- Added comments.
- Use priority optional as Debian guidelines state that extra is deprecated.
- Name the OpenSSL vendor feature after what it does, not who uses it, as it might be useful to others too.
2020-06-23 12:28:17 +02:00
Ximon Eighteen 7031576f63 Create a Krill DEB package via GH actions:
- Assumes that the target system has ca-certificates installed already.
  - Vendor OpenSSL to support Ubuntu 16.04 which only has OpenSSL 1.0.0.
  - Use an Ubuntu 16.04 compatible version of libgcc1 (don't use cargo-deb $auto
    depends as the GH 16.04 runner has a much newer libgcc1 package than stock
    Ubuntu 16.04).
  - Use GH caching to avoid repeat compilation of unchanging cargo deb and krill
    dependencies.
  - Sanity check the created DEB in targeted O/S versions.
2020-06-23 12:28:17 +02:00
Tim Bruijnzeels 9e58f528e0 Updating versions for release 0.7 2020-06-19 16:41:30 +02:00
Tim Bruijnzeels 7e48920717 Merge branch 'master' into 0.6.0-plus 2020-06-10 14:01:02 +02:00
Tim Bruijnzeels 40c16d19fd Update versions and changelog for 0.6.3 release. 2020-06-07 20:53:14 +02:00
Tim Bruijnzeels b4b6c200a1 Analyse ROA vs Announcements (still needs scoping). #233 2020-05-19 17:06:23 +02:00
Tim Bruijnzeels d10c88f0c9 Release 0.6.2 - Fix issue with determining creation time on certain platforms. 2020-05-15 16:37:33 +02:00
Alex BandandTim Bruijnzeels e6be1eb48b Add repository, keywords and readme 2020-05-15 16:28:28 +02:00
Alex BandandTim Bruijnzeels 03cd162d80 Add repository, keywords and readme 2020-05-15 16:28:28 +02:00
Tim Bruijnzeels f5614388de Update version for release. 2020-05-15 12:11:08 +02:00
Tim Bruijnzeels cc8905f5ab Parse RIS Dump files. #232 2020-05-14 15:02:35 +02:00
Tim Bruijnzeels 4f30c0a83a Update versions for development. 2020-05-13 11:14:54 +02:00
Tim Bruijnzeels 737b040d2a Update versions for release. 2020-05-05 12:04:04 +02:00
Tim Bruijnzeels 6d50542cc7 Update to released bcder and rpki. 2020-03-16 13:41:53 -03:00
Tim Bruijnzeels bd5cd74adf Posting new publisher to API (includes enforcing limit on submitted json) (#189) 2020-03-10 15:09:49 +01:00
Tim Bruijnzeels e34d28debb Add SSL support to the hyper server. 2020-03-06 16:47:57 +01:00
Tim Bruijnzeels fdfad1dcd4 Add TLS support to the hyper server. 2020-03-02 09:09:51 +01:00
Tim Bruijnzeels 75d4da9000 Clean up dependencies. 2020-02-25 16:09:55 +01:00
Tim Bruijnzeels 8543cb9639 Remove actix-web dependencies, add hyper. (work in progress) 2020-02-25 15:54:35 +01:00
Tim Bruijnzeels af02042129 Update version numbers for development on next release. 2020-02-25 11:12:33 +01:00
Tim Bruijnzeels 58a98f51cd Update versions. 2020-02-24 12:12:54 +01:00
Tim Bruijnzeels bf9ba749b8 Serve lagosta files in Krill (closes: #204) 2020-02-14 15:54:05 +01:00
Tim Bruijnzeels 3acd82169e Bump version for development. 2020-01-06 15:53:41 +01:00