From 060a8f28fa1fc648bdf66afb31a5d1efac868837 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 28 Jul 2023 22:24:15 +0200 Subject: makefu: move out to own repo, add vacation-note --- makefu/2configs/hydra/stockholm.nix | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 makefu/2configs/hydra/stockholm.nix (limited to 'makefu/2configs/hydra') diff --git a/makefu/2configs/hydra/stockholm.nix b/makefu/2configs/hydra/stockholm.nix deleted file mode 100644 index 35999ae57..000000000 --- a/makefu/2configs/hydra/stockholm.nix +++ /dev/null @@ -1,33 +0,0 @@ -# iterative: -# $ hydra-create-user krebs --password derp --role admin -# curl 'http://hydra.wbob.r/project/.new' -X PUT -H 'Host: hydra.wbob.r' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Requested-With: XMLHttpRequest' -H 'Cookie: redirect_to=%252F; hydra_session=abcdefghijklmnopqrstuvwxyz' -H 'Connection: keep-alive' --data 'enabled=on&visible=on&name=stockholm&displayname=Stockholm&description=make+all+systems+into+1systems&homepage=https%3A%2F%2Fkrebsco.de&owner=krebs&declfile=spec.json&decltype=git&declvalue=http%3A%2F%2Fcgit.euer.krebsco.de%2Fhydra-stockholm' - -{ - - # TODO postgres backup - - services.hydra = { - enable = true; - hydraURL = "http://hydra.wbob.r"; # externally visible URL - notificationSender = "hydra@wbob.r"; - # you will probably also want, otherwise *everything* will be built from scratch - useSubstitutes = true; - port = 3030; - buildMachinesFiles = []; - }; - - networking.firewall.allowedTCPPorts = [ 80 ]; - services.nginx = { - enable = true; - virtualHosts."hydra.wbob.r" = { - locations."/" = { - proxyPass = "http://localhost:3030/"; - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - ''; - }; - }; - }; -} -- cgit v1.2.3