mlabs-haskell / spo-anywhere

Install Cardano nodes anywhere with the help of NixOS
https://mlabs-haskell.github.io/spo-anywhere/
Apache License 2.0
1 stars 0 forks source link

Run `nixos-anywhere` in NixOS tests #24

Closed aciceri closed 1 month ago

aciceri commented 4 months ago

The goal of this issue is just checking the feasibility. For the project purposes it would be nice running nixos-anywhere in a NixOS test, to do this I believe there are at least two possibilities:

We need KVM for both solutions (possibly also nested KVM). For this issue we can simply to not run these tests in CI but before delivering the milestone 3 we need to update the Hercules CI agent and enable KVM on CI.

PS: apparently nixos-anywhere itself implements a test that dynamically creates a new host (still NixOS if I understand it correctly). I believe it could be a good starting point: https://github.com/nix-community/nixos-anywhere/blob/main/tests/from-nixos.nix

nrutledge commented 2 months ago

Closed by #31