mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-24 17:23:34 +01:00
fix nixos test
This commit is contained in:
parent
1ee86bb224
commit
e7b0b5bf3e
@ -6,6 +6,9 @@
|
||||
imports = [
|
||||
self.nixosModules.nixos-wiki
|
||||
];
|
||||
networking.extraHosts = ''
|
||||
127.0.0.1 nixos-wiki.example.com
|
||||
'';
|
||||
security.acme.defaults.email = "admin@example.com";
|
||||
services.nixos-wiki = {
|
||||
hostname = "nixos-wiki.example.com";
|
||||
@ -29,7 +32,7 @@
|
||||
machine.wait_for_unit("phpfpm-mediawiki.service")
|
||||
machine.wait_for_unit("nginx.service")
|
||||
|
||||
page = machine.succeed("curl -vL http://localhost/")
|
||||
page = machine.succeed("curl -vL http://nixos-wiki.example.com/")
|
||||
assert "MediaWiki has been installed" in page
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user