Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PipelineRun minimal embedded status #1618

Closed
abayer opened this issue Jun 23, 2022 · 0 comments · Fixed by #1617
Closed

Support PipelineRun minimal embedded status #1618

abayer opened this issue Jun 23, 2022 · 0 comments · Fixed by #1617
Labels
kind/feature Categorizes issue or PR as related to a new feature. kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP).

Comments

@abayer
Copy link
Contributor

abayer commented Jun 23, 2022

Starting in Pipeline v0.35.0, we support a new approach to embedding TaskRun and Run statuses in PipelineRun.Status, as described in TEP-0100. When the embedded-status feature flag is set to minimal, the PipelineRun.Status.TaskRuns and PipelineRun.Status.Runs fields aren't populated. Instead, a new field, PipelineRun.Status.ChildReferences is populated with a list of the API version, kind, name, and PipelineTask name for each TaskRun or Run in the PipelineRun, requiring anything trying to see the status of the children of a PipelineRun to fetch those statuses directly.

The CLI needs to be updated to support minimal embedded status in the next few months, since the default will be switching to minimal in Pipeline v0.44.0 and the feature flag will be going away in Pipeline v0.45.0.

This is a requirement for tektoncd/pipeline#4954

/kind feature
/kind tep

@tekton-robot tekton-robot added kind/feature Categorizes issue or PR as related to a new feature. kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). labels Jun 23, 2022
abayer added a commit to abayer/cli that referenced this issue Jun 23, 2022
abayer added a commit to abayer/cli that referenced this issue Jun 27, 2022
abayer added a commit to abayer/cli that referenced this issue Jun 27, 2022
abayer added a commit to abayer/cli that referenced this issue Jun 29, 2022
abayer added a commit to abayer/cli that referenced this issue Jun 29, 2022
abayer added a commit to abayer/cli that referenced this issue Jul 1, 2022
tekton-robot pushed a commit that referenced this issue Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants