nixbld: use store_uri for hydra

Note that binary_cache_secret_key_file is actually not ignored, contrary to what the hydra warning message says.
binary_cache_secret_key_file is used by the perl code, when hydra itself as acting as a binary cache (over http), but store-uri is used by the c++ code, when the queue-runner is copying artifacts into whatever the store-uri is
This mess ought to be cleaned up in hydra at some point.
This commit is contained in:
Sebastien Bourdeauducq 2019-09-18 17:35:35 +08:00
parent 361d7445a5
commit ef80154c64
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
minimumDiskFreeEvaluator = 1; minimumDiskFreeEvaluator = 1;
extraConfig = extraConfig =
'' ''
store_uri = auto?secret-key=/etc/nixos/secret/nixbld.m-labs.hk-1
binary_cache_secret_key_file = /etc/nixos/secret/nixbld.m-labs.hk-1 binary_cache_secret_key_file = /etc/nixos/secret/nixbld.m-labs.hk-1
max_output_size = 10000000000 max_output_size = 10000000000