reci.recipe
Recipe model — declarative CI pipeline description.
A recipe is a YAML file that looks like a GitHub Actions workflow but with
reci extensions: ${{ config.* }} references, bind: mappings for
input renaming, and outputs: annotations on run: steps.
- class reci.recipe.JobSpec(id: str, steps: list[~reci.recipe.StepSpec] = <factory>, needs: list[str] = <factory>, if_: str | None = None, runs_on: str = 'ubuntu-latest', strategy: dict | None = None, permissions: dict | None = None, continue_on_error: bool = False, env: dict[str, str] = <factory>)[source]
One job inside a recipe.
- class reci.recipe.Recipe(name: str, on: ~typing.Any, jobs: dict[str, ~reci.recipe.JobSpec] = <factory>, env: dict[str, str] = <factory>, defaults: dict | None = None)[source]
A complete reci recipe.