File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 228228SLURM_SSH_AUTH_TIMEOUT = float (os .getenv ("SLURM_SSH_AUTH_TIMEOUT" , "60" ))
229229"""Seconds to wait for SLURM SSH authentication response."""
230230
231- USE_KUEUE = bool (strtobool (os .getenv ("USE_KUEUE " , "False" )))
231+ KUEUE_ENABLED = bool (strtobool (os .getenv ("KUEUE_ENABLED " , "False" )))
232232"""Whether to use Kueue to manage job execution."""
233233
234234KUEUE_LOCAL_QUEUE_NAME = "local-queue-job"
Original file line number Diff line number Diff line change 6363 REANA_KUBERNETES_JOBS_MAX_USER_MEMORY_REQUEST ,
6464 REANA_KUBERNETES_JOBS_MAX_USER_MEMORY_LIMIT ,
6565 REANA_USER_ID ,
66- USE_KUEUE ,
66+ KUEUE_ENABLED ,
6767 KUEUE_LOCAL_QUEUE_NAME ,
6868)
6969from reana_job_controller .errors import ComputingBackendSubmissionError
@@ -183,7 +183,7 @@ def execute(self):
183183 "namespace" : REANA_RUNTIME_KUBERNETES_NAMESPACE ,
184184 "labels" : (
185185 {"kueue.x-k8s.io/queue-name" : KUEUE_LOCAL_QUEUE_NAME }
186- if USE_KUEUE
186+ if KUEUE_ENABLED
187187 else {}
188188 ),
189189 },
You can’t perform that action at this time.
0 commit comments