Skip to content

support max-parallel calls #892

@pharindoko

Description

@pharindoko

Hey,

I have the case that one of my colleagues built up a matrix with 40 jobs and limited it with max-parallel option to 5....
https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#defining-the-maximum-number-of-concurrent-jobs

The issue:
This triggers in background still all 40 calls and the step functions to create ec2s, but only 5 jobs will start immediately while the other jobs and ec2-instances are idle and will timeout after 10 minutes.

Usually one job runs for minimum 1 hour and I would not like to run all those instances in idle mode for that timeframe without doing anything.

Any idea how to deal with this ?

br,

@pharindoko

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions