Merge pull request #287819 from Ma27/nc-regression-test

nixos/nextcloud: add regression test for not delivering code anymore
This commit is contained in:
Maximilian Bosch 2024-02-21 14:14:28 +01:00 committed by GitHub
commit b0e2f85051
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ in {
}; };
extraAppsEnable = true; extraAppsEnable = true;
extraApps = { extraApps = {
inherit (pkgs."nextcloud${lib.versions.major config.services.nextcloud.package.version}Packages".apps) notify_push; inherit (pkgs."nextcloud${lib.versions.major config.services.nextcloud.package.version}Packages".apps) notify_push notes;
}; };
settings.trusted_proxies = [ "::1" ]; settings.trusted_proxies = [ "::1" ];
}; };
@ -92,5 +92,7 @@ in {
# redis cache should not be empty # redis cache should not be empty
nextcloud.fail('test "[]" = "$(redis-cli --json KEYS "*")"') nextcloud.fail('test "[]" = "$(redis-cli --json KEYS "*")"')
nextcloud.fail("curl -f http://nextcloud/nix-apps/notes/lib/AppInfo/Application.php")
''; '';
})) args })) args