Skip to content
Proud to collaborate with Microsoft for Startups

runner.ensure_acr_mirror_repository ​

Upsert the ACR cache rule backing the mirror

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-runners-azure
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—Runner group the mirror belongs to.
organization_uuiduuidNo—Organization UUID; resolved from the group when omitted.
workflow_run_idstringNo—DAG step parent run ID (stamped by engine)

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—Runner group echoed from input.
organization_uuiduuidNo—Organization UUID resolved for the group.
registry_namestringNo—Target Azure Container Registry.
resource_groupstringNo—Resource group holding the registry.
upstream_urlstringNo—Upstream registry the mirror fronts.
mirror_uuiduuidNo—AcrRegistryMirror row this run operates on.
cache_rule_refstringNo—ARM id of the cache rule.
credential_set_refstringNo—ARM id of the bound credential set.
target_repositorystringNo—Local repository path the mirror publishes under.
completed_atstringNo—ISO timestamp when the operation finalised.
failure_typestringNo—Engine exception class.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "runner.ensure_acr_mirror_repository",
  "initial_data": {
    "runner_group_uuid": "value"
  }
}