-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The test suites for gbenchmark, hypothesis, libopus, sh, and tornado time out. httplib2's test suite indirectly depends on selenium, which doesn't build on RISC-V. SeleniumHQ/selenium#13194 The other disabled test suites fail for various cryptic reasons.
- Loading branch information
1 parent
df3a550
commit 8e9b65f
Showing
3 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ ... }: | ||
{ | ||
imports = [ ./hydra.nix ]; | ||
|
||
services.getty.autologinUser = "root"; | ||
|
||
services.openssh = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ pkgs, ... }: | ||
|
||
# Much of this module is based on or copied from the NixOS Hydra configuration | ||
# See https://github.com/NixOS/infra/blob/master/delft/hydra.nix | ||
|
||
{ | ||
services.hydra = { | ||
enable = true; | ||
hydraURL = "http://hydra.riscv.tunstall.xyz/"; | ||
notificationSender = "unused@localhost"; | ||
extraConfig = '' | ||
# NixOS Hydra bans IFD therefore so shall we | ||
allow_import_from_derivation = false | ||
# Limit the evaluator memory usage a bit | ||
evaluator_workers = 1 | ||
evaluator_max_memory_size = 2048 | ||
max_concurrent_evals = 1 | ||
max_output_size = 3221225472 # 3 << 30 = 3 GB | ||
# The default Git timeout (600) is too low to fetch Nixpkgs | ||
<git-input> | ||
timeout = 86400 | ||
</git-input> | ||
''; | ||
}; | ||
|
||
services.nginx = { | ||
enable = true; | ||
recommendedGzipSettings = true; | ||
recommendedOptimisation = true; | ||
recommendedProxySettings = true; | ||
recommendedTlsSettings = true; | ||
|
||
virtualHosts."hydra.riscv.tunstall.xyz" = { | ||
locations."/".proxyPass = "http://localhost:3000/"; | ||
}; | ||
}; | ||
|
||
# Work around https://github.com/NixOS/hydra/issues/1337 | ||
services.hydra.package = pkgs.hydra_unstable.overrideAttrs (final: prev: { | ||
postPatch = '' | ||
${prev.postPatch or ""} | ||
rm src/lib/Hydra/Plugin/DeclarativeJobsets.pm | ||
rm t/Hydra/Plugin/DeclarativeJobsets/basic.t | ||
''; | ||
}); | ||
|
||
networking.firewall.allowedTCPPorts = [ 80 ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters