nixos/nextcloud: run tests against each Nextcloud instance

This commit is contained in:
Maximilian Bosch
2021-10-01 17:03:32 +02:00
parent 66edc1e846
commit 10703a8c92
4 changed files with 32 additions and 11 deletions

View File

@@ -1,4 +1,6 @@
import ../make-test-python.nix ({ pkgs, ...}: let
args@{ pkgs, nextcloudVersion ? 22, ... }:
(import ../make-test-python.nix ({ pkgs, ...}: let
adminpass = "hunter2";
adminuser = "custom-admin-username";
in {
@@ -17,6 +19,7 @@ in {
services.nextcloud = {
enable = true;
hostName = "nextcloud";
package = pkgs.${"nextcloud" + (toString nextcloudVersion)};
caching = {
apcu = false;
redis = true;
@@ -96,4 +99,4 @@ in {
"${withRcloneEnv} ${diffSharedFile}"
)
'';
})
})) args