From 91265f9638f1209f6d27731b1e4e4b4c76cd6855 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Thu, 8 Aug 2024 09:27:55 +1000 Subject: [PATCH] terraform/hydra-nixpkgs: add check_interval --- terraform/hydra-nixpkgs.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/terraform/hydra-nixpkgs.tf b/terraform/hydra-nixpkgs.tf index 2800fcc..98dd585 100644 --- a/terraform/hydra-nixpkgs.tf +++ b/terraform/hydra-nixpkgs.tf @@ -5,6 +5,7 @@ locals { description = "Testing CUDA support. Come help the CUDA team! https://nixos.org/community/teams/cuda/" nixpkgs_channel = "https://github.com/NixOS/nixpkgs.git nixos-unstable-small" nixpkgs_release_file = "pkgs/top-level/release-cuda.nix" + check_interval = 1800 scheduling_shares = 6000 supported_systems = "[ \"x86_64-linux\" ]" } @@ -13,6 +14,7 @@ locals { description = "Testing CUDA support. Come help the CUDA team! https://nixos.org/community/teams/cuda/" nixpkgs_channel = "https://github.com/NixOS/nixpkgs.git nixos-24.05-small" nixpkgs_release_file = "pkgs/top-level/release-cuda.nix" + check_interval = 1800 scheduling_shares = 6000 supported_systems = "[ \"x86_64-linux\" ]" } @@ -21,6 +23,7 @@ locals { description = "Testing ROCm support." nixpkgs_channel = "https://github.com/NixOS/nixpkgs.git nixos-unstable-small" nixpkgs_release_file = "pkgs/top-level/release-cuda.nix" + check_interval = 1800 scheduling_shares = 6000 supported_systems = "[ \"x86_64-linux\" ]" variant = "rocm" @@ -75,7 +78,7 @@ resource "hydra_jobset" "nixpkgs_jobset" { notify_committers = false } - check_interval = 1800 + check_interval = each.value.check_interval scheduling_shares = each.value.scheduling_shares keep_evaluations = 1