Skip to content

Dynamic container jobs #311

@wneirynck

Description

@wneirynck

Currently jobs are fully resolved at script initialization, which means MonkeyCI expects a sequence of jobs, either container or action jobs. We could make this more flexible by not resolving functions at initialization time, but the problem is we don't known which other jobs it's dependent on.

An alternative is to allow action jobs to create container jobs. We would have to see how this could be implemented though.

Or we could allow container jobs to have an "initializer" function, which is invoked at job startup time, and should return the job configuration (instead of providing it at config time).

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