Skip to content

Commit

Permalink
configured tests to run
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Popov committed Sep 12, 2024
1 parent f7e87eb commit 2dbcc46
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: project-e00pjzzrtk1fs3yavy
runs-on: ubuntu-latest
strategy:
max-parallel: 2
max-parallel: 3
matrix:
solution:
- name: k8s-inference
Expand Down
1 change: 1 addition & 0 deletions k8s-training/tests/main.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ run "create_cluster" {
variables {
enable_loki = false # TODO: Disabling Loki since not possible to delete non-empty storage bucket
test_mode = true
infiniband_fabric = "fabric-4"
}

assert {
Expand Down
2 changes: 1 addition & 1 deletion slurm/gpu_cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
resource "nebius_compute_v1_gpu_cluster" "gpu-cluster-slurm" {
parent_id = var.parent_id
name = "gpu-cluster-slurm"
infiniband_fabric = "fabric-3"
infiniband_fabric = var.infiniband_fabric
}
1 change: 1 addition & 0 deletions slurm/tests/main.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ run "create_cluster" {
variables {
cluster_workers_count = 2
test_mode = true
infiniband_fabric = "fabric-4"
}
}
7 changes: 7 additions & 0 deletions slurm/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,10 @@ variable "test_mode" {
type = bool
default = false
}


variable "infiniband_fabric" {
description = "Infiniband's fabric name."
type = string
default = "fabric-4"
}

0 comments on commit 2dbcc46

Please sign in to comment.