about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorBruno BELANYI <bruno@belanyi.fr>2023-11-09 17:28:25 +0000
committerBruno BELANYI <bruno@belanyi.fr>2023-11-11 18:37:33 +0000
commit2fa56fcb3024dcdcc680493cb1d92628e214116a (patch)
treeb78a8007ad4865a3628340b436b205117602d460 /nixos/tests
parent3a3c1077f3eb2fef2b50ca40969a2deaa3a9fce7 (diff)
downloadnixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.tar
nixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.tar.gz
nixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.tar.bz2
nixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.tar.lz
nixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.tar.xz
nixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.tar.zst
nixlib-2fa56fcb3024dcdcc680493cb1d92628e214116a.zip
nixos/tests/tandoor-recipes: use SQLite
This is a work-around for getting the tests working until #216989 is
fixed.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/tandoor-recipes.nix25
1 files changed, 0 insertions, 25 deletions
diff --git a/nixos/tests/tandoor-recipes.nix b/nixos/tests/tandoor-recipes.nix
index 54456238fe63..f3369da99a05 100644
--- a/nixos/tests/tandoor-recipes.nix
+++ b/nixos/tests/tandoor-recipes.nix
@@ -3,33 +3,8 @@ import ./make-test-python.nix ({ lib, ... }: {
   meta.maintainers = with lib.maintainers; [ ambroisie ];
 
   nodes.machine = { pkgs, ... }: {
-    # Setup using Postgres
     services.tandoor-recipes = {
       enable = true;
-
-      extraConfig = {
-        DB_ENGINE = "django.db.backends.postgresql";
-        POSTGRES_HOST = "/run/postgresql";
-        POSTGRES_USER = "tandoor_recipes";
-        POSTGRES_DB = "tandoor_recipes";
-      };
-    };
-
-    services.postgresql = {
-      enable = true;
-      ensureDatabases = [ "tandoor_recipes" ];
-      ensureUsers = [
-        {
-          name = "tandoor_recipes";
-          ensurePermissions."DATABASE tandoor_recipes" = "ALL PRIVILEGES";
-        }
-      ];
-    };
-
-    systemd.services = {
-      tandoor-recipes = {
-        after = [ "postgresql.service" ];
-      };
     };
   };