-
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
(cleanup) use skipping reason instead of existence of variables #4147
Conversation
The following is the coverage report on the affected files.
|
/test tekton-pipeline-unit-tests |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pritidesai, vdemeester 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 |
f0e4efd
to
1d0b71f
Compare
/test tekton-pipeline-unit-tests |
today, we existence of variables to determine whether to add `when` expressions to the skipped `tasks` status for finally tasks (we only add them when they are resolved, have no variables) we recently added skipping reason in tektoncd#4085 now that we have skipping reason, we can use it to check that the reason for skipping is that `when` expressions evaluated to false before including the resolved `when` expressions to the skipped `tasks` status we plan to explore adding skipping reason to the skipped `tasks` status in the future, but for now this change reuses this new functionality
1d0b71f
to
f48841b
Compare
/test pull-tekton-pipeline-go-coverage |
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.
wow nice cleanup!! :D
/lgtm
/test pull-tekton-pipeline-alpha-integration-tests |
Changes
today, we use existence of variables to determine whether to add
when
expressions to the skippedtasks
status for finally tasks(we only add them when they are resolved, have no variables)
we recently added skipping reason in #4085
now that we have skipping reason, we can use it to check that the reason
for skipping is that
when
expressions evaluated to false beforeincluding the resolved
when
expressions to the skippedtasks
statuswe plan to explore adding skipping reason to the skipped
tasks
statusin the future, but for now this change reuses this new functionality
/kind cleanup
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes
/cc @pritidesai