snabblab / snabblab-nixos

NixOS configuration for the Snabb Lab
59 stars 17 forks source link

Provide simple instructions/script to run nix build distributed on lab machines #35

Open domenkozar opened 8 years ago

domenkozar commented 8 years ago

http://nixos.org/nix/manual/#chap-distributed-builds

idea: just build a script with snabblab and add it to snabblab jobset

domenkozar commented 8 years ago

If something is built on eiger, it's distributed over the build machines.

This is not something I've proved with hard facts yet, but I've observed that Hydra and local invocations don't use the same counters so for example build1 is now building two kernels while the rest of 3 machines are idle.

domenkozar commented 8 years ago

This is almost what's needed: https://github.com/NixOS/nixpkgs/issues/16263