1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

43 Commits

Author SHA1 Message Date
f49123802b FIX: Ensure rc Docker images are v prefixed 2021-09-27 12:12:05 +02:00
0af39526cf Delete the RPM workflow as it has been merged into the PKG workflow 2021-09-22 16:22:10 +02:00
c4f34f7397 Fix apparently never before used RPM upgrade check 2021-09-22 16:13:23 +02:00
22919eaab8 Install missing packages 2021-09-22 15:37:50 +02:00
61de4cf223 Fix incorrect job name. 2021-09-22 15:28:20 +02:00
2fcac1e9ce Remove errant run line from pkg.yml. 2021-09-22 15:26:46 +02:00
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
f89b2a87b3 Remove unused line and enable push to Docker Hub. 2021-09-16 12:52:46 +02:00
e8a3d18492 Attempt to correct if else syntax in workflow expression. 2021-09-16 12:38:15 +02:00
0031977708 Put the workflow file in the correct directory... 2021-09-16 12:34:22 +02:00
e540d08c36 Temporarily workaround a cargo-generate-rpm issue 2021-07-27 16:50:56 +02:00
40b75fc6b8 Target doesn't exist yet, permit it to be created. 2021-05-31 15:32:50 +02:00
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
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
d146a8e215 Update minimal Rust version to 1.47. 2021-05-27 11:09:40 +02:00
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
e90fed1014 Re-enable Windows for CI workflow. 2021-05-10 10:20:53 +02:00
d7d8863654 Temporariyl disable Windows CI. 2021-05-03 13:40:17 +02:00
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
0734142822 Bump minimum supported Rust version to 1.45. 2021-03-30 16:20:27 +02:00
e9bfa53e52 Update pkg workflow to reflect upated dev version naming policy. 2021-03-15 14:39:09 +01:00
b598c9e239 Package only on pushes to branches or release tags. 2021-02-22 14:45:34 +01:00
20584dcea5 Only run Clippy on stable. 2021-02-17 09:50:04 +01:00
2e6cfb2ed0 Also use 1.44 in CI. 2021-01-06 13:18:50 +01:00
fbf86bf606 Minimum Rust version is now 1.43. 2021-01-06 13:05:12 +01:00
c646363d9b FIX: Use new GH Actions mechanisms for managing $PATH and environment variables, due to deprecation by GH. 2020-11-18 16:40:39 +01:00
d974fb995e Update Github workflows. 2020-10-19 14:01:17 +02:00
369c3176a4 Let systemd manage Routinator, as trying to drop privileges and ensure correct ownership of directories yourself under systemd seems to constantly come into conflict with systemd. Add a routinator-init script to simplify the user post install experience to reduce the chance of running routinator as the wrong user or with the wrong config file and thereby causing permission denied errors on rpki-cache directory files. 2020-09-29 15:19:12 +02:00
61b9d8eef1 Dump logs before checking startup status so we can bailout on a bad status but still see some logs. 2020-09-29 14:21:31 +02:00
f2d32de5c0 Dump Routinator logs after testing service startup. 2020-09-29 14:12:29 +02:00
d872f19553 List Routinator data directory after Routinator init to check ownership of created directories. 2020-09-29 13:58:46 +02:00
ab21b7d781 Wait longer to assess Routinator startup status. 2020-09-29 13:56:39 +02:00
3aec404b45 Have Routinator drop privileges in a system independent way (now that the init subcommand honours this) instead of adding user entries in systemd files, and keeping the minimal unit as minimal as it used to be. 2020-09-29 12:33:34 +02:00
da79b3964a Switch to official cargo-deb release that has the required systemd unit functionality. (#375)
* Use correct version number syntax.
2020-09-09 20:30:25 +02:00
6b61e845a6 Deb packaging automation (#360)
Build and sanity check modern and minimal Routinator .deb packages using cargo-deb and GitHub Actions.
Also test against Debian 11 (Contributed by @netravnen).
2020-09-09 15:03:30 +02:00
293d44dd22 Run ci workflow on branch or PR, not both.
See: https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662
2020-07-02 16:39:43 +02:00
ca97be99d2 Update minimum Rust version to 1.42. 2020-06-17 10:40:29 +02:00
e4c09d2380 Downgrade to requiring Rust 1.39. 2020-04-07 15:07:55 +02:00
7de61ab29a Minimum Rust version is now 1.40. 2020-04-07 11:58:50 +02:00
ddf8bd49b0 Add GitHub Sponsors for Organisations 2020-02-20 09:08:02 +01:00
7bc16e991d Link to NLnet Labs funding page 2020-02-03 16:54:23 +01:00
26a7401488 Fix typo. 2019-09-17 14:06:04 +02:00
4b8ebf1bcd Add a Github Actions workflow. 2019-09-17 13:46:01 +02:00