create_release_plan
Generate a release plan for ALBS builds by specifying build ID, platform, and product, computing package-to-repository assignments without releasing.
Instructions
Create a release PLAN on ALBS. Requires JWT token.
Creates a "scheduled" release and computes which packages go to which repositories. It NEVER performs the actual release — nothing is published. Committing the plan (the real release) is intentionally not supported here.
The completed build tasks are collected automatically; the build must have completed tasks. Platform and product names are validated against ALBS — use get_platforms() and get_products() to see valid names.
Args: build_id: The build to release. platform: Target platform name (e.g. "AlmaLinux-9"). product: Target product name (e.g. "AlmaLinux", "epel-al"). Use get_products() to list available products. build_ids: Optional additional build ids to include in the same plan. whole_packages_only: When True, include only packages whose every architecture task completed (drop half-built packages). Use for a PARTIAL build superseded by a 'retry failed' build. Default: False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | ||
| build_id | Yes | ||
| platform | Yes | ||
| build_ids | No | ||
| whole_packages_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |