-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge staging-next-23.11 into staging-23.11
- Loading branch information
Showing
73 changed files
with
922 additions
and
428 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,23 @@ import ./make-test-python.nix ({ pkgs, ... }: { | |
security.acme.acceptTerms = true; | ||
security.acme.defaults.email = "[email protected]"; | ||
security.acme.defaults.server = "https://example.com"; # self-signed only | ||
|
||
specialisation.caddy = { | ||
inheritParentConfig = true; | ||
configuration = { | ||
services.jitsi-meet = { | ||
caddy.enable = true; | ||
nginx.enable = false; | ||
}; | ||
services.caddy.virtualHosts.${config.services.jitsi-meet.hostName}.extraConfig = '' | ||
tls internal | ||
''; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
||
testScript = '' | ||
testScript = { nodes, ... }: '' | ||
server.wait_for_unit("jitsi-videobridge2.service") | ||
server.wait_for_unit("jicofo.service") | ||
server.wait_for_unit("nginx.service") | ||
|
@@ -41,6 +54,15 @@ import ./make-test-python.nix ({ pkgs, ... }: { | |
) | ||
client.wait_for_unit("network.target") | ||
assert "<title>Jitsi Meet</title>" in client.succeed("curl -sSfkL http://server/") | ||
def client_curl(): | ||
assert "<title>Jitsi Meet</title>" in client.succeed("curl -sSfkL http://server/") | ||
client_curl() | ||
with subtest("Testing backup service"): | ||
server.succeed("${nodes.server.system.build.toplevel}/specialisation/caddy/bin/switch-to-configuration test") | ||
server.wait_for_unit("caddy.service") | ||
client_curl() | ||
''; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.