Merge branch 'update-pciid-db' into 'main'

update default pci_ids db

See merge request nvidia/cloud-native/go-nvlib!52
This commit is contained in:
Tariq Ibrahim 2023-09-29 18:25:46 +00:00
commit 8ff02ffd5b
3 changed files with 2216 additions and 578 deletions

View File

@ -24,6 +24,7 @@ IMAGE=$(REGISTRY)/go-nvlib
endif
IMAGE_TAG ?= $(GOLANG_VERSION)
BUILDIMAGE ?= $(IMAGE):$(IMAGE_TAG)-devel
PCI_IDS_URL ?= https://pci-ids.ucw.cz/v2.2/pci.ids
TARGETS := binary build all check fmt assert-fmt generate lint vet test coverage
DOCKER_TARGETS := $(patsubst %,docker-%, $(TARGETS))
@ -72,6 +73,8 @@ coverage: test
cat $(COVERAGE_FILE) | grep -v "_mock.go" > $(COVERAGE_FILE).no-mocks
go tool cover -func=$(COVERAGE_FILE).no-mocks
update-pcidb:
wget $(PCI_IDS_URL) -O $(CURDIR)/pkg/pciids/default_pci.ids
# Generate an image for containerized builds
# Note: This image is local only

View File

@ -1,6 +1,6 @@
# The `go-nvlib` project
This respository holds a collection of go packages to ease the development of
This repository holds a collection of go packages to ease the development of
NVIDIA GPU management software. Many of its abstractions build and expand upon
the base [`go-nvml`](https://github.com/NVIDIA/go-nvml) package which provides
a comprehensive wrapper around the official [NVIDIA Management

File diff suppressed because it is too large Load Diff