Commit Graph
71 Commits
Author SHA1 Message Date
ximon18 0135eb9bb6 Revert "Sanity check of pending Plout"
This reverts commit c9dbe0c81a.
2023-04-26 09:01:27 +00:00
Ximon Eighteen c9dbe0c81a Sanity check of pending Plout 2023-04-26 10:58:48 +02:00
Martin Hoffmann 124616e75b Add support for ASPA. (#847)
This PR adds support for ASPA to Routinator.

The PR adds a new config option ‘enable_aspa’ that is false by default. Only
if it is set to true will ASPAs be added to the payload set.

It adds support for processing ASPA objects to the engine, adds ASPA related
metrics, and completely refactors the payload storage to be able to deal
with the differing semantics of ASPA payload.

The PR adds a new "aspa" member to the jsonext format and the HTTP delta endpoint. It adds new members to the API status and adds new Prometheus
metrics.

It increases the minimum required Rust version to 0.65.

---------

Co-authored-by: Alex Band <[email protected]>
Co-authored-by: Luuk Hendriks <[email protected]>
2023-04-25 12:37:13 +02:00
Martin Hoffmann c085dccace Bump minimum Rust version to 1.64 and update dependencies. (#845)
This PR updates the dependencies and, in order to do that, needs to bump the
minimal supported Rust version to 1.64.
2023-03-27 13:20:04 +02:00
Ximon Eighteen a1a4c7f69e Add package for RHEL 9 like OSs. (#838) 2023-03-27 11:39:42 +02:00
Ximon Eighteen 9138cb097a Upgrade reusable packaging workflow (#816)
This commit upgrades the pkg workflow to use the latest version of the
Ploutos reusable packaging workflow. See PR #816 for futher details.
2022-12-01 11:37:38 +01:00
Ximon Eighteen 5601e9df9f Follow move of reusable pkg workflow to new ploutos repo. 2022-11-17 23:07:41 +01:00
Martin Hoffmann cc39bec822 Increase minimal Rust version to 1.60.0. (#792) 2022-10-03 16:04:14 +02:00
Ximon Eighteen 2d221146dc Migrate to NLnetLabs reusable packaging workflow (#780)
This commit replaces the current Packaging pkg.yml and Packaging Docker pkg-docker.yml workflows with a much simpler Packaging pkg.yml workflow that outsources the behaviour to a new equivalent reusable workflow defined in the NLnet Labs organisation wide https://github.com/NLnetLabs/.github repository.

This commit also adds Docker ARMv6, ARMv7 and ARM64 multi-arch support, ARMv6 DEB support, fixes a couple of RPM issues (postuninst script fails to run, user already exists on re-install), and resolves an unattended-upgrade TAR error.

Resolves #763, #773, #774, and #783.
2022-09-15 13:01:17 +02:00
Ximon Eighteen b8c1bcb34d Use new cargo generate metadata overwrite feature (#759)
Upgrade cargo-generate-rpm and remove no longer needed workaround.
2022-08-17 15:30:13 +02:00
Ximon Eighteen 1ec204ff0c Remove cargo deb version hold (#767)
Cargo-deb was held back due to https://github.com/kornelski/cargo-deb/issues/43 which is now fixed.
2022-08-17 15:14:38 +02:00
Martin Hoffmann 540421de97 Adjust error handling to rpki-rs 0.15. (#755) 2022-08-09 15:47:09 +02:00
Ximon Eighteen b81a6138ba Packaging fixes (#758)
* FIX: Disable testing of the Debian Stretch package as it is no longer available on images.linuxcontainers.org.
* FIX: Step name correction.
* Upgrade cargo-generate-rpm to 0.6.0 and remove no longer needed workaround and disable default LZMA compression used by newer cargo-generate-rpm as it is incompatible with older RHEL/CentOS systems.
* Upgrade cargo-deb to 1.34.2 to support Rust edition 2021 (as <1.34.0 lacks Rust edition 2021 support and >= 1.36.0 fails to produce a valid Xenial package according to Lintian, and >= 1.37.0 doens't compile with LZMA support disabled as needed on Xenial).
2022-08-08 16:30:49 +02:00
Martin Hoffmann 65a168928c Increase minimal supported Rust version to 1.56. (#756) 2022-07-06 16:06:18 +02:00
Ximon Eighteen d992f5b0af Add Ubuntu 22.04 packaging support. (#745)
Add support for packaging for Ubuntu 22.04 Jammy Jellyfish, due for release on April 21, 2022.
2022-04-07 12:52:43 +02:00
Martin Hoffmann 78433f623e Temporarily disable building for nightly in CI workflow. 2022-03-28 17:05:27 +02:00
Ximon Eighteen 1169593171 Fixes to DEB and RPM packaging (#717)
* Fix the logic for ensuring that RPMs built for release candidates have a tilda (~) in the package version so that (a) they are considered older than the final non-release candidate version when it is published and (b) the packaging process publishes them in the -proposed repo and not the production repo. This also fixes the wrong version number (with tilda instead of dash) being used in therelease tag URL included in DEB debian/changelog file.

* Don't cache the target directory as subsequent builds can end up with both new and old content in the dir such as an old RPM plus the new one!
2022-02-21 15:13:19 +01:00
Ximon Eighteen 7ac9ed59f5 Switch to the vault package repository for CentOS 8 now that it is EOL. (#703) 2022-02-07 16:08:21 +01:00
Ximon Eighteen 15852bb911 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-01-19 15:07:48 +01:00
Ximon Eighteen 719ccc27d0 When packaging handle the workflow_dispatch event and use a valid fallback email address. 2022-01-19 14:49:19 +01:00
Martin Hoffmann 9e51890d83 Merge pull request #686 from NLnetLabs/arm-deb-packaging
Debian ARM packaging
2022-01-19 14:16:37 +01:00
Ximon Eighteen 7cb3e2dcb1 Enable running the pkg workflow on demand rather than on every PR. 2022-01-19 14:06:17 +01:00
Ximon Eighteen d54e322dea Lintian be quiet. 2022-01-19 13:00:28 +01:00
Ximon Eighteen 351ea312e2 Prevent downloading previously created amd64 deb when packaging for the same OS but different target. 2022-01-19 11:26:04 +01:00
Ximon Eighteen 76c3f6825b Fix wrong indentation. 2022-01-19 11:05:35 +01:00
Ximon Eighteen 7f3ca3a942 Merge branch 'main' into arm-deb-packaging 2022-01-19 11:03:10 +01:00
Ximon Eighteen 274bbb4ada Temporarily enable running of the pkg workflow for PR requests in order to test ARM packaging. 2022-01-19 10:57:11 +01:00
Ximon Eighteen 10313fb33d Initial attempt, not tested locally. 2022-01-19 10:51:34 +01:00
Martin Hoffmann 22431e2b3e Bump MSRV to 1.52. 2022-01-18 14:37:04 +01:00
Ximon Eighteen 394c2190cd Upgrade to actions/checkout v2 to avoid potential security issue (see nlnetlabs/krill#746) 2021-12-20 10:41:31 +01:00
Ximon Eighteen f49123802b FIX: Ensure rc Docker images are v prefixed 2021-09-27 12:12:05 +02:00
Ximon Eighteen 0af39526cf Delete the RPM workflow as it has been merged into the PKG workflow 2021-09-22 16:22:10 +02:00
Ximon Eighteen c4f34f7397 Fix apparently never before used RPM upgrade check 2021-09-22 16:13:23 +02:00
Ximon Eighteen 22919eaab8 Install missing packages 2021-09-22 15:37:50 +02:00
Ximon Eighteen 61de4cf223 Fix incorrect job name. 2021-09-22 15:28:20 +02:00
Ximon Eighteen 2fcac1e9ce Remove errant run line from pkg.yml. 2021-09-22 15:26:46 +02:00
Ximon Eighteen 00d2472184 Combine the RPM and DEB package workflows
Also adds support for package upgrade testing which was not originally in this workflow as there were no prior published package versions to test upgrading from.
2021-09-22 15:25:13 +02:00
Ximon Eighteen f89b2a87b3 Remove unused line and enable push to Docker Hub. 2021-09-16 12:52:46 +02:00
Ximon Eighteen e8a3d18492 Attempt to correct if else syntax in workflow expression. 2021-09-16 12:38:15 +02:00
Ximon Eighteen 0031977708 Put the workflow file in the correct directory... 2021-09-16 12:34:22 +02:00
Ximon Eighteen e540d08c36 Temporarily workaround a cargo-generate-rpm issue 2021-07-27 16:50:56 +02:00
Ximon Eighteen 40b75fc6b8 Target doesn't exist yet, permit it to be created. 2021-05-31 15:32:50 +02:00
Martin Hoffmann 4323fdcefb Merge pull request #568 from NLnetLabs/rust-1.47
Update minimal Rust version to 1.47.
2021-05-31 15:17:57 +02:00
Ximon Eighteen e30777c185 Build Routinator RPM packages (#566)
Build and test RPMs for CentOS 7 & 8:
- Add a new RPM packaging workflow. We should probably merge this into the main packaging workflow.
- Move packaging scripts under pkg
- Move the generated Debian changelog under target/debian/.
- Inform the user what the `routinator-init` script is trying to do, useful in case it fails (e.g. because it can't find a way to become the 'routinator' user).
- Don't run routinator-init as sudo when root.
- Set cargo-deb search paths correctly for new pkg/ directory structure.
2021-05-31 14:46:22 +02:00
Martin Hoffmann d146a8e215 Update minimal Rust version to 1.47. 2021-05-27 11:09:40 +02:00
Ximon Eighteen 52df9b08d5 Add a new RPM packaging workflow for PR #566 (as it doesn't exist for GH Actions until it is on main). Note: the PR is still in progress, this commit is just to see if we can kick GH Actions to run the new workflow for the PR. The required changes in Cargo.toml are NOT present yet in main. 2021-05-26 22:47:45 +02:00
Martin Hoffmann e90fed1014 Re-enable Windows for CI workflow. 2021-05-10 10:20:53 +02:00
Martin Hoffmann d7d8863654 Temporariyl disable Windows CI. 2021-05-03 13:40:17 +02:00
Ximon Eighteen 69eccc05d2 Use --locked everywhere to ensure that Routinator builds consistently use the same dependency versions as those locked by the Cargo.lock file. (#501) 2021-04-06 16:26:10 +02:00
Martin Hoffmann 0734142822 Bump minimum supported Rust version to 1.45. 2021-03-30 16:20:27 +02:00