Skip to content

Commit

Permalink
CI: change nix-build log format to be less noisy (#2625) (#2627)
Browse files Browse the repository at this point in the history
Also set max-silent-time to 1h.
This way if one of the derivations hangs, and doesn't output anything anymore for 1 hour,
 nix will detect it and report which one it was.

(cherry picked from commit ef194fe)

Co-authored-by: Leon Schoorl <[email protected]>
  • Loading branch information
mergify[bot] and leonschoorl authored Dec 19, 2023
1 parent 0dc313f commit 9414a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ nix-build:
before_script:
- nix-env -i gawk
script:
- nix-build -j$(./.ci/effective_cpus.sh)
- nix-build -j$(./.ci/effective_cpus.sh) --log-format raw --max-silent-time 3600
tags:
- local

Expand Down

0 comments on commit 9414a55

Please sign in to comment.