Skip to content

Commit

Permalink
build multiple branches
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Jul 3, 2024
1 parent 19715aa commit df44813
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions terraform/hydra-projects.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ resource "hydra_project" "nixpkgs" {
}

resource "hydra_jobset" "nixpkgs_cuda" {
for_each = toset(["nixos-unstable", "master"])

project = hydra_project.nixpkgs.name
state = "enabled"
visible = true
name = "cuda"
name = "cuda-${each.value}"
type = "legacy"
description = "Testing CUDA support. Come help the CUDA team! https://nixos.org/community/teams/cuda/"

Expand All @@ -96,7 +98,7 @@ resource "hydra_jobset" "nixpkgs_cuda" {
input {
name = "nixpkgs"
type = "git"
value = "https://github.com/NixOS/nixpkgs.git nixos-unstable"
value = "https://github.com/NixOS/nixpkgs.git ${each.value}"
notify_committers = false
}

Expand Down

0 comments on commit df44813

Please sign in to comment.