Skip to content

Commit 6729fda

Browse files
jeroptekton-robot
authored andcommitted
Remove retriesStatus from CustomRunStatus
As discussed in [TEP-0114][tep-0114], `retries` and `retriesStatus` will not be included in the initial release of `CustomRuns`. In tektoncd#5662, we removed the `retries` field from the spec. This is a follow up change removing `retriesStatus` field from the status. [tep-0114]: https://github.com/tektoncd/community/blob/main/teps/0114-custom-tasks-beta.md#exclude-retries-and-retriesstatus
1 parent b16a5b5 commit 6729fda

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

docs/pipeline-api.md

-14
Original file line numberDiff line numberDiff line change
@@ -13893,20 +13893,6 @@ tasks in a pipeline.</p>
1389313893
</tr>
1389413894
<tr>
1389513895
<td>
13896-
<code>retriesStatus</code><br/>
13897-
<em>
13898-
<a href="#tekton.dev/v1beta1.CustomRunStatus">
13899-
[]CustomRunStatus
13900-
</a>
13901-
</em>
13902-
</td>
13903-
<td>
13904-
<em>(Optional)</em>
13905-
<p>RetriesStatus contains the history of CustomRunStatus, in case of a retry.</p>
13906-
</td>
13907-
</tr>
13908-
<tr>
13909-
<td>
1391013896
<code>extraFields</code><br/>
1391113897
<em>
1391213898
k8s.io/apimachinery/pkg/runtime.RawExtension

pkg/apis/run/v1beta1/customrunstatus_types.go

-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ type CustomRunStatusFields struct {
5757
// +optional
5858
Results []CustomRunResult `json:"results,omitempty"`
5959

60-
// RetriesStatus contains the history of CustomRunStatus, in case of a retry.
61-
// +optional
62-
RetriesStatus []CustomRunStatus `json:"retriesStatus,omitempty"`
63-
6460
// ExtraFields holds arbitrary fields provided by the custom task
6561
// controller.
6662
ExtraFields runtime.RawExtension `json:"extraFields,omitempty"`

pkg/apis/run/v1beta1/zz_generated.deepcopy.go

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)