artifact_promote_release
Promote immutable artifacts from staging to production release repositories without rebuilding, preserving provenance and cryptographic integrity for supply-chain promotion.
Instructions
Promote an immutable artifact from staging/snapshot to production release repository.
⚠️ CONFIRMATION-GATED MUTATING TOOL: Requires confirm=true to execute.
Promotes a tested, immutable component from staging (e.g. 'dev-local', 'maven-staging') to production release (e.g. 'prod-release', 'maven-releases') without rebuilding, maintaining complete provenance and cryptographic integrity.
Purpose: Supply-chain promotion between pipeline stages. When to Use: In Workflow 2 after integration/smoke tests pass. Behavior: MUTATING. Copies component to target release repository. Side Effects: Modifies target release repository contents.
Args: source_repo: Source repository key (e.g. 'dev-local', 'staging-repo') target_repo: Target release repository key (e.g. 'prod-release', 'maven-releases') artifact_or_build_name: Name of the artifact or build component (e.g. 'cart-service') version: Version string to promote (e.g. '1.5.0') confirm: Must be True to execute promotion (default: False) session_name: Session to use (default: 'default')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| version | Yes | ||
| source_repo | Yes | ||
| target_repo | Yes | ||
| session_name | No | default | |
| artifact_or_build_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |