-
Notifications
You must be signed in to change notification settings - Fork 676
Adding sriov-network-device-plugin spec file #4005
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d8f9e47
adding sriov-network-device-plugin spec file
Adub17030MS bafdeb0
Update make to make build for test
Adub17030MS 0396cd6
Patch file
Adub17030MS 9760bce
testing only source 0
Adub17030MS 42d1b2a
removing patch
Adub17030MS c9fc769
comment out auto
Adub17030MS 2016c7e
Successful SPEC with rpm built
Adub17030MS 26d931d
whitespace removed for linting
Adub17030MS bc439b1
Changelog fix
Adub17030MS 3cab79d
formatted spec file
Adub17030MS 749fc94
formatted license file
Adub17030MS f800677
License Map updated
Adub17030MS 12c9d64
License map fix #2
Adub17030MS a3ac1fe
updated version to 3.4.0 and added ddptool file
Adub17030MS 85a8ed7
ddptool in usr/share
Adub17030MS 5d6f409
license map update
Adub17030MS d818de3
updated entrypoint script name
Adub17030MS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
SPECS/sriov-network-device-plugin/sriov-network-device-plugin.signatures.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "Signatures": { | ||
| "sriov-network-device-plugin-3.4.0.tar.gz": "670a94299dc144d239f16af342d6d92aaa84e0dd730fe5b8d889255cae7a4063" | ||
| } | ||
| } |
37 changes: 37 additions & 0 deletions
37
SPECS/sriov-network-device-plugin/sriov-network-device-plugin.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| Summary: Plugin for discovering and advertising networking resources | ||
| Name: sriov-network-device-plugin | ||
| Version: 3.4.0 | ||
| Release: 1%{?dist} | ||
| License: MIT | ||
| Vendor: Microsoft Corporation | ||
| Distribution: Mariner | ||
| URL: https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin | ||
| Source0: https://github.com/k8snetworkplumbingwg/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||
| BuildRequires: golang | ||
|
|
||
| %description | ||
| sriov-network-device-plugin is Kubernetes device plugin for discovering and advertising networking | ||
| resources in the form of SR-IOV virtual functions and PCI physical functions | ||
|
|
||
| %prep | ||
| %autosetup -p1 | ||
|
|
||
| %build | ||
| go build -mod vendor -o ./build/sriovdp ./cmd/sriovdp/ | ||
|
|
||
| %install | ||
| install -D -m0755 build/sriovdp %{buildroot}%{_bindir}/sriovdp | ||
| install -D -m0755 images/entrypoint.sh %{buildroot}%{_bindir}/%{name}-entrypoint.sh | ||
| install -D -m0755 images/ddptool-1.0.1.12.tar.gz %{buildroot}/usr/share/%{name}/ddptool-1.0.1.12.tar.gz | ||
|
|
||
| %files | ||
| %license LICENSE | ||
| %doc README.md | ||
| %{_bindir}/sriovdp | ||
| %{_bindir}/%{name}-entrypoint.sh | ||
| /usr/share/%{name}/ddptool-1.0.1.12.tar.gz | ||
|
Adub17030MS marked this conversation as resolved.
|
||
|
|
||
| %changelog | ||
| * Fri Sep 23 2022 Aditya Dubey <adityadubey@microsoft.com> - 3.4.0-1 | ||
| - Original version for CBL-Mariner | ||
| - License Verified | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.