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

apis/nfd: split rule processing into a separate package #1508

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

marquiz
Copy link
Contributor

@marquiz marquiz commented Dec 19, 2023

This patch tidies up the nfdv1alpha1 API package by refactoring out the implementation of (NodeFeature)Rule evaluation into a separate package.

Copy link

netlify bot commented Dec 19, 2023

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
🔨 Latest commit 97bf841
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/6582c7663b8cf200085db895
😎 Deploy Preview https://deploy-preview-1508--kubernetes-sigs-nfd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 19, 2023
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 19, 2023
pkg/nfd-master/nfd-master.go Outdated Show resolved Hide resolved
This patch tidies up the nfdv1alpha1 API package by refactoring out the
implementation of (NodeFeature)Rule evaluation into a separate package.
Copy link
Contributor

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 20, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ArangoGutierrez, marquiz

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:
  • OWNERS [ArangoGutierrez,marquiz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 1a04c83139baad3b566b77316f011ad0992a0cb6

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (e162540) 31.94% compared to head (97bf841) 31.31%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1508      +/-   ##
==========================================
- Coverage   31.94%   31.31%   -0.64%     
==========================================
  Files          61       61              
  Lines        7722     7722              
==========================================
- Hits         2467     2418      -49     
- Misses       5004     5060      +56     
+ Partials      251      244       -7     
Files Coverage Δ
pkg/nfd-master/nfd-master.go 46.04% <0.00%> (ø)
...kg/apis/nfd/v1alpha1/nodefeaturerule/expression.go 72.31% <86.11%> (ø)
pkg/apis/nfd/v1alpha1/nodefeaturerule/rule.go 82.02% <72.22%> (ø)

... and 2 files with indirect coverage changes

@k8s-ci-robot k8s-ci-robot merged commit 9de86b0 into kubernetes-sigs:master Dec 20, 2023
12 checks passed
@marquiz marquiz deleted the devel/api-refactor branch December 20, 2023 12:30
@marquiz marquiz mentioned this pull request Dec 20, 2023
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants