Commit f594fd54 authored by Valentin Reis's avatar Valentin Reis
Browse files

[hydr] ci changes

parent 41847e1f
No preview for this file type
......@@ -37,6 +37,7 @@ in
};
nix = {
package = pkgs.nixUnstable; trustedUsers = [ "hydra" ]; binaryCaches = [ "http://argo.freux.fr/cache" "https://cache.nixos.org" ];
useChroot = true;
nrBuildUsers = 30;
distributedBuilds = true;
......@@ -75,6 +76,7 @@ in
basicAuth = { argo = "${builtins.readFile ./auth_argo.secret}"; };
enableACME = true;
forceSSL = true;
locations."/cache".root="/var/lib/hydra-cache";
locations."/"= {
proxyPass="http://localhost:6080/";
extraConfig = ''
......@@ -109,8 +111,10 @@ in
notificationSender = "hydra@example.org";
port = 8080;
extraConfig = ''
store_uri = file:///var/lib/hydra-cache?secret-key=/etc/hydra.example.org-1/secret
using_frontend_proxy 1
base_uri argo.freux.fr/hydra
binary_cache_public_uri argo.freux.fr/cache
max_output_size = 4294967296
secret-key=/etc/nix/hydra.example.org-1/secret
'';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment