From 611da9a05164554a2e314ac0877b60e76799610b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 17 Feb 2019 23:19:36 +0800 Subject: [PATCH] run extended-tests in hydra --- nixbld-etc-nixos/configuration.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 638ce6c..dfa9466 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -132,10 +132,15 @@ ACTION=="add", SUBSYSTEM=="tty", \ minimumDiskFree = 2; # in GB minimumDiskFreeEvaluator = 1; buildMachinesFiles = []; - extraConfig = '' + extraConfig = + '' binary_cache_secret_key_file = /etc/nixos/secret/nixbld.m-labs.hk-1 max_output_size = 4294967296 - ''; + + job = artiq:main:extended-tests + command = nix-shell `jq -r .drvPath $HYDRA_JSON` --run "python `jq -r .outputs[0].path $HYDRA_JSON` $HYDRA_JSON" + + ''; }; nix.extraOptions = ''