Commit graph

80 commits

Author SHA1 Message Date
Eelco Dolstra 2614fe21fb hydra-module.nix: Use startAt 2013-11-06 17:29:22 +01:00
Eelco Dolstra d710c1e443 hydra-module.nix: Fix setting the logo 2013-11-06 17:27:36 +01:00
Eelco Dolstra 243b05f1e7 hydra-module.nix: Use -p instead of HYDRA_PORT 2013-11-06 17:19:57 +01:00
Eelco Dolstra f4845cde00 hydra-module.nix: Make services require hydra-init 2013-11-06 17:09:24 +01:00
Eelco Dolstra 1f6304c876 hydra-module.nix: Don't use a password
If PostgreSQL is running on the same system, then the "hydra" user can
can connect without a password (via Unix domain socket
authentication), so no need to set up a password.  If PostgreSQL is on
another machine, then creating a user/database won't work anyway.
2013-11-06 17:07:25 +01:00
Eelco Dolstra ed69106c34 hydra-module.nix: Give types to options
Also, rename the "service.hydra.hydra" option to
"service.hydra.package" to be consistent with NixOS option naming
conventions.
2013-11-06 16:34:16 +01:00
Eelco Dolstra 6fc59aa0da hydra-module.nix: Remove the useWAL option
This is not a Hydra option but a Nix option so it shouldn't be here.
2013-11-06 16:17:11 +01:00
Eelco Dolstra 9dc3311ff7 hydra-module.nix: Don't create an admin user
It's the user's job to create users with the appropriate roles.
2013-11-06 16:15:53 +01:00
aszlig 484bcd10e2 hydra-module/compressLogs: Avoid creating /root/r.
We really don't need to touch a file in the current working directory
to find files that are older than one month. Since findutils 4.3.3 there
is a -newerXY option which allows to specify timestamps directly (as
with `date --date`).

But even when using a reference file, it really causes confusion if
people look into /root and try to debug where that misterious "r" file
is coming from.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-11-04 10:31:08 +01:00
aszlig da5824e11c hydra-module: Allow to specify the listen host.
It's currently possible to specify the port but not the address or
interface you want to listen on.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-09-25 14:48:13 +02:00
Shea Levy c476d13586 hydra-module.nix: Make it possible to add extra config lines
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-09-22 19:20:09 -04:00
Shea Levy 5efe8365ef Whoops
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-28 12:16:46 -04:00
Shea Levy 0c0cf4113e Add an option to run the hydra server in debug mode
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-28 11:11:09 -04:00
Shea Levy 10cad61231 Don't put ssmtp in hydra's paths
Some installations may want to use system-wide sendmail (i.e.
/run/setuid-wrappers/sendmail) and those that want ssmtp can add it to
hydra's path themselves.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-28 11:06:02 -04:00
Shea Levy 0bb568912b hydra-module.nix: Automatically create postgres db user for hydra and an admin hydra account
The initial password for the admin account can be found in /var/lib/hydra/.pgpass.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-28 11:05:03 -04:00
Peter Simons b0d6993a6c hydra-module.nix: update hydra-check-space for systemd
The "stop" alias is not available to this script when run from cron.
2013-04-11 10:48:07 +02:00
Shea Levy fb36de0f48 hydra-module: Set GIT_SSL_CAINFO for git over https
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-22 13:22:33 -04:00
Shea Levy 7cb2c13c88 hydra-module: Run hydra-init during hydra-init.service
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-22 13:22:00 -04:00
Shea Levy e4a8818bae hydra-module.nix: Cleanup
Remove some unnecessary configurability, remove all hydra.nixos.org
assumptions, remove some policy (e.g. nix.gc.automatic) that are
orthogonal to hydra.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-22 12:16:05 -04:00
Sander van der Burg d8e2dfc0ed Ported/merged properties from the TUD configuration's hydra-module 2013-03-22 13:58:08 +01:00
Eelco Dolstra 67aefde62c Remove trailing whitespace 2013-01-22 14:41:02 +01:00
Ludovic Courtès 94ba1ed71f hydra-module: Always GC to have at least 100 GiB available. 2012-06-14 10:57:55 +02:00
Ludovic Courtès 6411d991c7 hydra-module: Fix typo in the job name in `checkSpace'. 2012-06-14 10:17:33 +02:00
Ludovic Courtès 98255e84e6 hydra-module.nix: Remove `.pl' extension for binaries. 2011-12-02 15:47:31 +01:00
Rob Vermaas f6968d7d5b _ -> - 2011-11-30 12:26:35 -05:00
Ludovic Courtès c54c804dc9 hydra-module: Fix typo. 2011-05-05 10:11:13 +00:00
Ludovic Courtès d4664fd759 hydra-module: Add a `logo' option. 2011-05-05 10:07:59 +00:00
Ludovic Courtès dc9a118a04 hydra-module: Add a `port' option. 2011-05-05 10:07:56 +00:00
Ludovic Courtès 63500acc37 hydra-module: Remove `nix.*' settings. 2011-05-05 10:07:53 +00:00
Rob Vermaas a6c7870120 2011-05-05 06:27:38 +00:00