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

validate: ignore validation of CDI devices #1239

Merged
merged 2 commits into from
Nov 23, 2022

Conversation

giuseppe
Copy link
Member

Signed-off-by: Giuseppe Scrivano [email protected]

@@ -11,6 +11,7 @@ import (
"strings"
"syscall"

cdi "github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
Copy link
Member

Choose a reason for hiding this comment

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

Is the cdi here necessary?

@rhatdan
Copy link
Member

rhatdan commented Nov 21, 2022

Wonder why go.sum changed so much.

@rhatdan
Copy link
Member

rhatdan commented Nov 21, 2022

Pretty big jump in the number of lines to verify the device? Is all that needed?

@rhatdan
Copy link
Member

rhatdan commented Nov 21, 2022

+3000 lines of code.

@vrothberg
Copy link
Member

Pretty big jump in the number of lines to verify the device? Is all that needed?

96597e9 adds the new dependency which seems to be using a K8s YAML parser.

@giuseppe
Copy link
Member Author

It is already a dependency of Podman. I think it should not affect the podman binary size

@giuseppe
Copy link
Member Author

we could also drop the validation and let Podman deal with it

@rhatdan
Copy link
Member

rhatdan commented Nov 23, 2022

LGTM
@vrothberg @flouthoc PTAL

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 23, 2022
@openshift-merge-robot openshift-merge-robot merged commit e120413 into containers:main Nov 23, 2022
Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

LGTM
/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, giuseppe

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants