-
Notifications
You must be signed in to change notification settings - Fork 87
Add support for fine-grained retention policies #1077
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
Conversation
|
/kind feature |
|
The following is the coverage report on the affected files.
|
94685a2 to
5b85f7b
Compare
|
/test pull-tekton-results-build-tests |
|
/assign @enarha |
|
@khrm: GitHub didn't allow me to assign the following users: andrewpthorp. Note that only tektoncd members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
The following is the coverage report on the affected files.
|
|
/assign @aThorp96 |
|
@khrm: GitHub didn't allow me to assign the following users: aThorp96. Note that only tektoncd members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/test pull-tekton-results-build-tests |
aThorp96
left a comment
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.
Haven't looked through the code yet, but had some requests regarding the design of the feature's configuration
|
The following is the coverage report on the affected files.
|
|
I have updated the documentation to clarify that omitting a selector type means it matches all results for that criterion. |
This allows defining multiple retention policies based on selectors like namespace, labels, and status, providing more granular control over result retention. Assisted By: Gemini
|
/test pull-tekton-results-build-tests |
|
@enarha Can you re-review this? |
|
The following is the coverage report on the affected files.
|
|
/lgtm |
|
@aThorp96 Can you please take a look? |
|
The following is the coverage report on the affected files.
|
aThorp96
left a comment
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.
/lgtm
Thanks @khrm
|
@aThorp96: changing LGTM is restricted to collaborators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Deprecates the `maxRetention` field in the retention policy configuration and replaces it with `defaultRetention`. For backward compatibility, if `defaultRetention` is not specified, the value of `maxRetention` will be used. Also updated the `DeepCopy` function for `RetentionPolicy` to correctly perform a deep copy of the `Policies` slice and its nested fields.
|
The following is the coverage report on the affected files.
|
aThorp96
left a comment
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.
/lgtm
|
@aThorp96: changing LGTM is restricted to collaborators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aThorp96, enarha The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@enarha Can you give lgtm also? It was removed after last changes. |
|
@enarha Can you give lgtm here? Andrew is restricted from it. |
|
/lgtm |
This allows defining multiple retention policies based on selectors like namespace, labels, and status, providing more granular control over result retention.
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:
/kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes