Skip to content

Commit

Permalink
Merge branch 'NVIDIA:main' into nvsandboxutils-sananya
Browse files Browse the repository at this point in the history
  • Loading branch information
sananya12 authored Sep 24, 2024
2 parents 4e1d772 + a5a5833 commit c4d12b7
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 16 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# NVIDIA Container Toolkit Changelog

## v1.16.2
- Exclude libnvidia-allocator from graphics mounts. This fixes a bug that leaks mounts when a container is started with bi-directional mount propagation.
- Use empty string for default runtime-config-override. This removes a redundant warning for runtimes (e.g. Docker) where this is not applicable.

### Changes in the Toolkit Container
- Bump CUDA base image version to 12.6.0

### Changes in libnvidia-container
- Add no-gsp-firmware command line option
- Add no-fabricmanager command line option
- Add no-persistenced command line option
- Skip directories and symlinks when mounting libraries.

## v1.16.1
- Fix bug with processing errors during CDI spec generation for MIG devices

Expand All @@ -9,7 +22,6 @@
### Changes in the Toolkit Container
- Bump CUDA base image version to 12.5.1


## v1.16.0-rc.2
- Use relative path to locate driver libraries
- Add RelativeToRoot function to Driver
Expand Down
2 changes: 1 addition & 1 deletion deployments/devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# This Dockerfile is also used to define the golang version used in this project
# This allows dependabot to manage this version in addition to other images.
FROM golang:1.23.0
FROM golang:1.23.1

WORKDIR /work
COPY * .
Expand Down
7 changes: 7 additions & 0 deletions deployments/devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ DOCKERFILE_CONTEXT = deployments/devel
--tag $(BUILDIMAGE) \
-f $(DOCKERFILE_DEVEL) \
$(DOCKERFILE_CONTEXT)

modules:
go mod tidy
go mod verify

check-modules: modules
git diff --quiet HEAD -- go.mod go.sum
4 changes: 3 additions & 1 deletion deployments/devel/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/NVIDIA/k8s-device-plugin/deployments/devel

go 1.22
go 1.22.1

toolchain go1.23.1

require (
github.com/golangci/golangci-lint v1.60.1
Expand Down
13 changes: 2 additions & 11 deletions scripts/build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,8 @@ else
targets=${all[@]}
fi

if [[ x"${SKIP_UPDATE_COMPONENTS}" != x"yes" ]]; then
echo "Updating components"
"${SCRIPTS_DIR}/update-components.sh"
if [[ -n $(git status -s third_party) && ${ALLOW_LOCAL_COMPONENT_CHANGES} != "true" ]]; then
echo "ERROR: Building with local component changes."
echo "Commit pending changes or rerun with ALLOW_LOCAL_COMPONENT_CHANGES='true'"
exit 1
fi
else
echo "Skipping update of components"
fi
git submodule update --init
git submodule status

eval $(${SCRIPTS_DIR}/get-component-versions.sh)

Expand Down
2 changes: 1 addition & 1 deletion third_party/libnvidia-container
2 changes: 1 addition & 1 deletion versions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

LIB_NAME := nvidia-container-toolkit
LIB_VERSION := 1.16.1
LIB_VERSION := 1.16.2
LIB_TAG :=

# The package version is the combination of the library version and tag.
Expand Down

0 comments on commit c4d12b7

Please sign in to comment.