mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/nextcloud: run tests against each Nextcloud instance
This commit is contained in:
parent
66edc1e846
commit
10703a8c92
4 changed files with 32 additions and 11 deletions
|
@ -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 = "root";
|
||||
in {
|
||||
|
@ -18,6 +20,7 @@ in {
|
|||
enable = true;
|
||||
hostName = "nextcloud";
|
||||
https = true;
|
||||
package = pkgs.${"nextcloud" + (toString nextcloudVersion)};
|
||||
caching = {
|
||||
apcu = true;
|
||||
redis = false;
|
||||
|
@ -96,4 +99,4 @@ in {
|
|||
"${withRcloneEnv} ${diffSharedFile}"
|
||||
)
|
||||
'';
|
||||
})
|
||||
})) args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue