-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Remove deprecated Conditions CRD/functionality #4942
Conversation
/assign @lbernick |
I need to add the release note, but it's 7pm here and I wanted to open this PR right before I flee to eat. =) |
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Thanks Andrew! Make sure you remove the Condition CRD from config/, and grep for it in the docs (there are a number of other places where it exists in the docs)
@lbernick Yeah, this is still a draft for a reason. =) |
The following is the coverage report on the affected files.
|
excited that we're finally removing conditions, thank you @abayer 🎉 |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
Starting with Pipeline v0.37.0, after tektoncd/pipeline#4942 merges, `conditions` will no longer be part of Pipeline. This removes references to `conditions` from the release tooling. Signed-off-by: Andrew Bayer <[email protected]>
The following is the coverage report on the affected files.
|
Closes tektoncd#3377 This was deprecated in v0.16.0, and is scheduled to be fully removed in v0.37.0, releasing late in June. Signed-off-by: Andrew Bayer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you @abayer 🎉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerop, lbernick The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@abayer we need to update the deprecations table (remove conditions) - https://github.com/abayer/tektoncd-pipeline/blob/remove-conditions/docs/deprecations.md |
/retest |
The following is the coverage report on the affected files.
|
@@ -50,7 +50,7 @@ var ( | |||
) | |||
|
|||
type updateStatusTaskRunsData struct { | |||
withConditions map[string]*v1beta1.PipelineRunTaskRunStatus | |||
noTaskRuns map[string]*v1beta1.PipelineRunTaskRunStatus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
withConditions
to noTaskRuns
? 🤔 What is this intended to test?
@@ -78,7 +67,6 @@ type ResolvedPipelineRunTask struct { | |||
PipelineTask *v1beta1.PipelineTask | |||
ResolvedTaskResources *resources.ResolvedTaskResources | |||
// ConditionChecks ~~TaskRuns but for evaling conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be deleted too? 🤔
🤔 |
/retest |
That’s nothing to worry about - it’s just #4777. |
`Conditions` were removed in tektoncd#4942. In this change, we remove the deprecation and removal notice for `Conditions` from the deprecations table. We also remaining references to `Conditions`. Related issue: tektoncd#3377.
In tektoncd#4942, we removed `Conditions`. However, there was some logic that was left over. In this change, we clean up the remaining logic for `Conditions`.
In tektoncd#4942, we removed `Conditions`. However, there was some logic that was left over. In this change, we clean up the remaining logic for `Conditions`. Issue: tektoncd#3377
In tektoncd#4942, we removed `Conditions`. However, there was some logic that was left over. In this change, we clean up the remaining logic for `Conditions`. Issue: tektoncd#3377
Starting with Pipeline v0.37.0, after tektoncd/pipeline#4942 merges, `conditions` will no longer be part of Pipeline. This removes references to `conditions` from the release tooling. Signed-off-by: Andrew Bayer <[email protected]>
Changes
Closes #3377
This was deprecated in v0.16.0, and is scheduled to be fully removed in v0.37.0, releasing late in June.
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes