runner.environment-update-cloud-run ​
Update Cloud Run environment for a runner group
Update Cloud Run runner environment metadata after config changes.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | Runner group whose Cloud Run config changed |
organization_uuid | uuid | No | — | Organization UUID that owns the runner group |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | Runner group whose Cloud Run config was refreshed |
organization_uuid | uuid | No | — | Organization UUID that owns the runner group |
project_id | string | No | — | GCP project ID for the runner group |
region | string | No | — | Cloud Run region for the runner group |
requires_cloud_run_registry_mirror | boolean | No | — | Whether the runner group needs an Artifact Registry mirror after the update |
failure_reason | string | No | — | Populated only when the workflow ends in FAILED |
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 |
|---|---|---|---|---|---|
initiated | Yes | No | — | prepare | — |
preparing | No | No | — | update_environment | — |
updating | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | prepare | preparing | — |
preparing | update_environment | updating | — |
updating | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.environment-update-cloud-run",
"initial_data": {
"runner_group_uuid": "value"
}
}