move nginx test to seperate directory

This commit is contained in:
Maximilian Güntner
2020-06-20 19:25:48 +02:00
parent 8925fea5dc
commit 1ee7b14c69
8 changed files with 9 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
tests/**/*.tar.gz

1
tests/result Symbolic link
View File

@@ -0,0 +1 @@
/nix/store/xrls5la280q72grq3rvx44z95xqscyjy-vm-test-run-unnamed

View File

@@ -0,0 +1,5 @@
{
nginx = {
nginx_7d0cdcc60a96 = { image = "${/home/max/code/nixos/docker/tests/static_registry/nginx/7d0cdcc60a96.tar.gz}"; tag = "nginx:7d0cdcc60a96"; };
};
}

View File

@@ -9,9 +9,9 @@ let
nginx_image = registry.nginx.nginx_7d0cdcc60a96; nginx_image = registry.nginx.nginx_7d0cdcc60a96;
in in
{ {
mytest = makeTest { nginx = makeTest {
machine = { ... }: { machine = { ... }: {
imports = [ ./default.nix ]; imports = [ ../default.nix ];
virtualisation.cores = 4; virtualisation.cores = 4;
virtualisation.memorySize = 1024; virtualisation.memorySize = 1024;