You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/docs/openapi/api.yaml
+70-3Lines changed: 70 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -965,9 +965,11 @@ paths:
965
965
- Actions
966
966
/api/actions/{id}/cancel:
967
967
post:
968
+
description: Immediately terminalizes one queued lifecycle action as cancelled before execution starts. Authenticated users only.
968
969
operationId: post_api_actions_id_cancel
969
970
parameters:
970
-
- in: path
971
+
- description: action id
972
+
in: path
971
973
name: id
972
974
required: true
973
975
schema:
@@ -983,17 +985,82 @@ paths:
983
985
content:
984
986
application/json:
985
987
schema:
986
-
$ref: '#/components/schemas/SuccessEnvelope'
988
+
additionalProperties: true
989
+
type: object
990
+
description: OK
991
+
"401":
992
+
content:
993
+
application/json:
994
+
schema:
995
+
$ref: '#/components/schemas/ErrorEnvelope'
996
+
description: Unauthorized
997
+
"404":
998
+
content:
999
+
application/json:
1000
+
schema:
1001
+
additionalProperties: true
1002
+
type: object
1003
+
description: Not Found
1004
+
"409":
1005
+
content:
1006
+
application/json:
1007
+
schema:
1008
+
additionalProperties: true
1009
+
type: object
1010
+
description: Conflict
1011
+
security:
1012
+
- bearerAuth: []
1013
+
summary: Cancel queued action
1014
+
tags:
1015
+
- Actions
1016
+
/api/actions/{id}/force-fail:
1017
+
post:
1018
+
description: Immediately terminalizes one executing lifecycle action as failed and releases its active slot without guaranteeing rollback. Authenticated users only.
Copy file name to clipboardExpand all lines: backend/docs/openapi/ext-api.yaml
+69-3Lines changed: 69 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1047,11 +1047,13 @@ paths:
1047
1047
/api/actions/{id}/cancel:
1048
1048
post:
1049
1049
tags: [Actions]
1050
-
summary: Create or execute actions by id cancel
1050
+
summary: Cancel queued action
1051
+
description: "Immediately terminalizes one queued lifecycle action as cancelled before execution starts. Authenticated users only."
1051
1052
operationId: post_api_actions_id_cancel
1052
1053
parameters:
1053
1054
- name: id
1054
1055
in: path
1056
+
description: "action id"
1055
1057
required: true
1056
1058
schema:
1057
1059
type: string
@@ -1062,20 +1064,84 @@ paths:
1062
1064
schema:
1063
1065
$ref: '#/components/schemas/GenericRequest'
1064
1066
security:
1065
-
- bearerAuth: []# superuser required
1067
+
- bearerAuth: []
1066
1068
responses:
1067
1069
"200":
1068
1070
description: OK
1069
1071
content:
1070
1072
application/json:
1071
1073
schema:
1072
-
$ref: '#/components/schemas/SuccessEnvelope'
1074
+
type: object
1075
+
additionalProperties: true
1073
1076
"401":
1074
1077
description: Unauthorized
1075
1078
content:
1076
1079
application/json:
1077
1080
schema:
1078
1081
$ref: '#/components/schemas/ErrorEnvelope'
1082
+
"404":
1083
+
description: Not Found
1084
+
content:
1085
+
application/json:
1086
+
schema:
1087
+
type: object
1088
+
additionalProperties: true
1089
+
"409":
1090
+
description: Conflict
1091
+
content:
1092
+
application/json:
1093
+
schema:
1094
+
type: object
1095
+
additionalProperties: true
1096
+
/api/actions/{id}/force-fail:
1097
+
post:
1098
+
tags: [Actions]
1099
+
summary: Force fail running action
1100
+
description: "Immediately terminalizes one executing lifecycle action as failed and releases its active slot without guaranteeing rollback. Authenticated users only."
Copy file name to clipboardExpand all lines: backend/domain/config/sysconfig/schema/schema.go
+38-2Lines changed: 38 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -192,7 +192,33 @@ var entryCatalog = []EntrySchema{
192
192
Module: "deploy",
193
193
Key: "preflight",
194
194
Fields: []FieldSchema{
195
-
{ID: "minFreeDiskBytes", Label: "Min Free Disk Bytes", Type: "integer", HelpText: "Block installation when available disk falls below this threshold."},
195
+
{ID: "minFreeDiskGiB", Label: "Minimum Free Disk (GiB)", Type: "number", HelpText: "Free disk floor before deploy."},
196
+
},
197
+
},
198
+
{
199
+
ID: "deploy-runtime",
200
+
Title: "Deploy Runtime",
201
+
Section: SectionWorkspace,
202
+
Source: SourceCustom,
203
+
Module: "deploy",
204
+
Key: "runtime",
205
+
Fields: []FieldSchema{
206
+
{ID: "imagePullTimeoutSeconds", Label: "Image Pull Timeout Seconds", Type: "integer", HelpText: "Wait time for one image pull."},
207
+
{ID: "composeUpTimeoutSeconds", Label: "Compose Up Timeout Seconds", Type: "integer", HelpText: "Wait time for docker compose up."},
208
+
{ID: "healthCheckTimeoutSeconds", Label: "Health Check Timeout Seconds", Type: "integer", HelpText: "Wait time for health checks."},
209
+
{ID: "runtimePullIdleHeartbeatSeconds", Label: "Runtime Pull Idle Heartbeat Seconds", Type: "integer", HelpText: "Idle time before pull heartbeat logs."},
0 commit comments