1 { system ? builtins.currentSystem,
3 pkgs ? import ../.. { inherit system config; }
6 with import ../lib/testing-python.nix { inherit system pkgs; };
10 redmineTest = { name, type }: makeTest {
11 name = "redmine-${name}";
12 nodes.machine = { config, pkgs, ... }: {
15 package = pkgs.redmine;
18 redmine_env_auth = pkgs.fetchurl {
19 url = "https://github.com/Intera/redmine_env_auth/archive/0.7.zip";
20 sha256 = "1xb8lyarc7mpi86yflnlgyllh9hfwb9z304f19dx409gqpia99sc";
24 dkuk-redmine_alex_skin = pkgs.fetchurl {
25 url = "https://bitbucket.org/dkuk/redmine_alex_skin/get/1842ef675ef3.zip";
26 sha256 = "0hrin9lzyi50k4w2bd2b30vrf1i4fi1c0gyas5801wn8i7kpm9yl";
34 machine.wait_for_unit("redmine.service")
35 machine.wait_for_open_port(3000)
36 machine.succeed("curl --fail http://localhost:3000/")
39 meta.maintainers = [ maintainers.aanderse ];
42 sqlite3 = redmineTest { name = "sqlite3"; type = "sqlite3"; };
43 mysql = redmineTest { name = "mysql"; type = "mysql2"; };
44 pgsql = redmineTest { name = "pgsql"; type = "postgresql"; };