From 687eddccc2794d46d96f6372a885687e9dd9c323 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Mon, 18 Mar 2024 09:11:58 +0100 Subject: [PATCH] fix: Pass resources to manually schedules jobs This fixes a bug that pipelines weren't scheduled when triggered manually. --- .../capellacollab/projects/toolmodels/backups/runs/interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/capellacollab/projects/toolmodels/backups/runs/interface.py b/backend/capellacollab/projects/toolmodels/backups/runs/interface.py index c048c18d3..2e4ccde14 100644 --- a/backend/capellacollab/projects/toolmodels/backups/runs/interface.py +++ b/backend/capellacollab/projects/toolmodels/backups/runs/interface.py @@ -80,6 +80,7 @@ def _schedule_pending_jobs(): pending_run.pipeline.t4c_password, pending_run.pipeline.include_commit_history, ), + tool_resources=pending_run.pipeline.model.tool.config.resources, ) pending_run.reference_id = job_name pending_run.status = models.PipelineRunStatus.SCHEDULED