Talk:Hydra: Difference between revisions
Latest comment: 31 December 2017 by Samueldr in topic Testing performance / jobset
imported>Samueldr Adds note about declarative hydra / spec files |
imported>Samueldr Adds a note about the build "process" that hydra does. |
||
Line 7: | Line 7: | ||
--[[User:Samueldr|samueldr]] ([[User talk:Samueldr|talk]]) 23:00, 18 December 2017 (UTC) | --[[User:Samueldr|samueldr]] ([[User talk:Samueldr|talk]]) 23:00, 18 December 2017 (UTC) | ||
== Testing performance / jobset == | |||
This may be of interest to integrate in the article: | |||
<blockquote> | |||
if you want to test hydra performance without fully configuring hydra, just try these 2 commands | |||
<syntaxhighlight lang=commands> | |||
nix-build '<nixpkgs>' -A hydra | |||
./result/bin/hydra-eval-jobs -I ~/nixpkgs/ ~/nixpkgs/pkgs/top-level/release.nix | |||
</syntaxhighlight> | |||
it will spit out a giant blob of json, chew up 4gig of ram, and write .drv files for every single package to the store | |||
</blockquote> | |||
<cite>https://github.com/NixOS/nixpkgs/issues/12203#issuecomment-183547626</cite> | |||
--[[User:Samueldr|samueldr]] ([[User talk:Samueldr|talk]]) 21:56, 31 December 2017 (UTC) |
Latest revision as of 21:56, 31 December 2017
Spec files
Declarative hydra, spec files, details should be added to the page.
- https://github.com/cleverca22/hydra-configs/blob/master/toxvpn/spec.json
- https://botbot.me/freenode/nixos/2017-12-18/?msg=94815767&page=12
--samueldr (talk) 23:00, 18 December 2017 (UTC)
Testing performance / jobset
This may be of interest to integrate in the article:
if you want to test hydra performance without fully configuring hydra, just try these 2 commands
nix-build '<nixpkgs>' -A hydra ./result/bin/hydra-eval-jobs -I ~/nixpkgs/ ~/nixpkgs/pkgs/top-level/release.nixit will spit out a giant blob of json, chew up 4gig of ram, and write .drv files for every single package to the store
https://github.com/NixOS/nixpkgs/issues/12203#issuecomment-183547626