Skip to content

Dynamic build plan generation #684

@vito

Description

@vito

This proposal is to add load: foo.yml as a primitive to build plans, allowing parts of the build plan to be dynamically generated while the build is running.

Original discussion:

This is a single change that would allow for the following:

As well as allowing resources to be dynamically configured:

There are some interesting implications to this, however.

  • We can no longer know the whole build plan up-front, so we'd need to dynamically render that. Might not be too bad; maybe we just keep saving the build plan as it changes, and the UI keeps up.
  • Dynamically created get steps obviously won't be able to trigger the job. I don't think this matters much as there'd probably always be a higher-level get (i.e. of the set of things to fetch) that would really trigger it anyway.
  • Config validation and parsing gets tricky, now that every value can technically be replaced with {load: ...}.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions