deploy_registry_codebundle
Deploy a pre-built registry codebundle to a workspace as an SLX. Uses repo URL, codebundle path, and other registry values for configuration.
Instructions
Deploy a registry codebundle as an SLX to a workspace.
Unlike commit_slx (which embeds inline scripts via the Tool Builder codebundle), this deploys a pre-built codebundle from its own codecollection repository. The runbook.robot / sli.robot live in the codebundle's git repo — no inline script is needed.
Use search_registry + get_registry_codebundle to find the right codebundle, then call this tool with the values from the registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git branch/tag for the codecollection. | main |
| data | No | 'logs-bulk', 'config', or 'logs-stacktrace'. | logs-bulk |
| tags | No | Resource tags ({name, value} dicts). | |
| alias | Yes | Human-readable display name (e.g. 'Namespace Health'). | |
| access | No | 'read-only' or 'read-write'. | read-only |
| branch | No | Workspace config branch. | main |
| owners | No | Owner emails (defaults to current user). | |
| location | Yes | Runner location (use get_workspace_locations). | |
| repo_url | Yes | Git URL of the codecollection. | |
| slx_name | Yes | Short SLX name (lowercase-kebab-case). | |
| hierarchy | No | Tag names for hierarchical grouping. | |
| image_url | No | Icon URL for the SLX. | |
| statement | Yes | SLX statement (e.g. 'All pods should be running'). | |
| deploy_sli | No | Also deploy the SLI (health indicator). | |
| config_vars | No | Codebundle config variables. | |
| secret_vars | No | Secret mappings (e.g. {'kubeconfig': 'kubeconfig'}). | |
| resource_path | No | Resource path for search indexing. | |
| commit_message | No | Custom commit message. | |
| deploy_runbook | No | Deploy the runbook (task). | |
| workspace_name | Yes | Target workspace (e.g. 't-oncall'). | |
| codebundle_path | Yes | Path to codebundle dir (e.g. 'codebundles/k8s-namespace-healthcheck'). | |
| sli_description | No | Description for the SLI metric. | |
| sli_interval_seconds | No | SLI run interval in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |