Skip to content
Proud to collaborate with Microsoft for Startups

gcp.artifactregistry.repository.ensure ​

Create or return a standard Docker Artifact Registry repository.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override.
locationstringYes—Artifact Registry location.
repository_idstringYes—Repository id.
descriptionstringNo—Repository description.
labelsjsonNo—Repository labels.
cleanup_policiesjsonNo—Optional cleanup policy payload.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project.
locationstringNo—Repository location.
repository_idstringNo—Repository id.
descriptionstringNo—Repository description.
labelsjsonNo—Repository labels.
cleanup_policiesjsonNo—Optional cleanup policy payload.
repository_namestringNo—Full provider repository name.
repository_uristringNo—Docker registry host/path prefix.
createdbooleanNo—True if created during this run.
repositoryjsonNo—Sanitized provider repository response.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
ensuringNoNo—complete—
preflightingNoNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecuteensuring—
ensuringcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.artifactregistry.repository.ensure",
  "initial_data": {
    "connection_uuid": "value",
    "location": "value",
    "repository_id": "value"
  }
}