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
This commit changes the default of embedded-status to minimal status.
Prior to this PR, the `DefaultEmbeddedStatus` is `full`, the pipelineRun reconciler
will populate both `taskruns` and `runs` for `pipelineRunStatus`. With the change
to `minimal`, the reconciler populates `childReferences` instead.
Copy file name to clipboardExpand all lines: docs/deprecations.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ being deprecated.
20
20
| Feature Being Deprecated | Deprecation Announcement |[API Compatibility Policy](https://github.com/tektoncd/pipeline/tree/main/api_compatibility_policy.md)| Earliest Date or Release of Removal |
|[`PipelineResources` are deprecated.](https://github.com/tektoncd/community/blob/main/teps/0074-deprecate-pipelineresources.md)|[v0.30.0](https://github.com/tektoncd/pipeline/releases/tag/v0.30.0)| Alpha | Dec 20 2021 |
23
-
|[The `PipelineRun.Status.TaskRuns` and `PipelineRun.Status.Runs` fieldsare deprecated and will be removed.](https://github.com/tektoncd/community/blob/main/teps/0100-embedded-taskruns-and-runs-status-in-pipelineruns.md)| v0.35.0 | Beta| Jan 25, 2023 |
23
+
|[The `PipelineRun.Status.TaskRuns` and `PipelineRun.Status.Runs` fields; the `full` and `both``embedded-status` values along with their functionalities are deprecated and will be removed in v0.45.](https://github.com/tektoncd/community/blob/main/teps/0100-embedded-taskruns-and-runs-status-in-pipelineruns.md)| v0.35.0 | Beta | Jan 25, 2023 |
24
24
|[PipelineRun.Timeout is deprecated and will be removed](https://github.com/tektoncd/community/blob/main/teps/0046-finallytask-execution-post-timeout.md)| v0.36.0 | Beta | Feb 25, 2023 |
25
25
|[Several fields of Task.Step are deprecated](https://github.com/tektoncd/pipeline/issues/4737)| v0.36.0 | Beta | Feb 25, 2023 |
26
26
|[`v1alpha1.Run` is deprecated](https://github.com/tektoncd/community/blob/main/teps/0114-custom-tasks-beta.md)| v0.43.0 | Alpha | April 10, 2023 or v0.47.0 |
Copy file name to clipboardExpand all lines: docs/pipelineruns.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -1392,18 +1392,19 @@ Your `PipelineRun`'s `status` field can contain the following fields:
1392
1392
1393
1393
### Configuring usage of `TaskRun` and `Run` embedded statuses
1394
1394
1395
-
Currently, the default behavior is for the statuses of `TaskRun`s and `Run`s within this `PipelineRun`
1396
-
to be embedded in the `status.taskRuns` and `status.runs` fields. This will change in the future to
1397
-
instead default to `status.childReferences` being populated with references to the `TaskRun`s and
1395
+
Currently, the default behavior is to pupulate `status.childReferences` with references to the `TaskRun`s and
1398
1396
`Run`s, which can be used to look up their statuses.
1399
1397
1400
1398
This behavior can be controlled by changing the `embedded-status` feature flag in the `feature-flags`
1401
1399
config map. See [`install.md`](./install.md#customizing-the-pipelines-controller-behavior) for more
1402
1400
information on feature flags. The possible values for `embedded-status` are:
1403
-
- `full`- The current default behavior of populating `status.taskRuns` and `status.runs`, without populating `status.childReferences`.
1404
-
- `minimal`- Just populate `status.childReferences`, not `status.taskRuns` or `status.runs`.
1401
+
- `minimal`- The current default behavior, populate `status.childReferences`, not `status.taskRuns` or `status.runs`.
1402
+
- `full`- Populating `status.taskRuns` and `status.runs`, without populating `status.childReferences`.
1405
1403
- `both`- Populate `status.childReferences` as well as `status.taskRuns` and `status.runs`.
1406
1404
1405
+
*Note that after the `PipelineRunStatus` migration as planned in [TEP-100](https://github.com/tektoncd/community/blob/main/teps/0100-embedded-taskruns-and-runs-status-in-pipelineruns.md#2-deprecate-and-remove-full-embedded-status),
1406
+
[the `full` and `both` `embedded-status` options will be removed](https://github.com/tektoncd/pipeline/blob/main/docs/deprecations.md).
1407
+
1407
1408
### Monitoring execution status
1408
1409
1409
1410
As your `PipelineRun` executes, its `status` field accumulates information on the execution of each `TaskRun`
0 commit comments