Skip to content

Commit dbbf12c

Browse files
authored
Increase all slurm timeouts to 30 minutes (#21)
Related to #20 --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/WATonomous/slurm-gha/issues/20?shareId=XXXX-XXXX-XXXX-XXXX).
1 parent cecfd4a commit dbbf12c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

runner_size_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ def get_runner_resources(runner_label):
77
Based on https://github.com/WATonomous/infra-config/blob/b604376f4ee9fa3336b11dc084ba90b962ec7ee1/kubernetes/github-arc/get-config.py#L120-L142
88
"""
99
if runner_label == "slurm-runner-small":
10-
return {"cpu" : 1, "mem-per-cpu" : "2G", "tmpdisk" : 4096, "time" : "00:15:00"}
10+
return {"cpu" : 1, "mem-per-cpu" : "2G", "tmpdisk" : 4096, "time" : "00:30:00"}
1111
elif runner_label == "slurm-runner-medium":
12-
return {"cpu" : 2, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:20:00"}
12+
return {"cpu" : 2, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:30:00"}
1313
elif runner_label == "slurm-runner-large":
14-
return {"cpu" : 4, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:25:00"}
14+
return {"cpu" : 4, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:30:00"}
1515
elif runner_label == "slurm-runner-xlarge":
1616
return {"cpu" : 16, "mem-per-cpu" : "2G", "tmpdisk" : 16384, "time" : "00:30:00"}
1717
else:

0 commit comments

Comments
 (0)