Skip to content
Proud to collaborate with Microsoft for Startups

runner.environment-deletion-cloud-run ​

Delete Cloud Run environment for a runner group

Delete Cloud Run runner environment metadata for a runner group.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—Runner group whose Cloud Run environment will be deleted, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization that owns the runner group, injected server-side from the authenticated request.
workflow_run_idstringNo—Engine-stamped workflow run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—Runner group whose Cloud Run environment was deleted, picked from the organization's list of runner groups.
organization_uuiduuidNo—UUID of the caller's organization that owned the runner group, injected server-side from the authenticated request.
workflow_run_idstringNo—Engine-stamped workflow run ID
is_deletedbooleanNo—Whether the runner group itself is marked deleted
initiated_atstringNo—ISO timestamp stamped by build_runner_state when the workflow starts
failure_reasonstringNo—Populated only when the workflow ends in FAILED
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—prepare—
deletingNoNo—complete—
preparingNoNo—delete_environment—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedpreparepreparing—
preparingdelete_environmentdeleting—
deletingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.environment-deletion-cloud-run",
  "initial_data": {
    "runner_group_uuid": "value"
  }
}