runner.acr-registry-mirror-teardown ​
Delete an ACR cache-rule mirror, its credential set and backing secrets (operator-only)
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-azure |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | Runner group the mirror belongs to. |
organization_uuid | uuid | No | — | Organization UUID; resolved from the group when omitted. |
delete_secrets | boolean | No | — | Also purge the Key Vault secrets. Defaults to True; set False to retain them for reuse. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | No | — | Runner group echoed from input. |
organization_uuid | uuid | No | — | Organization UUID resolved for the group. |
registry_name | string | No | — | Target Azure Container Registry. |
resource_group | string | No | — | Resource group holding the registry. |
upstream_url | string | No | — | Upstream registry the mirror fronts. |
mirror_uuid | uuid | No | — | AcrRegistryMirror row this run operates on. |
cache_rule_deleted | boolean | No | — | True when the cache rule was removed or already absent. |
credential_set_deleted | boolean | No | — | True when the credential set was removed or already absent. |
secrets_deleted | boolean | No | — | True when the Key Vault secrets were removed. |
completed_at | string | No | — | ISO timestamp when the operation finalised. |
failure_type | string | No | — | Engine exception class. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Failed DAG layer if engine supplies one. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failed_at | string | No | — | ISO failure timestamp. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | validate | — |
deleting_cache_rule | No | No | — | delete_credential_set | — |
deleting_credential_set | No | No | — | delete_secrets | — |
deleting_secrets | No | No | — | finalize | — |
finalizing | No | No | — | complete | — |
validating | No | No | — | delete_cache_rule | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | validate | validating | — |
validating | delete_cache_rule | deleting_cache_rule | — |
deleting_cache_rule | delete_credential_set | deleting_credential_set | — |
deleting_credential_set | delete_secrets | deleting_secrets | — |
deleting_secrets | finalize | finalizing | — |
finalizing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.acr-registry-mirror-teardown",
"initial_data": {
"runner_group_uuid": "value"
}
}