Skip to content

Commit

Permalink
fix: Pass resources to manually schedules jobs
Browse files Browse the repository at this point in the history
This fixes a bug that pipelines weren't scheduled when triggered manually.
  • Loading branch information
MoritzWeber0 committed Mar 18, 2024
1 parent bce139e commit 687eddc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 687eddc

Please sign in to comment.