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
description="List of patterns to include in sparse checkout. The patterns should be directories or gitignore-style patterns based on the cone-mode settings.",
44
-
)
45
-
46
-
47
34
classClone(BaseModel):
48
35
depth: Depth|Literal["full"] |None=Field(
49
36
default=50,
@@ -54,10 +41,6 @@ class Clone(BaseModel):
54
41
enabled: bool|None=Field(
55
42
default=True, description="Enables cloning of the repository."
56
43
)
57
-
filter: str|None=Field(
58
-
default=None,
59
-
description='The partial clone filter argument of Git fetch operation. It can be either "blob:none" or "tree:<n>" value',
60
-
)
61
44
lfs: bool|None=Field(
62
45
default=False,
63
46
description="Enables the download of files from LFS storage when cloning.",
@@ -67,19 +50,6 @@ class Clone(BaseModel):
67
50
alias="skip-ssl-verify",
68
51
description="Disables SSL verification during Git clone operation, allowing the use of self-signed certificates.",
69
52
)
70
-
sparse_checkout: SparseCheckout|None=Field(
71
-
default=None,
72
-
alias="sparse-checkout",
73
-
description="When this is provided, the repository will be cloned using sparse checkout using the provided settings.",
74
-
title="Sparse Checkout Settings",
75
-
)
76
-
strategy: Literal["clone", "fetch"] |None=Field(
77
-
default="fetch",
78
-
description='Set the Git clone strategy to use. "fetch" is the new default strategy, "clone" is the legacy strategy.',
79
-
)
80
-
tags: bool|None=Field(
81
-
default=False, description="Enables fetching tags when cloning."
82
-
)
83
53
84
54
85
55
classMaxTime(RootModel[int]):
@@ -241,6 +211,14 @@ class FailFast(RootModel[bool]):
241
211
root: bool=Field(..., title="Fail Fast")
242
212
243
213
214
+
classDownload(RootModel[list[str]]):
215
+
root: list[str] =Field(
216
+
...,
217
+
description="Define the list of filtered artifacts to be downloaded by the step.",
218
+
min_length=1,
219
+
)
220
+
221
+
244
222
classArtifactsPaths(RootModel[list[str]]):
245
223
root: list[str] =Field(..., min_length=1)
246
224
@@ -262,6 +240,22 @@ class RunsOnItem(RootModel[str]):
262
240
)
263
241
264
242
243
+
classArtifactsUpload(BaseModel):
244
+
depth: int|None=Field(
245
+
default=None,
246
+
description="The depth to search for the artifact files.",
247
+
ge=1,
248
+
title="Artifact Depth",
249
+
)
250
+
name: str=Field(
251
+
..., description="The name of the artifact.", title="Artifact Name"
252
+
)
253
+
paths: ArtifactsPaths
254
+
type: Literal["shared"] |None=Field(
255
+
default="shared", description="The type of the artifact.", title="Artifact Type"
256
+
)
257
+
258
+
265
259
classRuntime(BaseModel):
266
260
cloud: Cloud|None=None
267
261
@@ -299,11 +293,9 @@ class Script(RootModel[list[str | Pipe | ScriptItemAnchor]]):
299
293
300
294
301
295
classArtifactsExpanded(BaseModel):
302
-
download: bool|None=Field(
303
-
default=True,
304
-
description="Enables downloading of all available artifacts at the start of a step.",
0 commit comments