Run script/setup in new worktrees and give each task a port block
This commit is contained in:
+2
-1
@@ -823,7 +823,7 @@ components:
|
||||
|
||||
Task:
|
||||
type: object
|
||||
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, status, created_by, created_at]
|
||||
required: [id, project_id, title, merge_title, branch, worktree_path, base_ref, port_base, status, created_by, created_at]
|
||||
properties:
|
||||
id: { type: string }
|
||||
project_id: { type: string }
|
||||
@@ -832,6 +832,7 @@ components:
|
||||
branch: { type: string }
|
||||
worktree_path: { type: string }
|
||||
base_ref: { type: string }
|
||||
port_base: { type: integer, description: "The first of the task's block of ports (port_base to port_base+9), passed to its setup script and agent as PORT." }
|
||||
status:
|
||||
type: string
|
||||
enum: [active, merged, discarded]
|
||||
|
||||
Reference in New Issue
Block a user