Skip to content

Commit

Permalink
Environment(Request): make identifier optional
Browse files Browse the repository at this point in the history
  • Loading branch information
andmat900 committed Jan 2, 2025
1 parent 0d0d1eb commit 311ba7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/etos_lib/kubernetes/schemas/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class EnvironmentSpec(BaseModel):
"""EnvironmentSpec is the specification of a Environment Kubernetes resource."""

name: str
suite_id: str
sub_suite_id: str
test_suite_started_id: str
suite_id: Optional[str]
sub_suite_id: Optional[str]
test_suite_started_id: Optional[str]
artifact: str
context: str
priority: int = 1
Expand Down
2 changes: 1 addition & 1 deletion src/etos_lib/kubernetes/schemas/environment_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class EnvironmentRequestSpec(BaseModel):

id: str
name: Optional[str] = None
identifier: str
identifier: Optional[str] = None
image: str
imagePullPolicy: str
artifact: str
Expand Down

0 comments on commit 311ba7a

Please sign in to comment.