-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Labels
area/automationIssues and PRs concerning automation, i.e. KubeVirt job updates, KubeVirtCI bumps etc.Issues and PRs concerning automation, i.e. KubeVirt job updates, KubeVirtCI bumps etc.help wantedIdentifies an issue that has been specifically created or selected for new contributors.Identifies an issue that has been specifically created or selected for new contributors.kind/enhancementlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.priority/backlogIndicate that the issue or PR is a lower priority and can be worked on in the futureIndicate that the issue or PR is a lower priority and can be worked on in the futuretriage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
Outcome
Automatically highlight a PR where a test with a certain label is touched.
Note: owners-label plugin can only apply labels to matching glob expressions, it doesn't care about test labels.
Use case
if a [Conformance] test is changed, we want to apply a label to the PR (suggestion: kind/conformance)
Implementation
Create external-plugin similar to other project-infra implementations that reacts on GitHub pull_request events.
Initial implementation will add the label if any test holding source label is changed, and remove the label if no change inside the PR for any test holding source label is detected.
Notes:
- label can also appear in parent Ginkgo nodes, so we should use the test outline to detect the label match
- detection of test changes via ast is a bonus - meaning detecting changes in sub-level, as in library calls (libvmi etc) or other called code.
Config:
kubevirt/kubevirt:
- test_target: '[Conformance]'
label: kind/conformance
.../kind enhancement
/area automation
Links:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/automationIssues and PRs concerning automation, i.e. KubeVirt job updates, KubeVirtCI bumps etc.Issues and PRs concerning automation, i.e. KubeVirt job updates, KubeVirtCI bumps etc.help wantedIdentifies an issue that has been specifically created or selected for new contributors.Identifies an issue that has been specifically created or selected for new contributors.kind/enhancementlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.priority/backlogIndicate that the issue or PR is a lower priority and can be worked on in the futureIndicate that the issue or PR is a lower priority and can be worked on in the futuretriage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.