data.deploy.target.update-ingest-config ​
Configure webhook auto-release on a DeploymentTarget: image_repo, tag_filter_regex, auto_release. Each field optional; only supplied ones are written.
Update image_repo / tag_filter_regex / auto_release on a DeploymentTarget.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-deployments |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the organization that owns the target |
deployment_target_uuid | uuid | Yes | — | UUID of the DeploymentTarget to configure |
image_repo | string | No | — | Registry path like 'ghcr.io/acme/billing'. Substring-matched against the GitHub repo full_name on webhook ingest. Pass empty string to clear. |
tag_filter_regex | string | No | — | Optional Python regex applied to release tag. Pass empty string to clear. |
auto_release | boolean | No | — | Opt-in toggle. When True, matching GitHub release events fan out to deploy.release.start. |
registry_repository_uuid | uuid | No | — | UUID of a synced RegistryRepository. When set, release.start derives the pull URI from this repo + its RegistryAccount instead of from image_template. Pass empty string to clear. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
deployment_target_uuid | uuid | Yes | — | — |
image_repo | string | No | — | — |
tag_filter_regex | string | No | — | — |
auto_release | boolean | Yes | — | — |
registry_repository_uuid | uuid | No | — | — |
changed | boolean | Yes | — | True when this run mutated the row |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Update ingest config |
completed | No | Yes | Yes | — | Saved |
failed | No | Yes | No | — | Update failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.deploy.target.update-ingest-config",
"initial_data": {
"organization_uuid": "value",
"deployment_target_uuid": "value"
}
}