rlsbl v0.92.0 /rlsbl.pipelines.protocol
On this page

Pipeline protocol defining the formal interface that all pipeline implementations must satisfy for publishing, asset building, and scaffolding.

#rlsbl.pipelines.protocol

#rlsbl.pipelines.protocol

Pipeline protocol defining the formal interface that all pipeline implementations must satisfy for publishing, asset building, and scaffolding.

#Pipeline

Protocol defining a release pipeline.

Pipelines handle publishing, asset building, and CI template generation for a specific publish mechanism (e.g. pypi, npm, docker, cloudflare-pages).

#publish

python
def publish(self, dir_path: str, version: str, ctx) -> None

#build_assets

python
def build_assets(self, dir_path: str, version: str, dist_dir: str, ctx) -> list[str]

#template_dir

python
def template_dir(self) -> str | None

#template_mappings

python
def template_mappings(self, ctx) -> list[dict[str, str]]

#required_env_vars

python
def required_env_vars(self) -> list[str]