Add vmTest for Nixinate #16

Merged
MatthewCroughan merged 4 commits from mc/tests into master 2022-04-24 23:52:18 +00:00
MatthewCroughan commented 2022-04-19 04:38:56 +00:00 (Migrated from github.com)

This initializes ./test/default.nix which is referred to by the flake.nix under the checks attribute. This default.nix should point to all future tests, where they can be looked up and ran like:

nix build .#checks.x86_64-linux.vmTest

The test included is a simple NixOS VM Test. It uses Nixinate to deploy a machine with services.nginx.enable = true set, and tests whether nginx.service is started and reachable after deployment

This initializes `./test/default.nix` which is referred to by the flake.nix under the `checks` attribute. This default.nix should point to all future tests, where they can be looked up and ran like: `nix build .#checks.x86_64-linux.vmTest` The test included is a simple NixOS VM Test. It uses Nixinate to deploy a machine with `services.nginx.enable = true` set, and tests whether nginx.service is started and reachable after deployment
MatthewCroughan commented 2022-04-19 04:51:57 +00:00 (Migrated from github.com)

I still need to make a test for buildOn = "remote"

I still need to make a test for `buildOn = "remote"`
Sign in to join this conversation.
No description provided.