Commit Graph
27 Commits
Author SHA1 Message Date
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
Koen van HoveandGitHub 7941f84dbb Update Docker Alpine to 3.21 (#1252) 2025-02-17 14:20:59 +01: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 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 EighteenandTim Bruijnzeels ee44a154d5 Run Krill in a Docker container as user krill (fixes #882) (#883) 2022-08-29 16:51:39 +02:00
Ximon EighteenandGitHub 897e807a2a Fix docker build for normal (aka non-CI) users (#880)
Defer copying of provided binaries until a copy is actually needed, thus avoiding copy failure in non-BuildKit Docker invocations of 'docker build' in the default 'MODE'.
2022-08-22 13:36:01 +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
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 3cb1a13803 Reduce the Docker image size by a couple of MB 2022-02-18 18:02:55 +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 Eighteen 667319c111 Add a comment explaining why CARGO_HTTP_MULTIPLEXING was disabled. 2021-09-16 15:21:30 +02:00
Ximon EighteenandGitHub 3d1b78e429 Disable CARGO_HTTP_MULTIPLEXING
See if it helps with cargo failures to download from crates.io when running on Docker Hub and GitHub Actions build machines.
2021-09-16 15:02:06 +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
Ximon EighteenandGitHub dc6580a000 Use an official Alpine docker image release rather than Alpine Edge. (#394)
* Use an official Alpine docker image release rather than Alpine Edge.

* Remove accidental passing of multi-user feature flag to cargo build.
2021-02-10 10:54:55 +01:00
Ximon Eighteen fea2dedd81 FIX: Temporarily bump Docker Alpine image to edge for newer Rust (1.47.0 vs 1.44.0) as Krill currently needs Rust 1.45.0. 2021-01-08 12:37:34 +01:00
ximon18andGitHub c62d60fc1e Bump the Docker image to use newer Alpine (3.11 -> 3.12) and thus newer Rust (1.39 -> 1.44), needed for rpki-rs 0.9.2-bis to compile using the krillbuildbase image which is built from the master Dockerfile. 2020-09-29 14:06:06 +02:00
ximon18andGitHub 879c2cca84 Enable support for CTRL-C from outside the container. (#214) 2020-03-17 14:01:27 +01:00
ximon18andGitHub d00f9617d0 Base the Docker image on Alpine Linux. (#179)
Use Alpine instead of Ubuntu, for a smaller Docker image and consistency with NLnet Labs Routinator.
2020-01-29 16:11:01 +01:00
Ximon Eighteen e5bb4dcb06 The modified Dockerfile is not needed if we support the configurable base image in the Krill repo itself. 2020-01-20 11:06:17 +01:00
Ximon Eighteen 164965073e Fix broken Docker image creation caused by extra directory needed by the Rust compiler. 2020-01-11 00:28:51 +01:00
ximon18andGitHub c9d466ee38 Install tzdata for #156. 2019-12-17 12:15:58 +01:00
Ximon Eighteen b32559e6f8 FIX: incorrect Docker WORKDIR. 2019-10-30 21:17:30 +01:00
Ximon Eighteen 5a36bdacaa Updated the docker image to work with
Krill v0.2.0.
2019-10-30 17:19:02 +01:00
Ximon Eighteen 32500c7dd1 First version of a Krill Dockerfile. 2019-09-10 19:00:49 +02:00