Workspaces
The warm workspaces and mirror commits workers hold, and evictions.
List workspaces
Workspaces, optionally by repo.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | Optional | |
limit | string | Optional | |
repo | string | Optional |
Response
datahas_morenext_cursor
curl "$CIRESK_API/v1/ci/workspaces" \
-H "Authorization: Bearer $CIRESK_KEY"Evict a workspace
Mark a workspace for eviction.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Required | The workspace's ID. |
Response
state
curl -X POST "$CIRESK_API/v1/ci/workspaces/ws_012011c5add7f80ffb87fb5416d433f9/evict" \
-H "Authorization: Bearer $CIRESK_KEY"