mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
9b79d5b298
By default the jenkins server is executed under the user "jenkins". Which can be configured using users.jenkins.* options. If a different user is requested by changing services.jenkins.user then none of the users.jenkins options apply. This patch does not include jenkins slave configuration. Some config options will probably change when this is implemented. Aspects like the user and environment are typically identical between slave and master. The service configs are different. The design is for users.jenkins to cover the shared aspects while services.jenkins and services.jenkins-slave cover the master and slave specific aspects, respectively. Another option would be to place everything under services.jenkins and have a config that selects master vs slave.
42 lines
1.7 KiB
Nix
42 lines
1.7 KiB
Nix
{ nixpkgs ? <nixpkgs>
|
|
, system ? builtins.currentSystem
|
|
, minimal ? false
|
|
}:
|
|
|
|
with import ../lib/testing.nix { inherit system minimal; };
|
|
|
|
{
|
|
avahi = makeTest (import ./avahi.nix);
|
|
bittorrent = makeTest (import ./bittorrent.nix);
|
|
firefox = makeTest (import ./firefox.nix);
|
|
firewall = makeTest (import ./firewall.nix);
|
|
installer = makeTests (import ./installer.nix);
|
|
efi-installer = makeTests (import ./efi-installer.nix);
|
|
gnome3 = makeTest (import ./gnome3.nix);
|
|
ipv6 = makeTest (import ./ipv6.nix);
|
|
jenkins = makeTest (import ./jenkins.nix);
|
|
kde4 = makeTest (import ./kde4.nix);
|
|
#kexec = makeTest (import ./kexec.nix);
|
|
login = makeTest (import ./login.nix {});
|
|
logstash = makeTest (import ./logstash.nix);
|
|
latestKernel.login = makeTest (import ./login.nix ({ config, pkgs, ... }: { boot.kernelPackages = pkgs.linuxPackages_latest; }));
|
|
misc = makeTest (import ./misc.nix);
|
|
#mpich = makeTest (import ./mpich.nix);
|
|
mysql = makeTest (import ./mysql.nix);
|
|
mysql_replication = makeTest (import ./mysql-replication.nix);
|
|
munin = makeTest (import ./munin.nix);
|
|
nat = makeTest (import ./nat.nix);
|
|
nfs3 = makeTest (import ./nfs.nix { version = 3; });
|
|
#nfs4 = makeTest (import ./nfs.nix { version = 4; });
|
|
openssh = makeTest (import ./openssh.nix);
|
|
#partition = makeTest (import ./partition.nix);
|
|
printing = makeTest (import ./printing.nix);
|
|
proxy = makeTest (import ./proxy.nix);
|
|
quake3 = makeTest (import ./quake3.nix);
|
|
simple = makeTest (import ./simple.nix);
|
|
#subversion = makeTest (import ./subversion.nix);
|
|
tomcat = makeTest (import ./tomcat.nix);
|
|
#trac = makeTest (import ./trac.nix);
|
|
xfce = makeTest (import ./xfce.nix);
|
|
runInMachine.test = import ./run-in-machine.nix { inherit system; };
|
|
}
|