Evan Lezar
178348b782
Merge pull request #1159 from elezar/fix-gitlab-references
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
[no-relnote] Replace GitLab with GitHub URLs
2025-06-25 16:34:25 +02:00
Evan Lezar
433687e57a
Merge pull request #1158 from elezar/fix-dummy-sign-job
...
[no-relnote] Fix dummy image signing job
2025-06-25 16:33:57 +02:00
Evan Lezar
468790938c
[no-relnote] Replace GitLab with GitHub URLs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-25 13:07:21 +02:00
Evan Lezar
3493ec59c2
[no-relnote] Fix dummy image signing job
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-25 12:38:29 +02:00
Evan Lezar
ced79e51ed
Merge pull request #1131 from elezar/bump-release-v1.18.0-rc.1
...
Bump release v1.18.0 rc.1
2025-06-25 12:04:28 +02:00
Evan Lezar
d1e25abd6c
[no-relnote] Add v1.18.0-rc.1 changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-25 12:02:19 +02:00
Evan Lezar
7d3defccd2
Bump version for v1.18.0-rc.1 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-24 19:59:15 +02:00
Evan Lezar
c95d36db52
Merge pull request #947 from elezar/ensure-libcuda.so-in-ldcache
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Ensure that libcuda.so is in the ldcache
2025-06-24 19:55:51 +02:00
Evan Lezar
36950ba03f
Merge pull request #1100 from elezar/pin-libnvidia-container-tools-version
...
Require matching version of libnvidia-container-tools
2025-06-24 19:55:10 +02:00
Evan Lezar
d1286bceed
Merge pull request #763 from elezar/allow-config-override-by-envvar
...
Add support for specifying the config file path in an environment variable
2025-06-24 19:54:36 +02:00
Evan Lezar
2f204147f9
Merge pull request #1030 from elezar/add-driver-lib-root-envvar
...
Add envvar for libcuda.so parent dir to CDI spec
2025-06-24 14:00:46 +02:00
Evan Lezar
39975fc77b
[no-relnote] Refactor ldconfig hooks
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-24 13:53:20 +02:00
Evan Lezar
4bf7421a80
Add create-soname-symlinks hook
...
This change adds a create-soname-symlinks hook that can be used to ensure
that the soname symlinks for injected libraries exist in a container.
This is done by calling ldconfig -n -N for the directories containing the injected
libraries.
This also ensures that libcuda.so is present in the ldcache when the update-ldcache
hook is run.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-24 13:49:24 +02:00
Evan Lezar
f0ea60a28f
Require matching version of libnvidia-container-tools
...
Since the nvidia-container-tools and libnvidia-container* packages
are now released at the same time with the same version, a more
restrictive version makes sense. Here we specifically require an
equal version for the nvidia-container-toolkit* packages and the
libnvidia-container* packages.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-24 13:26:31 +02:00
Evan Lezar
4bab94baa6
Add envvar for libcuda.so parent dir to CDI spec
...
This change adds an NVIDIA_CTK_LIBCUDA_DIR envvar to
a generated CDI specification. This reports where the `libcuda.so.*`
libraries will be injected into the container.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-24 13:24:50 +02:00
Evan Lezar
f642825ad4
Add EnvVar to Discover interface
...
This change adds environment variables to the Discover interface.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-24 13:24:50 +02:00
Evan Lezar
5bc2f50299
Merge pull request #1154 from elezar/switch-to-distroless
...
Switch to distroless Base image
2025-06-24 11:05:35 +02:00
Evan Lezar
60706815a5
Create /work/nvidia-toolkit symlink
...
This change ensures that a symlink from /work/nvidia-toolkit to
/work/nvidia-ctk-installer exists to allow GPU Operator versions
that override the entrypoint and assume nvidia-toolkit as the
original entrypoint.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-19 10:23:09 +02:00
Evan Lezar
69b0f0ba61
[no-relnote] Update release scripts for distroless
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-19 10:20:59 +02:00
Evan Lezar
7abf5fa6a4
Use Apache license for images
...
This change removes the NGC-DL-CONTAINER-LICENSE (since this
is not available in the distroless images) and includes the
repo's Apache LICENSE file in the image.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-19 10:20:59 +02:00
Evan Lezar
0dddd5cfd8
Merge pull request #910 from elezar/default-to-cdi
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Use just-in-time CDI spec generation by default in the NVIDIA Container Runtime
2025-06-18 23:40:44 +02:00
Evan Lezar
28ddc1454c
Switch to golang distroless image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 23:39:26 +02:00
Evan Lezar
17c5d1dc87
Resolve to legacy by default in nvidia-container-runtime-hook
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 23:36:12 +02:00
Evan Lezar
6149592bf6
Default to jit-cdi mode in the nvidia runtime
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 23:36:12 +02:00
Evan Lezar
d3ece78bc9
[no-relnote] Add RuntimeMode type
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 23:36:12 +02:00
Evan Lezar
980ca5d1bc
Use functional options to construct runtime mode resolver
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 23:36:12 +02:00
Evan Lezar
76b71a5498
Merge pull request #1083 from elezar/bump-image-in-tests
...
[no-relnote] Use cuda 12.9.0 image in tests
2025-06-18 23:33:54 +02:00
Evan Lezar
5a1b4e7c1e
[no-relnote] Fix tests for compat mode
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 15:22:08 +02:00
Evan Lezar
39fd15d273
[no-relnote] Use 550 driver in tests
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 15:18:21 +02:00
Evan Lezar
da6b849cf6
[no-relnote] Use cuda 12.9.0 image in tests
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 15:18:21 +02:00
Evan Lezar
849691d290
[no-relnote] Use NVIDIA_CTK_CONFIG_FILE_PATH in toolkit install
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 15:06:00 +02:00
Evan Lezar
f672d38aa5
[no-relnote] Rename config constants
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 15:02:35 +02:00
Evan Lezar
eb39b972a5
Add NVIDIA_CTK_CONFIG_FILE_PATH envvar
...
This change adds support for explicitly specifying the path
to the config file through an environment variable.
The NVIDIA_CTK_CONFIG_FILE_PATH variable is used for both the nvidia-container-runtime
and nvidia-container-runtime-hook.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 15:01:46 +02:00
Evan Lezar
d9c7ec9714
[no-relnote] Don't refer to target image distribution
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 14:32:54 +02:00
Evan Lezar
614e469dac
Merge pull request #1153 from elezar/switch-to-ubi9
...
Switch to cuda ubi9 base image
2025-06-18 13:10:32 +02:00
Evan Lezar
aafe4d7ad0
Switch to cuda ubi9 base image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 11:58:23 +02:00
Evan Lezar
1f7c7ffec2
Merge pull request #1152 from elezar/remove-dist-tag
...
Update image tags for single image
2025-06-18 11:56:14 +02:00
Evan Lezar
7e1beb7aa6
[no-relnote] Update gitlab CI for new image names
...
We now release all images with vX.Y.Z and vX.Y.Z-packaging tags.
This change updates the gitlab CI to allow for this.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-18 11:51:52 +02:00
Evan Lezar
d560888f1f
Use single version tag for image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-17 19:46:42 +02:00
Evan Lezar
81fb7bb9c1
Merge pull request #602 from elezar/use-ubi8-image
...
Use single image for deb and rpm-based systems
2025-06-17 15:09:47 +02:00
Evan Lezar
208896d87d
Merge pull request #1130 from ArangoGutierrez/fix/1049
...
BUGFIX: modifier: respect GPU volume-mount device requests
2025-06-17 15:04:22 +02:00
Evan Lezar
82b62898bf
[no-relnote] Make devicesFromEnvvars private
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-17 11:55:00 +02:00
Carlos Eduardo Arango Gutierrez
d03a06029a
BUGFIX: modifier: respect GPU volume-mount device requests
...
The gated modifiers used to add support for GDS, Mofed, and CUDA Forward Comatibility
only check the NVIDIA_VISIBLE_DEVICES envvar to determine whether GPUs are requested
and modifications should be made. This means that use cases where volume mounts are
used to request devices are not supported.
This change ensures that device extraction is consistent for all use cases.
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-17 11:55:00 +02:00
Evan Lezar
f4f7da65f1
Ensure consistent sorting of annotation devices
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-17 11:55:00 +02:00
Carlos Eduardo Arango Gutierrez
5fe7b06514
[no-relnote] new helper func visibleEnvVars
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-17 11:54:53 +02:00
Evan Lezar
5606caa5af
Extract deb and rpm packages to single image
...
This change swithces to using a single image for the NVIDIA Container Toolkit contianer.
Here the contents of the architecture-specific deb and rpm packages are extracted
to a known root. These contents can then be installed using the updated installation
mechanism which has been updated to detect the source root based on the packaging type.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-16 19:15:56 +02:00
Evan Lezar
8149be09ac
Merge pull request #1149 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.7
...
Bump github.com/urfave/cli/v2 from 2.27.6 to 2.27.7
2025-06-16 16:28:29 +02:00
Evan Lezar
d935648722
Merge pull request #1140 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvlib-0.7.3
...
Bump github.com/NVIDIA/go-nvlib from 0.7.2 to 0.7.3
2025-06-16 16:26:57 +02:00
dependabot[bot]
1f43b71dd8
Bump github.com/urfave/cli/v2 from 2.27.6 to 2.27.7
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.6 to 2.27.7.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.6...v2.27.7 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-version: 2.27.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-16 08:56:44 +00:00
Evan Lezar
b33d475ff3
Merge pull request #1145 from elezar/remove-docker-runc
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Remove docker-run as default runtime candidate
2025-06-13 19:27:08 +02:00
Evan Lezar
6359cc9919
Remove docker-run as default runtime candidate
...
This change removes docker-runc as the highest priority
default candidate for the low-level runtimes supported by
the nvidia-container-runtime.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 17:26:19 +02:00
Evan Lezar
4f9c860a37
Merge pull request #927 from elezar/disable-device-node-creation
...
Disable device node creation in CDI mode
2025-06-13 16:44:18 +02:00
Evan Lezar
bab9fdf607
Merge pull request #1144 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-710a0f1
...
Bump third_party/libnvidia-container from `6eda4d7` to `710a0f1`
2025-06-13 16:42:53 +02:00
Evan Lezar
cc7812470f
Merge pull request #1143 from elezar/add-device-ids-to-getspec
...
Add device IDs to nvcdi.GetSpec API
2025-06-13 16:41:43 +02:00
Evan Lezar
bdcdcb7449
Merge pull request #1132 from elezar/make-cdi-device-extraction-consistent
...
Make CDI device requests consistent with other methods
2025-06-13 16:05:44 +02:00
Evan Lezar
8be03cfc41
[no-relnote] Ignore annotation devices for non-CDI modes
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 15:26:48 +02:00
Evan Lezar
8650ca6533
[no-relnote] Move hookCreator initialisation for readability
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 15:00:51 +02:00
Evan Lezar
1bc2a9fee3
Return annotation devices from VisibleDevices
...
This change includes annotation devices in CUDA.VisibleDevices
with the highest priority. This allows for the CDI device
request extraction to be consistent across all request mechanisms.
Note that this does change behaviour in the following ways:
1. Annotations are considered when resolving the runtime mode.
2. Incorrectly formed device names in annotations are no longer treated as an error.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 14:56:08 +02:00
Evan Lezar
dc87dcf786
Make CDI device requests consistent with other methods
...
Following the refactoring of device request extraction, we can
now make CDI device requests consistent with other methods.
This change moves to using image.VisibleDevices instead of
separate calls to CDIDevicesFromMounts and VisibleDevicesFromEnvVar.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 14:34:02 +02:00
Evan Lezar
f17d424248
Construct container info once
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 14:05:51 +02:00
Evan Lezar
426186c992
Add logic to extract annotation device requests to image type
...
This change updates the image.CUDA type to also extract CDI
device requests. These are only relevant IF CDI prefixes are
specifically set.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 14:05:51 +02:00
Evan Lezar
6849ebd621
Add IsPrivileged function to CUDA container type
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-13 14:05:51 +02:00
dependabot[bot]
4a6685d3a8
Bump third_party/libnvidia-container from 6eda4d7 to 710a0f1
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `6eda4d7` to `710a0f1`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](6eda4d76c8...710a0f1304 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-version: 710a0f1304dacb9de06716a4e24160698952aa81
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-13 08:14:38 +00:00
Evan Lezar
2ccf67c40f
[no-relnote] Remove test output file
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-12 16:34:08 +02:00
Evan Lezar
0134ba4250
Add device IDs to nvcdi.GetSpec API
...
This change allows device IDs to the specified in the GetSpec API.
This simplifies cases where CDI specs are being generated for specific
devices by ID.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-12 16:23:11 +02:00
dependabot[bot]
eab9cdf1c2
Bump github.com/NVIDIA/go-nvlib from 0.7.2 to 0.7.3
...
Bumps [github.com/NVIDIA/go-nvlib](https://github.com/NVIDIA/go-nvlib ) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/NVIDIA/go-nvlib/releases )
- [Commits](https://github.com/NVIDIA/go-nvlib/compare/v0.7.2...v0.7.3 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvlib
dependency-version: 0.7.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-11 12:58:33 +00:00
Evan Lezar
dba15acdcc
Merge pull request #1135 from NVIDIA/dependabot/go_modules/tests/main/golang.org/x/crypto-0.39.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang.org/x/crypto from 0.38.0 to 0.39.0 in /tests
2025-06-11 14:57:38 +02:00
Evan Lezar
8339fb1ec3
Merge pull request #1139 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.9-0
...
Bump github.com/NVIDIA/go-nvml from 0.12.4-1 to 0.12.9-0
2025-06-11 14:57:18 +02:00
Evan Lezar
b9d646c80d
Merge pull request #1136 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.24.4
...
Bump golang from 1.24.3 to 1.24.4 in /deployments/devel
2025-06-11 14:53:57 +02:00
Evan Lezar
7380cff645
Merge pull request #1134 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.25.0
...
Bump golang.org/x/mod from 0.24.0 to 0.25.0
2025-06-11 14:53:34 +02:00
dependabot[bot]
f91736d832
Bump github.com/NVIDIA/go-nvml from 0.12.4-1 to 0.12.9-0
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.4-1 to 0.12.9-0.
- [Release notes](https://github.com/NVIDIA/go-nvml/releases )
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.4-1...v0.12.9-0 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-version: 0.12.9-0
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-11 09:03:11 +00:00
dependabot[bot]
5ccac4da5a
Bump golang from 1.24.3 to 1.24.4 in /deployments/devel
...
Bumps golang from 1.24.3 to 1.24.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-06 09:01:57 +00:00
dependabot[bot]
1aee45be2d
Bump golang.org/x/crypto from 0.38.0 to 0.39.0 in /tests
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-06 08:43:50 +00:00
dependabot[bot]
0d4a7f1d5a
Bump golang.org/x/mod from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/mod/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.25.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-06 08:43:41 +00:00
Evan Lezar
27f5ec83de
Merge pull request #1125 from elezar/vulkan-target-cpu
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Add discovery of arch-specific vulkan ICD
2025-06-05 14:09:50 +02:00
Carlos Eduardo Arango Gutierrez
0a3146f74f
Merge pull request #1076 from ArangoGutierrez/refresh_cdi
...
Add nvidia-cdi-refresh service
2025-06-05 13:08:57 +02:00
Carlos Eduardo Arango Gutierrez
28add0a532
Merge pull request #1123 from ArangoGutierrez/cdi_generate_env_cli
...
Add EnvVars option for all nvidia-ctk cdi commands
2025-06-05 13:05:46 +02:00
Evan Lezar
b55255e31f
Merge pull request #1110 from ArangoGutierrez/i/1049
...
Refactor extracting requested devices from the container image
2025-06-05 13:00:32 +02:00
Carlos Eduardo Arango Gutierrez
dede03f322
Refactor extracting requested devices from the container image
...
This change consolidates the logic for determining requested devices
from the container image. The logic for this has been integrated into
the image.CUDA type so that multiple implementations are not required.
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Co-authored-by: Evan Lezar <elezar@nvidia.com >
2025-06-05 12:38:45 +02:00
Carlos Eduardo Arango Gutierrez
ce3e2c1ed5
Add EnvVars option for all nvidia-ctk cdi commands
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-06-05 11:22:35 +02:00
Carlos Eduardo Arango Gutierrez
a537d0323d
Add nvidia-cdi-refresh service
...
Automatic regeneration of /var/run/cdi/nvidia.yaml
New units:
• nvidia-cdi-refresh.service – one-shot wrapper for
nvidia-ctk cdi generate (adds sleep + required caps).
• nvidia-cdi-refresh.path – fires on driver install/upgrade via
modules.dep.bin changes.
Packaging
• RPM %post reloads systemd and enables the path unit on fresh
installs.
• DEB postinst does the same (configure, skip on upgrade).
Result: CDI spec is always up to date
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-06-05 10:54:15 +02:00
Evan Lezar
2de997e25b
Add discovery of arch-specific vulkan ICD
...
On some RPM-based platforms, the path of the Vulkan ICD file
include an architecture-specific infix to distinguish it from
other architectures. (Most notably x86_64 vs i686). This change
attempts to discover the arch-specific ICD file in addition to
the standard nvidia_icd.json.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-04 23:06:16 +02:00
Evan Lezar
e046d6ae79
Add disabled-device-node-modification hook to CDI spec
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
This hook is not added to management specs.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-04 19:08:48 +02:00
Evan Lezar
0c8723a93a
Add a hook to disable device node creation in a container
...
If required, this hook creates a modified params file (with ModifyDeviceFiles: 0) in a tmpfs
and mounts this over /proc/driver/nvidia/params.
This prevents device node creation when running tools such as nvidia-smi. In general the
creation of these devices is cosmetic as a container does not have the required cgroup
access for the devices.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-04 19:08:48 +02:00
Evan Lezar
fdcd250362
Merge pull request #1129 from elezar/fix-deduplicate-driver-store-wsl
...
Minor cleanup of WSL2 CDI spec generation
2025-06-04 10:16:36 +02:00
Evan Lezar
b66d37bedb
[no-relnote] Minor code cleanup in WSL2 discoverer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-03 23:43:17 +02:00
Evan Lezar
0c905d0de2
[no-relnote] Remove unneeded indirection
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-03 23:43:17 +02:00
Evan Lezar
0d0b56816e
Remove redundant deduplication of search paths for WSL
...
The GetDriverStorePaths function is implemented so as to
remove duplicate driver store paths which means that the
additional deduplication (which had a bug) can be removed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-03 23:43:10 +02:00
Evan Lezar
d59fd3da11
Merge pull request #1077 from ArangoGutierrez/1074
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Add the ability to disable specific (or all) CDI hooks when generating a CDI specification
2025-06-03 16:03:18 +02:00
Carlos Eduardo Arango Gutierrez
6cf0248321
Added ability to disable specific (or all) CDI hooks
...
This change adds the ability to disabled specific (or all) CDI hooks to
both the nvidia-ctk cdi generate command and the nvcdi API.
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-06-03 16:01:20 +02:00
Carlos Eduardo Arango Gutierrez
b4787511d2
Consolidate HookName functionality on internal/discover pkg
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-06-03 15:24:43 +02:00
Evan Lezar
890db82b46
Merge pull request #1127 from ArangoGutierrez/e2e/internal_runner
...
[no-relnote] E2E GitHub action to run with internal runner
2025-06-03 15:18:42 +02:00
Carlos Eduardo Arango Gutierrez
5915328be5
[no-relnote] E2E GitHub action to run with internal runner
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-06-03 12:47:35 +02:00
Evan Lezar
bb3a54f7f4
Merge pull request #1126 from elezar/bump-holodeck-0.2.12
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump NVIDIA/holodeck from 0.2.7 to 0.2.12
2025-06-03 10:55:50 +02:00
dependabot[bot]
a909914cd6
Bump NVIDIA/holodeck from 0.2.7 to 0.2.12
...
Bumps [NVIDIA/holodeck](https://github.com/nvidia/holodeck ) from 0.2.7 to 0.2.12.
- [Release notes](https://github.com/nvidia/holodeck/releases )
- [Commits](https://github.com/nvidia/holodeck/compare/v0.2.7...v0.2.12 )
---
updated-dependencies:
- dependency-name: NVIDIA/holodeck
dependency-version: 0.2.12
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-03 10:11:47 +02:00
Evan Lezar
f973271da1
Merge pull request #1119 from elezar/use-public-runners
...
[no-relnote] Switch to public runners
2025-06-02 21:53:02 +02:00
Evan Lezar
535e023828
Merge pull request #1120 from elezar/remove-release-archive
...
[no-relnote] Remove release:archive CI step
2025-06-02 13:44:33 +02:00
Evan Lezar
f2cf3e8deb
[no-relnote] Remove release:archive CI step
...
Remove unneeded release:archive internal CI step.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-30 17:10:03 +02:00
Evan Lezar
03e8b9e0f5
[no-relnote] Switch to public runners
...
Since we now use pr-copy-bot, we are not running image builds
from forks and as such the required secrets for pushing to the
ghcr are present.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-30 16:40:29 +02:00
Evan Lezar
450f73a046
Merge commit from fork
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Add `NVIDIA_CTK_DEBUG=false` to hook envs
2025-05-30 15:31:26 +02:00
Evan Lezar
479df7134a
Add envvar to control debug logging in CDI hooks
...
This change allows hooks to be configured with debug logging. This
is currently only enabled for the hooks generated from the runtime.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-30 15:27:52 +02:00
Evan Lezar
19a83e3542
Merge pull request #1112 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-6eda4d7
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump third_party/libnvidia-container from `caf057b` to `6eda4d7`
2025-05-28 10:33:44 +02:00
dependabot[bot]
d2344cba34
Bump third_party/libnvidia-container from caf057b to 6eda4d7
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `caf057b` to `6eda4d7`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](caf057b009...6eda4d76c8 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-version: 6eda4d76c8c5f8fc174e4abca83e513fb4dd63b0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-28 08:16:30 +00:00
Evan Lezar
c8c22162b7
Merge pull request #958 from ArangoGutierrez/codecov
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
[no-relnote] Enable Coveralls for code coverage
2025-05-27 15:48:54 +02:00
Evan Lezar
ea9b8721c0
Merge pull request #1108 from NVIDIA/dependabot/github_actions/main/NVIDIA/holodeck-0.2.9
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump NVIDIA/holodeck from 0.2.7 to 0.2.9
2025-05-27 10:21:15 +02:00
dependabot[bot]
eaaa8536e4
Bump NVIDIA/holodeck from 0.2.7 to 0.2.9
...
Bumps [NVIDIA/holodeck](https://github.com/nvidia/holodeck ) from 0.2.7 to 0.2.9.
- [Release notes](https://github.com/nvidia/holodeck/releases )
- [Commits](https://github.com/nvidia/holodeck/compare/v0.2.7...v0.2.9 )
---
updated-dependencies:
- dependency-name: NVIDIA/holodeck
dependency-version: 0.2.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-27 08:19:31 +00:00
Carlos Eduardo Arango Gutierrez
e955f65d8f
[no-relnote] Enable Coveralls
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-05-23 13:53:45 +02:00
Evan Lezar
b934c68bef
Merge pull request #1103 from elezar/reenable-nvsandboxutils
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Reenable nvsandboxutils for driver discovery
2025-05-23 11:38:46 +02:00
Evan Lezar
7bd65da91e
Add FeatureFlags to the nvcdi API
...
This change adds support for feature flags to the nvcdi API.
A feature flag to disable nvsandboxutils is also added to allow
more flexibility in cases where this library causes issue.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-22 17:26:41 +02:00
Evan Lezar
872aa2fe1c
Reenable nvsandboxutils for driver discovery
...
This change reenables nvsandboxutils for driver discovery. This
was disabled due to an error in a specific driver version (v565)
so as to not block the release of the DRA driver for ComputeDomains.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-22 17:26:40 +02:00
Carlos Eduardo Arango Gutierrez
be6a36c023
Merge pull request #1102 from ArangoGutierrez/i/1094
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Edit discover.mounts to have a deterministic output
2025-05-22 15:53:22 +02:00
Carlos Eduardo Arango Gutierrez
aaaa3c6275
Edit discover.mounts to have a deterministic output
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-22 15:25:03 +02:00
Evan Lezar
f93d96a0de
Merge pull request #1090 from ArangoGutierrez/hookcreator
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Refactor the way we handle Hook Creation
2025-05-21 14:23:51 +02:00
Carlos Eduardo Arango Gutierrez
2a4cf4c0a0
[no-relnote] Update gitignore
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-05-21 10:19:52 +02:00
Carlos Eduardo Arango Gutierrez
cf3b9317ef
Refactor the way we create CDI Hooks
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-05-21 10:19:47 +02:00
Evan Lezar
6ba25e7288
Merge pull request #1095 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-caf057b
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump third_party/libnvidia-container from `51a7f20` to `caf057b`
2025-05-20 20:31:49 +02:00
dependabot[bot]
296633d148
Bump third_party/libnvidia-container from 51a7f20 to caf057b
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `51a7f20` to `caf057b`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](51a7f20088...caf057b009 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-version: caf057b00987a6d874d519cc80b742c43faa859a
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-20 13:20:23 +00:00
Evan Lezar
ac8f190c99
Merge commit from fork
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Run update-ldcache in isolated namespaces
2025-05-16 15:15:21 +02:00
Evan Lezar
3c1f1a6519
Merge pull request #1086 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-51a7f20
...
Bump third_party/libnvidia-container from `d26524a` to `51a7f20`
2025-05-16 14:18:17 +02:00
dependabot[bot]
3ee5ff0aa2
Bump third_party/libnvidia-container from d26524a to 51a7f20
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `d26524a` to `51a7f20`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](d26524ab5d...51a7f20088 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-version: 51a7f20088dc0c3e7ddbb67629bf8e63b9130339
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-16 08:27:41 +00:00
Evan Lezar
6dfd63f4a8
Merge pull request #980 from elezar/add-rprivate-to-mount-options
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Add rprivate to CDI mount options
2025-05-16 07:53:39 +02:00
Evan Lezar
35e583b623
Merge pull request #1000 from elezar/ignore-unknown-hooks
...
Issue warning on unsupported CDI hook
2025-05-16 07:52:25 +02:00
Evan Lezar
7d71932d2a
Merge pull request #1085 from elezar/add-security-md
...
[no-relnote] Add SECURITY.md to repo
2025-05-16 07:51:27 +02:00
Evan Lezar
d3ea72c440
[no-relnote] Add SECURITY.md to repo
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-15 16:38:43 +02:00
Evan Lezar
c0dda358a3
Issue warning on unsupported CDI hook
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
To allow for CDI hooks to be added gradually we provide a generic no-op hook
for unrecognised subcommands. This will log a warning instead of erroring out.
An unsupported hook could be the result of a CDI specification referring to a
new hook that is not yet supported by an older NVIDIA Container Toolkit
version or a hook that has been removed in newer version.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-15 14:05:19 +02:00
Evan Lezar
ec29b602c3
Run update-ldcache in isolated namespaces
...
This change uses the reexec package to run the update of the
ldcache in a container in a process with isolated namespaces.
Since the hook is invoked as a createContainer hook, these
namespaces are cloned from the container's namespaces.
In the reexec handler, we further isolate the proc filesystem,
mount the host ldconfig to a tmpfs, and pivot into the containers
root.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-15 12:45:49 +02:00
Carlos Eduardo Arango Gutierrez
241881f12f
Merge pull request #1048 from ArangoGutierrez/updated_e2e
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
[no-relnote] Update E2E test suite
2025-05-14 12:27:01 +02:00
Carlos Eduardo Arango Gutierrez
eb40f240ac
[no-relnote] Update E2E suite
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-14 11:22:14 +02:00
Evan Lezar
72b2ee9ce0
Merge pull request #1055 from elezar/add-cuda-compat-mode
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Add nvidia-container-cli.compat-mode config option
2025-05-13 21:56:18 +02:00
Evan Lezar
f4981f0876
Add cuda-compat-mode config option
...
This change adds an nvidia-container-runtime.modes.legacy.cuda-compat-mode
config option. This can be set to one of four values:
* ldconfig (default): the --cuda-compat-mode=ldconfig flag is passed to the nvidia-container-cli
* mount: the --cuda-compat-mode=mount flag is passed to the nvidia-conainer-cli
* disabled: the --cuda-compat-mode=disabled flag is passed to the nvidia-container-cli
* hook: the --cuda-compat-mode=disabled flag is passed to the nvidia-container-cli AND the
enable-cuda-compat hook is used to provide forward compatibility.
Note that the disable-cuda-compat-lib-hook feature flag will prevent the enable-cuda-compat
hook from being used. This change also means that the allow-cuda-compat-libs-from-container
feature flag no longer has any effect.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-13 21:49:53 +02:00
Evan Lezar
2ec67033c0
Merge pull request #1081 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-d26524a
...
Bump third_party/libnvidia-container from `a198166` to `d26524a`
2025-05-13 21:49:21 +02:00
dependabot[bot]
f8eda79aaf
Bump third_party/libnvidia-container from a198166 to d26524a
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `a198166` to `d26524a`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](a198166e1c...d26524ab5d )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-version: d26524ab5db96a55ae86033f53de50d3794fb547
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-13 19:48:20 +00:00
Evan Lezar
51504097d8
Merge pull request #1078 from elezar/add-thor-support
...
Fix mode detection on Thor-based systems
2025-05-13 21:33:25 +02:00
Evan Lezar
a4dc28bb3f
Fix mode detection on Thor-based systems
...
This change updates github.com/NVIDIA/go-nvlib from v0.7.1 to v0.7.2
to allow Thor systems to be detected as Tegra-based. This allows fixes
automatic mode detection to work on these systems.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-13 21:25:11 +02:00
Evan Lezar
d0103aa6a3
Add rprivate to CDI mount options
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
This ensures that mount propagation is set to rprivate for
mounts from the host into the container. This aligns with the
default in docker.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-09 15:16:13 +02:00
Evan Lezar
adb5e6719d
Merge pull request #1046 from elezar/resolve-ldcache-libs-on-arm64
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Fix resolution of libs in LDCache on ARM
2025-05-09 15:04:00 +02:00
Evan Lezar
0c254711e7
Merge pull request #1066 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.9.0-base-ubuntu20.04
...
Bump nvidia/cuda from 12.8.1-base-ubuntu20.04 to 12.9.0-base-ubuntu20.04 in /deployments/container
2025-05-09 13:51:10 +02:00
Evan Lezar
27adebaa44
Merge pull request #1065 from elezar/skip-nill-discoverers
...
Skip nil discoverers in merge
2025-05-09 13:50:44 +02:00
dependabot[bot]
496cdb5463
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.8.1-base-ubuntu20.04 to 12.9.0-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-version: 12.9.0-base-ubuntu20.04
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-08 08:38:12 +00:00
Evan Lezar
132c9afb6c
Merge pull request #1063 from NVIDIA/dependabot/github_actions/main/slackapi/slack-github-action-2.1.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump slackapi/slack-github-action from 2.0.0 to 2.1.0
2025-05-07 17:19:08 +02:00
Evan Lezar
c879fb59c1
Merge pull request #1058 from NVIDIA/dependabot/github_actions/main/golangci/golangci-lint-action-8
...
Bump golangci/golangci-lint-action from 7 to 8
2025-05-07 16:54:45 +02:00
Evan Lezar
fbff2c4943
Merge pull request #1064 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.24.3
...
Bump golang from 1.24.2 to 1.24.3 in /deployments/devel
2025-05-07 16:54:18 +02:00
Evan Lezar
0c765c6536
Skip nil discoverers in merge
...
When constructing a list of discoverers using discover.Merge we
explicitly skip `nil` discoverers to simplify usage as we don't
have to explicitly check validity when processing the discoverers
in the list.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-05-07 12:51:38 +02:00
dependabot[bot]
0863749de3
Bump golang from 1.24.2 to 1.24.3 in /deployments/devel
...
Bumps golang from 1.24.2 to 1.24.3.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-07 08:53:04 +00:00
dependabot[bot]
a8ca8e91f2
Bump slackapi/slack-github-action from 2.0.0 to 2.1.0
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-version: 2.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-07 08:29:10 +00:00
Evan Lezar
cf395e765a
Merge pull request #1061 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.33.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang.org/x/sys from 0.32.0 to 0.33.0
2025-05-06 14:32:35 +02:00
dependabot[bot]
f859c9a671
Bump golang.org/x/sys from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/sys/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-06 09:31:22 +00:00
Carlos Eduardo Arango Gutierrez
f50e815837
Merge pull request #1062 from NVIDIA/dependabot/go_modules/tests/main/golang.org/x/crypto-0.38.0
...
Bump golang.org/x/crypto from 0.37.0 to 0.38.0 in /tests
2025-05-06 11:30:11 +02:00
dependabot[bot]
ffcef4f9a8
Bump golang.org/x/crypto from 0.37.0 to 0.38.0 in /tests
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-06 08:42:33 +00:00
dependabot[bot]
194a1663ab
Bump golangci/golangci-lint-action from 7 to 8
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 7 to 8.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v7...v8 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-05 09:11:37 +00:00
Evan Lezar
51d603aec6
Merge pull request #1024 from NVIDIA/dependabot/go_modules/tests/main/golang.org/x/crypto-0.37.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang.org/x/crypto from 0.36.0 to 0.37.0 in /tests
2025-05-02 13:14:34 +02:00
Evan Lezar
3f9359eba2
Merge pull request #1056 from tariq1890/bump-runc-dep
...
Bump github.com/opencontainers/runc from v1.2.6 to v1.3.0
2025-05-02 13:14:13 +02:00
dependabot[bot]
574d204953
Bump golang.org/x/crypto from 0.36.0 to 0.37.0 in /tests
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-30 13:52:05 +00:00
Evan Lezar
ca061bb4f0
Merge pull request #1026 from NVIDIA/dependabot/go_modules/tests/main/github.com/onsi/ginkgo/v2-2.23.4
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4 in /tests
2025-04-30 15:50:42 +02:00
Tariq Ibrahim
f7a415f480
bump runc go dep to v1.3.0
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2025-04-29 19:01:38 -07:00
Evan Lezar
e6cd7a3b53
Fix resolution of libs in LDCache on ARM
...
Since we explicitly check for the architecture of the
libraries in the ldcache, we need to also check the architecture
flag against the ARM constants.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-23 14:28:28 +02:00
dependabot[bot]
9f6b45817b
Bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4 in /tests
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.23.3 to 2.23.4.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.23.3...v2.23.4 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-version: 2.23.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-22 08:27:11 +00:00
Evan Lezar
de3d736663
Merge pull request #1035 from NVIDIA/dependabot/go_modules/tests/golang.org/x/net-0.38.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang.org/x/net from 0.37.0 to 0.38.0 in /tests
2025-04-22 10:25:58 +02:00
Evan Lezar
e4e7c5d857
Merge pull request #1039 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-a198166
...
Bump third_party/libnvidia-container from `95d3e86` to `a198166`
2025-04-22 09:34:29 +02:00
dependabot[bot]
0620dfa6f9
Bump third_party/libnvidia-container from 95d3e86 to a198166
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `95d3e86` to `a198166`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](95d3e86522...a198166e1c )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-version: a198166e1c1166f4847598438115ea97dacc7a92
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-18 08:16:29 +00:00
Evan Lezar
6394e9e9e7
Merge pull request #1033 from JunAr7112/migrate_ngc_changes
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Updated .release:staging to stage images in nvstaging
2025-04-17 15:13:43 +02:00
Evan Lezar
a2e2a44516
Merge pull request #990 from elezar/refactor-toolkit-installer
...
Refactor toolkit installer
2025-04-17 15:08:39 +02:00
Arjun
6605bfb5fa
Updated .release:staging to stage images in nvstaging
...
Signed-off-by: Arjun <arjun.gadiyar@gmail.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-17 14:02:33 +02:00
Evan Lezar
14806f019b
Refactor toolkit installer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-17 13:56:58 +02:00
Evan Lezar
2437630421
[no-relnote] Explicitly use blank config
...
Since this is running in a contianer the contents of the
/etc/nvidia-container-runtime/config.toml file is equivalent to the
default config. This change makes it explicit.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-17 13:56:58 +02:00
Evan Lezar
cdad158f0f
[no-relnote] Move toolkit installer package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-17 13:56:56 +02:00
Evan Lezar
baa4f907ab
[no-relnote] Allow relative paths from operator structs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-17 13:56:14 +02:00
Evan Lezar
afc05f6713
Merge pull request #1004 from dschervov/main
...
Add support for building ubuntu22.04 on amd64
2025-04-17 13:54:08 +02:00
dependabot[bot]
abea8d375c
Bump golang.org/x/net from 0.37.0 to 0.38.0 in /tests
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-16 23:29:16 +00:00
Evan Lezar
af985c22ea
Merge pull request #1025 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.32.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang.org/x/sys from 0.31.0 to 0.32.0
2025-04-09 15:47:53 +02:00
Evan Lezar
b4edc3e730
Merge pull request #1016 from elezar/allow-runtime-path
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Allow container runtime executable path to be specified
2025-04-08 17:35:19 +02:00
Evan Lezar
c57bdf3391
Allow container runtime executable path to be specified
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
This change adds support for specifying the container runtime
executable path. This can be used if, for example, there are
two containerd or crio executables and a specific one must be used.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-07 17:28:11 +02:00
dependabot[bot]
4c241f22ef
Bump golang.org/x/sys from 0.31.0 to 0.32.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/sys/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-07 09:35:18 +00:00
Dmitrii Chervov
cd3fdd9f0f
Add support for building ubuntu22.04 on arm64
...
Signed-off-by: Dmitrii Chervov <dschervov1@yandex.ru >
2025-04-06 18:06:36 +03:00
Evan Lezar
cb7605e132
[no-relnote] Remove unused runtimeConfigOverideJSON variable
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-04 10:57:12 +02:00
Evan Lezar
a2caaec99d
Merge pull request #1014 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.24.2
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang from 1.24.1 to 1.24.2 in /deployments/devel
2025-04-03 15:52:17 +02:00
Carlos Eduardo Arango Gutierrez
7dc93d6c9a
Merge pull request #1017 from NVIDIA/dependabot/go_modules/tests/main/github.com/onsi/gomega-1.37.0
...
Bump github.com/onsi/gomega from 1.36.2 to 1.37.0 in /tests
2025-04-03 14:25:08 +02:00
dependabot[bot]
aacfaed40b
Bump github.com/onsi/gomega from 1.36.2 to 1.37.0 in /tests
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.36.2 to 1.37.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.36.2...v1.37.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-version: 1.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-03 08:30:59 +00:00
Evan Lezar
7833723be1
Merge pull request #737 from elezar/use-with-cache-for-mounts
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Fix race condition in mounts cache
2025-04-02 16:30:05 +02:00
Evan Lezar
986f3db971
Fix race condition in mounts cache
...
This change switches to using the WithCache decorator for
mounts instead of keeping track of a cache locally.
This addresses a race condition when using the mounts structure.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 16:29:49 +02:00
Evan Lezar
98deb7e4bc
Merge pull request #1015 from NVIDIA/dependabot/github_actions/main/NVIDIA/holodeck-0.2.7
...
Bump NVIDIA/holodeck from 0.2.6 to 0.2.7
2025-04-02 16:28:42 +02:00
dependabot[bot]
3fbb6a8dc6
Bump NVIDIA/holodeck from 0.2.6 to 0.2.7
...
Bumps [NVIDIA/holodeck](https://github.com/nvidia/holodeck ) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/nvidia/holodeck/releases )
- [Commits](https://github.com/nvidia/holodeck/compare/v0.2.6...v0.2.7 )
---
updated-dependencies:
- dependency-name: NVIDIA/holodeck
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 12:25:55 +00:00
Evan Lezar
50a7e2fd15
Merge pull request #1009 from NVIDIA/dependabot/github_actions/main/golangci/golangci-lint-action-7
...
Bump golangci/golangci-lint-action from 6 to 7
2025-04-02 14:24:43 +02:00
dependabot[bot]
8ab6ab984e
Bump golang from 1.24.1 to 1.24.2 in /deployments/devel
...
Bumps golang from 1.24.1 to 1.24.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 12:18:33 +00:00
Evan Lezar
0fb3eec1bb
[no-relnote] Fix ST1005: error strings should not be capitalized lint errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 14:18:32 +02:00
Evan Lezar
3913a6392b
[no-relnote] Fix QF1012: Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)) lint errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 14:18:32 +02:00
Evan Lezar
80fb4dc0e9
[no-relnote] Fix ST1019: package tags.cncf.io/container-device-interface/specs-go is being imported more than once lint errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 14:18:32 +02:00
Evan Lezar
be9d7b6db1
[no-relnote] Fix QF1002: could use tagged switch on info.SubType lint errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 14:18:32 +02:00
Evan Lezar
c1c6534b1f
[no-relnote] Fix QF1008: could remove embedded field lint errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 14:18:32 +02:00
Evan Lezar
bee1969bbf
[no-relnote] Migrate golangci-lint config to v2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 14:18:32 +02:00
dependabot[bot]
47fc33ea9b
Bump golangci/golangci-lint-action from 6 to 7
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6 to 7.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-02 14:18:32 +02:00
Evan Lezar
c1cf52d1f7
Merge pull request #1008 from NVIDIA/dependabot/go_modules/main/tags.cncf.io/container-device-interface-1.0.1
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump tags.cncf.io/container-device-interface from 1.0.0 to 1.0.1
2025-04-02 12:11:02 +02:00
Evan Lezar
1c845ea2d5
[no-relnote] Update CDI tests for new whitespace formatting
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-04-02 11:38:46 +02:00
dependabot[bot]
5549824559
Bump tags.cncf.io/container-device-interface from 1.0.0 to 1.0.1
...
Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cncf-tags/container-device-interface/releases )
- [Changelog](https://github.com/cncf-tags/container-device-interface/blob/main/RELEASE.md )
- [Commits](https://github.com/cncf-tags/container-device-interface/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: tags.cncf.io/container-device-interface
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 09:08:27 +00:00
Dmitrii Chervov
35b471d833
Add support for building ubuntu22.04 on amd64
...
Signed-off-by: Dmitrii Chervov <dschervov1@yandex.ru >
2025-03-21 19:34:07 +03:00
Evan Lezar
e33f15a128
Merge pull request #1002 from elezar/improve-update-ldcache-args
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Fix update-ldcache arguments
2025-03-20 13:19:25 +02:00
Evan Lezar
77bf9157ab
Merge pull request #989 from NVIDIA/dependabot/go_modules/tests/golang.org/x/net-0.36.0
...
Bump golang.org/x/net from 0.35.0 to 0.36.0 in /tests
2025-03-20 13:01:20 +02:00
Evan Lezar
995e56306d
Fix update-ldcache arguments
...
This change updates how the lconfig arguments are constructed. This
makes the update-ldcache more robust and ensures that folders are
specified last if at al.
Checks are also included for empty container roots at the start of the
hook to simplify later checks.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-20 12:51:31 +02:00
dependabot[bot]
3f58c67fed
Bump golang.org/x/net from 0.35.0 to 0.36.0 in /tests
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-18 13:26:57 +02:00
Evan Lezar
e7a0067aae
Merge pull request #998 from NVIDIA/dependabot/go_modules/main/github.com/opencontainers/runc-1.2.6
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump github.com/opencontainers/runc from 1.2.5 to 1.2.6
2025-03-18 13:26:18 +02:00
dependabot[bot]
002197d5b1
Bump github.com/opencontainers/runc from 1.2.5 to 1.2.6
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.2.6/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.2.5...v1.2.6 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-18 08:39:18 +00:00
Evan Lezar
a72050442e
Merge pull request #992 from elezar/cleanup-nvidia-ctk-installer
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Cleanup nvidia ctk installer
2025-03-17 12:41:04 +02:00
Evan Lezar
75a30af36a
Remove positional arguments from nvidia-ctk-installer
...
Parsing positional arguments require additional processing
instead of relying on named flags. This change switches to
using a named flag for specifying the toolkit installation directory.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-14 14:57:24 +02:00
Evan Lezar
89b99ff786
Remove deprecated --runtime-args from nvidia-ctk-installer
...
The GPU Operator no longer sets the RUNTIME_ARGS environment variable
to control the runtime and instead sets general environment variables.
This change removes support for setting RUNTIME_ARGS in the CLI as these
settings have no effect.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-14 14:57:24 +02:00
Evan Lezar
025407543f
Merge pull request #993 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.8.1-base-ubuntu20.04
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump nvidia/cuda from 12.8.0-base-ubuntu20.04 to 12.8.1-base-ubuntu20.04 in /deployments/container
2025-03-14 11:24:11 +02:00
dependabot[bot]
41fd83ab2b
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.8.0-base-ubuntu20.04 to 12.8.1-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-14 08:20:16 +00:00
Evan Lezar
dd55eeecc9
Merge pull request #991 from elezar/rename-app-name
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Minor updates to nvidia-ctk-installer
2025-03-13 16:17:54 +02:00
Evan Lezar
62497870fa
Add version info to nvidia-ctk-installer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-13 16:15:29 +02:00
Evan Lezar
eb932bef8a
Update nvidia-ctk-installer app name to match binary name
...
This change updates the nvidia-ctk-installer app name to match the binary name.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-13 16:12:13 +02:00
Evan Lezar
e4547bdda6
Merge pull request #969 from elezar/allow-comma-separated-config-values
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Allow nvidia-ctk config --set to accept comma-separated lists
2025-03-12 16:21:52 +02:00
Evan Lezar
d32449b2d2
Allow nvidia-ctk config --set to accept comma-separated lists
...
The urfave update to v2.27.6 fixes the behaviour when disabling a separator
for repeated StringSliceFlags. This change updates the nvidia-ctk config
command to allow list options to be specified as comma-separated values.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-12 15:47:32 +02:00
Evan Lezar
63ed478ce9
Merge pull request #959 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.24.1
...
Bump golang from 1.24.0 to 1.24.1 in /deployments/devel
2025-03-12 14:05:19 +02:00
Evan Lezar
047225a9ae
Merge pull request #987 from elezar/fix-mock-generation
...
[no-relnotes] Update moq to use rm and goimports
2025-03-12 13:44:02 +02:00
Evan Lezar
2a9bae8e80
[no-relnotes] Update moq to use rm and goimports
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-12 13:12:13 +02:00
Evan Lezar
57f077fce7
Merge pull request #985 from elezar/fix-signing-container
...
[no-relnote] Use centos:stream9 for signing container
2025-03-12 12:45:57 +02:00
Evan Lezar
26101ea023
[no-relnote] Use centos:stream9 for signing container
...
The signing container need not be based on a legacy centos version.
This change updates the signing contianer to be centos:stream9 based.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-12 12:44:35 +02:00
Evan Lezar
64dd017801
Merge pull request #984 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.64.7
...
Bump github.com/golangci/golangci-lint from 1.64.6 to 1.64.7 in /deployments/devel
2025-03-12 11:49:00 +02:00
dependabot[bot]
37ba7a2801
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.6 to 1.64.7.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.6...v1.64.7 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-12 08:20:59 +00:00
Evan Lezar
3df59b955a
Merge pull request #978 from NVIDIA/dependabot/go_modules/main/tags.cncf.io/container-device-interface-1.0.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump tags.cncf.io/container-device-interface from 0.8.1 to 1.0.0
2025-03-10 10:45:38 +02:00
Evan Lezar
33280cd2b2
[no-relnote] Address stricter validation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-10 10:41:40 +02:00
Evan Lezar
3306d5081e
[no-relnote] Output sorted specs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-10 10:41:40 +02:00
Evan Lezar
7c3ab75d08
[no-relnote] Update cdi.CurrentVersion reference
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-10 10:41:40 +02:00
dependabot[bot]
71985df972
Bump tags.cncf.io/container-device-interface from 0.8.1 to 1.0.0
...
Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface ) from 0.8.1 to 1.0.0.
- [Release notes](https://github.com/cncf-tags/container-device-interface/releases )
- [Changelog](https://github.com/cncf-tags/container-device-interface/blob/main/RELEASE.md )
- [Commits](https://github.com/cncf-tags/container-device-interface/compare/v0.8.1...v1.0.0 )
---
updated-dependencies:
- dependency-name: tags.cncf.io/container-device-interface
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-10 10:41:40 +02:00
Evan Lezar
4255d73d89
Merge pull request #981 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-95d3e86
...
Bump third_party/libnvidia-container from `f23e5e5` to `95d3e86`
2025-03-10 10:40:48 +02:00
dependabot[bot]
9bdb74aec2
Bump third_party/libnvidia-container from f23e5e5 to 95d3e86
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `f23e5e5` to `95d3e86`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](f23e5e55ea...95d3e86522 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-10 08:34:52 +00:00
Evan Lezar
e436533a6f
Merge pull request #968 from elezar/allow-hooks-disable
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Allow enable-cuda-compat hook to be disabled in CDI spec generation
2025-03-07 16:54:34 +02:00
Evan Lezar
0f299c3431
Disable enable-cuda-compat hook for management containers
...
Management containers don't generally need forward compatibility.
We disable the enable-cuda-compat hook to not include this in the
generated CDI specifications.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-07 16:54:09 +02:00
Evan Lezar
f852043078
Allow enable-cuda-compat hook to be disabled in CDI spec generation
...
This change adds support to the nvcdi package to opt out of specific hooks.
Currently only the `enable-cuda-compat` hook is supported. This allows clients to
generate a CDI spec that is compatible with older nvidia-cdi-hook CLIs.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-07 16:54:09 +02:00
Carlos Eduardo Arango Gutierrez
ef0b16bc24
Merge pull request #966 from NVIDIA/dependabot/go_modules/tests/main/golang.org/x/crypto-0.36.0
...
Bump golang.org/x/crypto from 0.35.0 to 0.36.0 in /tests
2025-03-07 15:40:44 +01:00
dependabot[bot]
225dfec83f
Bump golang.org/x/crypto from 0.35.0 to 0.36.0 in /tests
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-07 14:32:55 +00:00
Carlos Eduardo Arango Gutierrez
03c48a6824
Merge pull request #956 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.64.6
...
Bump github.com/golangci/golangci-lint from 1.64.5 to 1.64.6 in /deployments/devel
2025-03-07 15:16:06 +01:00
dependabot[bot]
6530826293
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.5 to 1.64.6.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.5...v1.64.6 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-07 14:05:34 +00:00
Carlos Eduardo Arango Gutierrez
971fd195b3
Merge pull request #964 from NVIDIA/dependabot/go_modules/tests/main/github.com/onsi/ginkgo/v2-2.23.0
...
Bump github.com/onsi/ginkgo/v2 from 2.22.2 to 2.23.0 in /tests
2025-03-07 15:04:17 +01:00
dependabot[bot]
3b10afd0fe
Bump github.com/onsi/ginkgo/v2 from 2.22.2 to 2.23.0 in /tests
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.22.2 to 2.23.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.22.2...v2.23.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-07 13:44:49 +00:00
Evan Lezar
6b7ed26fba
Merge pull request #963 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.6
...
Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6
2025-03-07 15:43:32 +02:00
dependabot[bot]
8d5f1e2427
Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.5 to 2.27.6.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.5...v2.27.6 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-06 10:48:36 +00:00
Evan Lezar
d82a9ccd89
Merge pull request #961 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.31.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang.org/x/sys from 0.30.0 to 0.31.0
2025-03-06 12:47:14 +02:00
dependabot[bot]
8ac213e3e6
Bump golang.org/x/sys from 0.30.0 to 0.31.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/sys/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-06 09:39:17 +00:00
Evan Lezar
0128762832
Merge pull request #962 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.24.0
...
Bump golang.org/x/mod from 0.23.0 to 0.24.0
2025-03-06 11:38:07 +02:00
dependabot[bot]
d7b150a2e6
Bump golang.org/x/mod from 0.23.0 to 0.24.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/mod/compare/v0.23.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-06 11:34:42 +02:00
Evan Lezar
57c917e3b1
[no-relnote] Use --exit-code instead of --quiet for mod check
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-03-06 11:33:48 +02:00
dependabot[bot]
ed8faa2d2e
Bump golang from 1.24.0 to 1.24.1 in /deployments/devel
...
Bumps golang from 1.24.0 to 1.24.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-05 08:17:42 +00:00
Evan Lezar
bc9ec77fdd
Merge pull request #943 from elezar/add-disable-imex-channels-feature
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Add ignore-imex-channel-requests feature flag
2025-02-28 17:53:28 +02:00
Evan Lezar
82f2eb7b73
Merge pull request #949 from NVIDIA/dependabot/go_modules/main/github.com/opencontainers/runtime-spec-1.2.1
...
Bump github.com/opencontainers/runtime-spec from 1.2.0 to 1.2.1
2025-02-28 14:49:09 +02:00
dependabot[bot]
712d829018
Bump github.com/opencontainers/runtime-spec from 1.2.0 to 1.2.1
...
Bumps [github.com/opencontainers/runtime-spec](https://github.com/opencontainers/runtime-spec ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/opencontainers/runtime-spec/releases )
- [Changelog](https://github.com/opencontainers/runtime-spec/blob/main/ChangeLog )
- [Commits](https://github.com/opencontainers/runtime-spec/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runtime-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-28 12:01:30 +00:00
Evan Lezar
598b9740fc
Merge pull request #941 from elezar/seal-ldconfig
...
Use memfd when running ldconfig
2025-02-28 14:00:23 +02:00
Evan Lezar
968e2ccca4
Merge pull request #906 from elezar/add-compat-lib-hook
...
Add CUDA forward compatibility hook
2025-02-27 17:25:19 +02:00
Evan Lezar
aff9301f2e
Add disable-cuda-compat-lib-hook feature flag
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
011fb72330
Add basic integration tests for forward compat
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
2adef9903e
Ensure that mode hook is executed last
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
70b1f5af98
Add enable-cuda-compat hook to CDI spec generation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
c9422f12b3
[no-relnote] Add basic CDI generate test
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
b7fbd56f7e
Add ldconfig hook in legacy mode
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
bd87c009ba
Add enable-cuda-compat hook if required
...
This change adds the enable-cuda-compat hook to the incomming OCI runtime spec
if the allow-cuda-compat-libs-from-container feature flag is not enabled.
An update-ldcache hook is also injected to ensure that the required folders
are processed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
fc65d3a784
Add enable-cuda-compat hook to allow compat libs to be discovered
...
This change adds an nvidia-cdi-hook enable-cuda-compat hook that checks the
container for cuda compat libs and updates /etc/ld.so.conf.d to include their
parent folder if their driver major version is sufficient.
This allows CUDA Forward Compatibility to be used when this is not available
through the libnvidia-container.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 15:58:15 +02:00
Evan Lezar
52b9631333
Use libcontainer execseal to run ldconfig
...
This change copies ldconfig into a memfd before executing it from
the createContainer hook.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 13:52:27 +02:00
Evan Lezar
9429fbac5f
[no-relnote] Move root to separate file
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-27 13:48:29 +02:00
Evan Lezar
04e9bf4ac1
Merge pull request #937 from NVIDIA/dependabot/go_modules/main/tags.cncf.io/container-device-interface-0.8.1
...
Bump tags.cncf.io/container-device-interface from 0.8.0 to 0.8.1
2025-02-27 11:22:09 +02:00
Evan Lezar
3ceaf1f85c
Merge pull request #938 from NVIDIA/dependabot/go_modules/tests/main/golang.org/x/crypto-0.35.0
...
Bump golang.org/x/crypto from 0.33.0 to 0.35.0 in /tests
2025-02-27 11:12:45 +02:00
Evan Lezar
9f0c1042c4
Merge pull request #935 from elezar/disable-nvsandboxutils
...
Disable nvsandboxutils in nvcdi API
2025-02-27 11:07:42 +02:00
Evan Lezar
352b55c8ce
Add ignore-imex-channel-requests feature flag
...
This allows the NVIDIA Container Toolkit to ignore IMEX channel requests
through the NVIDIA_IMEX_CHANNELS envvar or volume mounts and ensures that
the NVIDIA Container Toolkit cannot be used to provide out-of-band access
to an IMEX channel by simply specifying an environment variable, possibly
bypassing other checks by an orchestration system such as kubernetes.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-26 17:46:36 +02:00
Evan Lezar
b13139793b
Disable nvsandboxutils in nvcdi API
...
Repeated calls to nvsandboxutils.Init and Shutdown are causing
segmentation violations. Here we disabled nvsandbox utils unless explicitly
specified.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-26 14:45:22 +02:00
dependabot[bot]
05f44b7752
Bump golang.org/x/crypto from 0.33.0 to 0.35.0 in /tests
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.33.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.33.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-25 09:12:04 +00:00
dependabot[bot]
a109f28cb6
Bump tags.cncf.io/container-device-interface from 0.8.0 to 0.8.1
...
Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/cncf-tags/container-device-interface/releases )
- [Commits](https://github.com/cncf-tags/container-device-interface/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: tags.cncf.io/container-device-interface
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-25 09:11:59 +00:00
Evan Lezar
65b575fa96
Merge pull request #933 from elezar/move-wrapper
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
[no-relnote] Move nvcdi wrapper to separate file
2025-02-21 22:43:45 +02:00
Evan Lezar
6e413d8445
[no-relnote] Move nvcdi wrapper to separate file
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-20 23:23:22 +02:00
Evan Lezar
5d9b27f107
Merge pull request #925 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.24.0
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump golang from 1.23.6 to 1.24.0 in /deployments/devel
2025-02-17 17:27:25 +01:00
Evan Lezar
767aee913d
Merge pull request #922 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/matryer/moq-0.5.3
...
Bump github.com/matryer/moq from 0.5.2 to 0.5.3 in /deployments/devel
2025-02-17 11:27:53 +01:00
dependabot[bot]
25bac4c62a
Bump golang from 1.23.6 to 1.24.0 in /deployments/devel
...
Bumps golang from 1.23.6 to 1.24.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-15 08:33:48 +00:00
dependabot[bot]
7e371aa024
Bump github.com/matryer/moq from 0.5.2 to 0.5.3 in /deployments/devel
...
Bumps [github.com/matryer/moq](https://github.com/matryer/moq ) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/matryer/moq/releases )
- [Changelog](https://github.com/matryer/moq/blob/main/.goreleaser.yml )
- [Commits](https://github.com/matryer/moq/compare/v0.5.2...v0.5.3 )
---
updated-dependencies:
- dependency-name: github.com/matryer/moq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-15 09:29:32 +01:00
Evan Lezar
bc2b937574
Merge pull request #928 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.64.5
...
CI Pipeline / code-scanning (push) Has been cancelled
CI Pipeline / variables (push) Has been cancelled
CI Pipeline / golang (push) Has been cancelled
CI Pipeline / image (push) Has been cancelled
CI Pipeline / e2e-test (push) Has been cancelled
Bump github.com/golangci/golangci-lint from 1.64.2 to 1.64.5 in /deployments/devel
2025-02-14 16:18:07 +01:00
dependabot[bot]
ae8561b509
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.64.2 to 1.64.5.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.64.2...v1.64.5 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-14 08:25:58 +00:00
Evan Lezar
64633903c7
Merge pull request #926 from ArangoGutierrez/slack_botv2
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
[no-relnote] Update Slack notification action step
2025-02-13 17:33:05 +01:00
Carlos Eduardo Arango Gutierrez
1273f879cc
[no-relnote] Update Slack notification action step
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-13 14:16:44 +01:00
Evan Lezar
8713a173fe
Merge pull request #921 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvlib-0.7.1
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump github.com/NVIDIA/go-nvlib from 0.7.0 to 0.7.1
2025-02-13 14:08:55 +01:00
Evan Lezar
e6d99934f8
Merge pull request #924 from NVIDIA/dependabot/github_actions/main/NVIDIA/holodeck-0.2.6
...
Bump NVIDIA/holodeck from 0.2.5 to 0.2.6
2025-02-13 14:06:59 +01:00
dependabot[bot]
0cf2d60406
Bump NVIDIA/holodeck from 0.2.5 to 0.2.6
...
Bumps [NVIDIA/holodeck](https://github.com/nvidia/holodeck ) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/nvidia/holodeck/releases )
- [Commits](https://github.com/nvidia/holodeck/compare/v0.2.5...v0.2.6 )
---
updated-dependencies:
- dependency-name: NVIDIA/holodeck
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-13 08:39:07 +00:00
dependabot[bot]
0e759d4ad8
Bump github.com/NVIDIA/go-nvlib from 0.7.0 to 0.7.1
...
Bumps [github.com/NVIDIA/go-nvlib](https://github.com/NVIDIA/go-nvlib ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/NVIDIA/go-nvlib/releases )
- [Commits](https://github.com/NVIDIA/go-nvlib/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-13 08:33:08 +00:00
Evan Lezar
9e85fb54fc
Merge pull request #903 from NVIDIA/dependabot/github_actions/main/slackapi/slack-github-action-2.0.0
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump slackapi/slack-github-action from 1.27.0 to 2.0.0
2025-02-12 17:21:01 +01:00
dependabot[bot]
ce79d01cf5
Bump slackapi/slack-github-action from 1.27.0 to 2.0.0
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.27.0 to 2.0.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.27.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-12 15:14:20 +00:00
Evan Lezar
5d27489d18
Merge pull request #890 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.30.0
...
CI Pipeline / code-scanning (push) Waiting to run
CI Pipeline / variables (push) Waiting to run
CI Pipeline / golang (push) Waiting to run
CI Pipeline / image (push) Blocked by required conditions
CI Pipeline / e2e-test (push) Blocked by required conditions
Bump golang.org/x/sys from 0.29.0 to 0.30.0
2025-02-12 13:12:50 +01:00
Evan Lezar
d80e8b9733
Merge pull request #904 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.23.6
...
Bump golang from 1.23.4 to 1.23.6 in /deployments/devel
2025-02-12 13:12:25 +01:00
Evan Lezar
a72b9cd12c
Merge pull request #919 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/matryer/moq-0.5.2
...
Bump github.com/matryer/moq from 0.5.1 to 0.5.2 in /deployments/devel
2025-02-12 13:12:03 +01:00
dependabot[bot]
c2f4ac0959
Bump github.com/matryer/moq from 0.5.1 to 0.5.2 in /deployments/devel
...
Bumps [github.com/matryer/moq](https://github.com/matryer/moq ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/matryer/moq/releases )
- [Changelog](https://github.com/matryer/moq/blob/main/.goreleaser.yml )
- [Commits](https://github.com/matryer/moq/compare/v0.5.1...v0.5.2 )
---
updated-dependencies:
- dependency-name: github.com/matryer/moq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-12 11:47:17 +00:00
Carlos Eduardo Arango Gutierrez
5db5ddb31b
Merge pull request #915 from ArangoGutierrez/e2e_tests02
...
[no-relnote] Configure all GitHub actions as reusable workflow
2025-02-12 12:10:53 +01:00
dependabot[bot]
ff1897f2e4
Bump golang.org/x/sys from 0.29.0 to 0.30.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/sys/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-12 10:24:31 +00:00
Evan Lezar
88f0157cae
Merge pull request #920 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.64.2
...
Bump github.com/golangci/golangci-lint from 1.63.4 to 1.64.2 in /deployments/devel
2025-02-12 11:23:25 +01:00
Carlos Eduardo Arango Gutierrez
27f1738c3d
[no-relnote] COnfigure all GitHub actions as reusable workflow
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-12 11:05:57 +01:00
Evan Lezar
f52df9522e
[no-relnote] Remove toolchain from deployments/devel go.mod
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-12 10:57:20 +01:00
Evan Lezar
edf79d6e8b
[no-relnote] Update vendor make target to handle submodules
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-12 10:56:56 +01:00
dependabot[bot]
6aadd6ed21
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.63.4 to 1.64.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.63.4...v1.64.2 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-12 08:50:19 +00:00
Evan Lezar
a1d60910b6
Merge pull request #912 from NVIDIA/dependabot/go_modules/tests/main/golang.org/x/crypto-0.33.0
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Has been cancelled
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Has been cancelled
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Has been cancelled
image / End-to-end Tests (push) Has been cancelled
Bump golang.org/x/crypto from 0.31.0 to 0.33.0 in /tests
2025-02-10 19:28:11 +01:00
Evan Lezar
03f5a09aec
Merge pull request #891 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.23.0
...
Bump golang.org/x/mod from 0.22.0 to 0.23.0
2025-02-10 19:27:33 +01:00
Evan Lezar
1f2232fc5f
Merge pull request #894 from elezar/remove-nvidia-container-runtime-hook-in-cdi-mode
...
Allow cdi mode to work with --gpus flag
2025-02-10 19:19:33 +01:00
Evan Lezar
b19f5d8f7d
Merge pull request #914 from elezar/bump-version-v1.17.4-main
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / End-to-end Tests (push) Blocked by required conditions
Bump version v1.17.4 main
2025-02-10 13:44:54 +01:00
Carlos Eduardo Arango Gutierrez
fa1379c6d5
Merge pull request #913 from ArangoGutierrez/e2e_tests01
...
[no-relnote] Run e2e tests as reusable workflow
2025-02-10 13:44:14 +01:00
Carlos Eduardo Arango Gutierrez
4ded119c31
[no-relnote] Run e2e tests as reusable workflow
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-10 13:28:36 +01:00
Evan Lezar
e0813e0c4d
Bump version for v1.17.4 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-10 13:24:41 +01:00
Evan Lezar
4add0a6bf2
Bump version for v1.17.4 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-10 13:24:27 +01:00
dependabot[bot]
fbcf8ef12e
Bump golang.org/x/crypto from 0.31.0 to 0.33.0 in /tests
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.31.0 to 0.33.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-10 08:28:19 +00:00
Evan Lezar
92472bd0ed
Merge pull request #909 from ArangoGutierrez/reg_test08
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Has been cancelled
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Has been cancelled
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Has been cancelled
[no-relnote] fix host and port string generation for remote E2E
2025-02-07 12:53:58 +01:00
Carlos Eduardo Arango Gutierrez
ac236a80f8
[no-relnote] fix host and port string generation for remote E2E
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-07 12:00:17 +01:00
Carlos Eduardo Arango Gutierrez
b69d98d7cf
Merge pull request #905 from ArangoGutierrez/reg_test07
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
[no-relnote] fix step holodeck_public_dns_name variable name E2E
2025-02-06 14:01:28 +01:00
Evan Lezar
adbe127afd
[no-relnote] Remove on push trigger
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-06 12:02:49 +01:00
Carlos Eduardo Arango Gutierrez
82ccae23b1
[no-relnote] fix step holodeck_public_dns_name variable name E2E
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-06 11:03:29 +01:00
dependabot[bot]
44cf1f4e3b
Bump golang from 1.23.4 to 1.23.6 in /deployments/devel
...
Bumps golang from 1.23.4 to 1.23.6.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-06 09:07:30 +00:00
Carlos Eduardo Arango Gutierrez
1d0777ee01
Merge pull request #902 from ArangoGutierrez/reg_test06
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
[no-relnote] set E2E_INSTALL_CTK to true during GH Actions E2E
2025-02-06 10:02:48 +01:00
Carlos Eduardo Arango Gutierrez
9f82e910f6
[no-relnote] set E2E_INSTALL_CTK to true during GH Actions E2E
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-06 09:52:06 +01:00
Evan Lezar
cb172ba336
Merge pull request #901 from ArangoGutierrez/reg_test05
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
[no-relnote] Fix flag name on E2E
2025-02-05 22:02:21 +01:00
Carlos Eduardo Arango Gutierrez
bbdb13c47d
[no-relnote] Fix flag name on E2E
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-05 20:29:27 +01:00
Evan Lezar
03152dba8d
Allow cdi mode to work with --gpus flag
...
This changes ensures that the cdi modifier also removes the NVIDIA
Container Runtime Hook from the incoming spec. This aligns with what is
done for CSV modifications and prevents an error when starting the
container.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 19:01:43 +01:00
Evan Lezar
cf026dce9a
[no-relnote] Remove duplicate test case
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 19:01:43 +01:00
Evan Lezar
073fb138d7
Merge pull request #900 from elezar/fix-make-target
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-aarch64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos7-x86_64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, centos8-ppc64le) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubi8, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{ github.ref_name != 'main' && !startsWith( github.ref_name, 'release-' ) }}) (push) Blocked by required conditions
[no-relnote] Fix e2e test make target
2025-02-05 19:01:20 +01:00
Evan Lezar
948bc113f0
[no-relnote] Fix e2e test make target
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 19:00:40 +01:00
Evan Lezar
b457247a0c
Merge pull request #895 from ArangoGutierrez/reg_test03
...
Add E2E GitHub Action for Container Toolkit
2025-02-05 17:51:18 +01:00
Evan Lezar
bae4b3ebd3
[no-relnote] Wait on image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 17:28:29 +01:00
Evan Lezar
3a06066f6b
[no-relnote] Simplify multi-arch checks
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 16:46:29 +01:00
Evan Lezar
c0292f5048
[no-relnote] Use nvcr.io/nvidia/cuda
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 16:26:09 +01:00
Carlos Eduardo Arango Gutierrez
cd8937bc5b
Add E2E GitHub Action for Container Toolkit
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-05 16:22:14 +01:00
Evan Lezar
cec3445318
Merge pull request #897 from elezar/fix-copy-prs
...
Fix detection of PRs
2025-02-05 16:21:44 +01:00
Evan Lezar
f830653738
[no-relnote] Remove unused LABEL_IMAGE_SOURCE
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 16:13:16 +01:00
Evan Lezar
6e9ff446c8
[no-relnote] Use github.ref_name to detect PRs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 16:13:16 +01:00
Evan Lezar
9a07de0ee8
Merge pull request #896 from elezar/onboard-pr-copy-bot
...
[no-relnote] Enable pr-copy-bot
2025-02-05 15:55:49 +01:00
Evan Lezar
517873e97d
[no-relnote] Enable pr-copy-bot
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-02-05 15:55:12 +01:00
dependabot[bot]
49b45693ee
Bump golang.org/x/mod from 0.22.0 to 0.23.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/mod/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-05 08:21:37 +00:00
Carlos Eduardo Arango Gutierrez
78d6cdc7f7
Merge pull request #876 from ArangoGutierrez/reg_test02
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Add remote-test option for E2E
2025-02-04 18:33:34 +01:00
Carlos Eduardo Arango Gutierrez
61640591ba
Add remote-test option for E2E
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-02-04 15:05:46 +01:00
Evan Lezar
df4c87b877
Merge pull request #838 from cdesiniotis/enable-cdi-toolkit-container
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Enable CDI in the container runtime if enabled in the toolkit
2025-02-03 16:37:49 +01:00
Tariq
d6c312956b
Merge pull request #887 from NVIDIA/latest-qemu
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
[no-relnote] switch to the newer qemu artifacts image
2025-01-31 10:33:38 -05:00
Tariq Ibrahim
51f765dd71
[no-relnote] switch to the newer qemu artifacts image
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2025-01-31 09:28:30 -05:00
Evan Lezar
d8cd5438e4
[no-relnote] Add basic cdi-enabled tests
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-29 15:37:32 +01:00
Evan Lezar
5ed25bb375
[no-relnote] Add unit test for installer command
...
This change adds a basic unit test for the nvidia-ckt-installer command.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-29 15:37:32 +01:00
Evan Lezar
a7786d4d41
Enable CDI in runtime if CDI_ENABLED is set
...
This change also enables CDI in the configured runtime when the toolkit
is installed with CDI enabled.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-29 15:37:32 +01:00
Evan Lezar
be1ac24f2a
Merge pull request #882 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.8.0-base-ubuntu20.04
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump nvidia/cuda from 12.6.3-base-ubuntu20.04 to 12.8.0-base-ubuntu20.04 in /deployments/container
2025-01-29 14:11:47 +01:00
dependabot[bot]
dd86f598b5
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.6.3-base-ubuntu20.04 to 12.8.0-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-28 08:57:31 +00:00
Evan Lezar
2b417c1a9a
Fix overwriting docker feature flags
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-27 15:52:08 +01:00
Christopher Desiniotis
e89be14c86
Add option in toolkit container to enable CDI in runtime
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2025-01-27 15:52:08 +01:00
Evan Lezar
f625242ed6
Remove Set from engine config API
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-27 15:52:08 +01:00
Christopher Desiniotis
df73db7e1e
Add EnableCDI() method to engine.Interface
...
This change adds an EnableCDI method to the container engine config files and
Updates the 'nvidia-ctk runtime configure' command to use this new method.
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2025-01-27 15:51:23 +01:00
Evan Lezar
89f33bdf71
Merge pull request #881 from elezar/add-imex-binaries
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Add IMEX binaries to CDI discovery
2025-01-27 13:27:58 +01:00
Evan Lezar
6834d5e0a4
Merge pull request #879 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-95d3e86
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump third_party/libnvidia-container from `f23e5e5` to `95d3e86`
2025-01-24 18:30:23 +01:00
Evan Lezar
c91a1b1dc8
Add IMEX binaries to CDI discovery
...
This change adds the nvidia-imex and nivdia-imex-ctl binaries to
the list of driver binaries that are searched when using CDI.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-24 14:46:31 +01:00
dependabot[bot]
96d91df78e
Bump third_party/libnvidia-container from f23e5e5 to 95d3e86
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `f23e5e5` to `95d3e86`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](f23e5e55ea...95d3e86522 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-24 09:05:17 +00:00
Carlos Eduardo Arango Gutierrez
a990860bfa
Merge pull request #873 from ArangoGutierrez/tests_rename
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Rename test folder to tests
2025-01-23 11:54:59 +01:00
Carlos Eduardo Arango Gutierrez
bf9d618ff2
Rename test folder to tests
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-23 11:46:14 +01:00
Evan Lezar
7ae5c2901f
Merge commit from fork
...
Disable mounting of compat libs from container by default
2025-01-23 10:56:32 +01:00
Evan Lezar
6b236746ce
Bump libnvidia-container to f23e5e55
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-23 10:51:32 +01:00
Evan Lezar
ed3b52eb8d
Add allow-cuda-compat-libs-from-container feature flag
...
This change adds an allow-cuda-compat-libs-from-container feature flag
to the NVIDIA Container Toolkit config. This allows a user to opt-in
to the previous default behaviour of overriding certain driver
libraries with CUDA compat libraries from the container.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-22 17:34:20 +01:00
Evan Lezar
1176430278
Disable mounting of compat libs from container
...
This change passes the --no-cntlibs argument to the nvidia-container-cli
from the nvidia-container-runtime-hook to disable overwriting host
drivers with the compat libs from a container being started.
Note that this may be a breaking change for some applications.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-22 17:34:20 +01:00
Evan Lezar
c22f3bd56c
Merge pull request #765 from elezar/use-logger-in-toolkit-install
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Simplify standalone installer
2025-01-22 14:42:50 +01:00
Evan Lezar
6375e832ff
Merge pull request #874 from elezar/skip-graphics-for-csv
...
Skip graphics modifier in CSV mode
2025-01-22 14:37:07 +01:00
Evan Lezar
991b9c222f
Skip graphics modifier in CSV mode
...
In CSV mode the CSV files at /etc/nvidia-container-runtime/host-files-for-container.d/
should be the source of truth for container modifications. This change skips graphics
modifications to a container. This prevents conflicts when handling files such as
vulkan icd files which are already defined in the CSV file.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-22 13:58:31 +01:00
Evan Lezar
fdad3927b4
[no-relnote] Refactor oci spec modifier list
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-22 13:58:31 +01:00
Evan Lezar
6bd292eff8
[no-relnote] Move tools/container to cmd/nvidia-ctk-installer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:28:46 +01:00
Evan Lezar
9429ce039b
[no-relnote] Rename run.go to main.go
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:28:46 +01:00
Evan Lezar
d953bbb977
Move nvidia-toolkit to nvidia-ctk-installer
...
This change moves the containerized installer from nvidia-toolkit to
cmd/nvidia-ctk-installer to allow for its use in CI.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:28:44 +01:00
Evan Lezar
5cbf3f82d9
[no-relnote] Move fileinstaller to separate file
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:27:21 +01:00
Evan Lezar
69375d7889
[no-relnote] Use logger in toolkit installation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:27:21 +01:00
Evan Lezar
9753096398
[no-relnote] Add app struct for nvidia-toolkit
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:27:21 +01:00
Evan Lezar
76edd1d7ca
[no-relnote] Remove unused TryDelete function
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:27:21 +01:00
Evan Lezar
a6476193c8
[no-relnote] Merge verifyFlags and validateFlags
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-21 14:27:21 +01:00
Evan Lezar
d75b1adeda
Merge pull request #868 from elezar/docker-file-fixes
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
[no-relnote] Fix Dockerfile lint issues
2025-01-20 14:21:22 +01:00
Evan Lezar
9aa2f67a22
Merge pull request #866 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.5
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump github.com/urfave/cli/v2 from 2.27.4 to 2.27.5
2025-01-16 14:19:17 +01:00
Evan Lezar
b89e7ca849
Merge pull request #865 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvlib-0.7.0
...
Bump github.com/NVIDIA/go-nvlib from 0.6.1 to 0.7.0
2025-01-16 14:18:55 +01:00
Evan Lezar
7c5ed8157b
[no-relnote] Fix Dockerfile lint issues
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-16 14:17:39 +01:00
dependabot[bot]
a401e4a5a6
Bump github.com/urfave/cli/v2 from 2.27.4 to 2.27.5
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.4 to 2.27.5.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.4...v2.27.5 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-16 08:25:45 +00:00
dependabot[bot]
2bc4201205
Bump github.com/NVIDIA/go-nvlib from 0.6.1 to 0.7.0
...
Bumps [github.com/NVIDIA/go-nvlib](https://github.com/NVIDIA/go-nvlib ) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/NVIDIA/go-nvlib/releases )
- [Commits](https://github.com/NVIDIA/go-nvlib/compare/v0.6.1...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvlib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-16 08:25:38 +00:00
Carlos Eduardo Arango Gutierrez
cb52e779ba
Merge pull request #860 from ArangoGutierrez/reg_test01
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Add basic integration tests for docker runtime
2025-01-15 15:59:47 +01:00
Carlos Eduardo Arango Gutierrez
8cc672bed9
Automated regression testing for the NVIDIA Container Toolkit
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2025-01-15 14:39:44 +01:00
Evan Lezar
be001d938c
Merge pull request #863 from elezar/sort-feature-flags
...
[no-relnote] Sort feature flags
2025-01-15 13:33:34 +01:00
Evan Lezar
d584f9a40b
[no-relnote] Sort feature flags
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-15 13:27:14 +01:00
Evan Lezar
11acbe7ca2
Merge pull request #805 from alam0rt/add-v3-containerd-config
...
Add support for containerd v3 configs
2025-01-15 10:46:30 +01:00
Sam Lockart
95bda3ad72
Add support for containerd version 3 config
...
This change adds support for containerd configs with version=3.
From the perspective of the runtime configuration the contents of the
config are the same. This means that we just have to load the new
version and ensure that this is propagated to the generated config.
Note that v3 config also requires a switch to the 'io.containerd.cri.v1.runtime'
CRI runtime plugin. See:
https://github.com/containerd/containerd/blob/v2.0.0/docs/PLUGINS.md
https://github.com/containerd/containerd/issues/10132
Note that we still use a default config of version=2 since we need to
ensure compatibility with older containerd versions (1.6.x and 1.7.x).
Signed-off-by: Sam Lockart <sam.lockart@zendesk.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2025-01-15 10:33:43 +01:00
Evan Lezar
6e4b0632c5
Merge pull request #861 from elezar/remove-fsnotify
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Remove watch option from create-dev-char-symlinks
2025-01-14 20:26:20 +01:00
Evan Lezar
e4be26ff55
Merge pull request #853 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.22.0
...
Bump golang.org/x/mod from 0.20.0 to 0.22.0
2025-01-14 18:34:59 +01:00
Evan Lezar
8e6b57b38a
Remove watch option from create-dev-char-symlinks
...
This removes the untested watch option from the
nvidia-ctk system create-dev-char-symlinks command.
This also removes the direct dependency on fsnotify.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-14 18:34:14 +01:00
Evan Lezar
c935779693
Merge pull request #855 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.4-1
...
Bump github.com/NVIDIA/go-nvml from 0.12.4-0 to 0.12.4-1
2025-01-14 18:28:09 +01:00
Evan Lezar
4b43a29957
Merge pull request #844 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.63.4
...
Bump github.com/golangci/golangci-lint from 1.62.2 to 1.63.4 in /deployments/devel
2025-01-14 18:27:36 +01:00
Evan Lezar
b3b0d107de
Merge pull request #851 from NVIDIA/dependabot/go_modules/main/github.com/stretchr/testify-1.10.0
...
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
2025-01-14 18:27:00 +01:00
Evan Lezar
d22fca51b8
Bump go version in go.mod to go 1.22.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-14 18:25:47 +01:00
dependabot[bot]
adad9b9c92
Bump golang.org/x/mod from 0.20.0 to 0.22.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.20.0 to 0.22.0.
- [Commits](https://github.com/golang/mod/compare/v0.20.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-14 18:18:58 +01:00
Evan Lezar
b6d360fbbe
Merge pull request #847 from mihalicyn/fix_custom_config_path_handling
...
Properly pass configSearchPaths to a Driver constructor
2025-01-14 16:03:40 +01:00
Evan Lezar
5699ec1cff
Merge pull request #807 from elezar/add-cdi-imex-channels
...
Add imex mode to CDI spec generation
2025-01-14 16:03:17 +01:00
Evan Lezar
ec182705f1
Add string TOML source
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-14 10:35:29 +01:00
Evan Lezar
7598fe14bc
Improve the implementation for UseLegacyConfig
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2025-01-14 10:35:29 +01:00
Evan Lezar
4fc181a418
Merge pull request #821 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.23.4
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump golang from 1.23.2 to 1.23.4 in /deployments/devel
2025-01-10 13:42:31 +01:00
dependabot[bot]
4bf5894833
Bump github.com/NVIDIA/go-nvml from 0.12.4-0 to 0.12.4-1
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.4-0 to 0.12.4-1.
- [Release notes](https://github.com/NVIDIA/go-nvml/releases )
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.4-0...v0.12.4-1 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-10 09:01:45 +00:00
dependabot[bot]
272f891204
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-09 14:16:21 +00:00
Evan Lezar
4b352e6bac
Merge pull request #845 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.29.0
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Bump golang.org/x/sys from 0.26.0 to 0.29.0
2025-01-09 09:28:17 +01:00
Evan Lezar
178369eb8e
Merge pull request #824 from elezar/post-release
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Perform some cleanups following the v1.17.3 release
2025-01-08 11:24:09 +01:00
Alexander Mikhalitsyn
3c012499db
Properly pass configSearchPaths to a Driver constructor
...
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com >
2025-01-07 19:11:01 +01:00
dependabot[bot]
6e883bf10a
Bump golang.org/x/sys from 0.26.0 to 0.29.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.26.0 to 0.29.0.
- [Commits](https://github.com/golang/sys/compare/v0.26.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-05 08:44:56 +00:00
dependabot[bot]
cc61f186a8
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.62.2 to 1.63.4.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.62.2...v1.63.4 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-05 08:31:49 +00:00
Evan Lezar
aac0a62528
Merge pull request #826 from elezar/fix-test
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Fix create-device-node test when devices exist
2024-12-06 14:07:59 +01:00
Evan Lezar
2529aebd6c
Fix create-device-node test when devices exist
...
This changes fixes the TestCreateControlDevices test on systems
where device nodes exist.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-06 14:05:51 +01:00
Evan Lezar
784917a0d9
[no-relnote] Fix archive-packages script
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-04 12:50:35 +01:00
Evan Lezar
1330467652
[no-relnote] Update dependabot
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-04 12:50:35 +01:00
Evan Lezar
22035d4561
[no-relnote] Update changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-04 12:50:35 +01:00
Evan Lezar
9318aaf275
Bump version for v1.17.3 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-04 12:37:16 +01:00
Evan Lezar
70261d84f1
Bump version for v1.17.2 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-04 12:36:39 +01:00
Evan Lezar
f8f506fd85
Bump version for v1.17.1 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-12-04 12:36:33 +01:00
Evan Lezar
b0a5fb9f86
Merge pull request #822 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-16f37fc
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump third_party/libnvidia-container from `63d366e` to `16f37fc`
2024-12-04 10:40:54 +01:00
dependabot[bot]
83790dbccd
Bump third_party/libnvidia-container from 63d366e to 16f37fc
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `63d366e` to `16f37fc`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](63d366ee3b...16f37fcafc )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-04 09:39:44 +00:00
dependabot[bot]
7ceae92ac1
Bump golang from 1.23.2 to 1.23.4 in /deployments/devel
...
Bumps golang from 1.23.2 to 1.23.4.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-04 08:26:02 +00:00
Evan Lezar
8dfa61338b
Merge pull request #818 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.62.2
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Bump github.com/golangci/golangci-lint from 1.61.0 to 1.62.2 in /deployments/devel
2024-12-03 20:19:12 +01:00
Evan Lezar
484cae273c
Merge pull request #820 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.6.3-base-ubuntu20.04
...
Bump nvidia/cuda from 12.6.2-base-ubuntu20.04 to 12.6.3-base-ubuntu20.04 in /deployments/container
2024-12-03 20:18:26 +01:00
dependabot[bot]
6e67bb247b
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.6.2-base-ubuntu20.04 to 12.6.3-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 09:03:05 +00:00
dependabot[bot]
8bd7dd7060
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.61.0 to 1.62.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.61.0...v1.62.2 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-29 16:49:15 +00:00
Evan Lezar
e25c052aa6
Merge pull request #810 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/matryer/moq-0.5.1
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump github.com/matryer/moq from 0.5.0 to 0.5.1 in /deployments/devel
2024-11-29 17:47:36 +01:00
Evan Lezar
21ba9932d0
Merge pull request #778 from zhanluxianshen/fix-fsnotify-logic
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Fix fsnotify.Remove logic function.
2024-11-29 14:17:03 +01:00
Evan Lezar
dcd65a6410
Merge pull request #690 from elezar/ignore-ldconfig-option
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Only allow host-relative LDConfig paths
2024-11-26 13:35:33 +01:00
Evan Lezar
8603d605aa
Add imex mode to CDI spec generation
...
This change adds a imex mode to CDI spec generation. This mode detected
generates CDI specifications for existing IMEX channels. By default these
devices have the fully qualified CDI device names:
nvidia.com/imex-channel=<ID>
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-25 13:46:43 +01:00
Evan Lezar
e1efa28fe6
[no-relnote] Refactor CDI mode handling
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-25 13:46:34 +01:00
Evan Lezar
75a934e11c
[no-relnote] Fix error string
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-25 13:46:34 +01:00
dependabot[bot]
43aca46f10
Bump github.com/matryer/moq from 0.5.0 to 0.5.1 in /deployments/devel
...
Bumps [github.com/matryer/moq](https://github.com/matryer/moq ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/matryer/moq/releases )
- [Changelog](https://github.com/matryer/moq/blob/main/.goreleaser.yml )
- [Commits](https://github.com/matryer/moq/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: github.com/matryer/moq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-24 08:26:22 +00:00
Evan Lezar
00f1d5a627
Only allow host-relative LDConfig paths
...
This change only allows host-relative LDConfig paths.
An allow-ldconfig-from-container feature flag is added to allow for this
the default behaviour to be changed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-22 14:25:17 +01:00
Evan Lezar
c0764366d9
[no-relnote] Refactor config handling for hook
...
This change removes indirect calls to get the default config
from the nvidia-container-runtime-hook.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-22 13:19:05 +01:00
Evan Lezar
1afada7de5
[no-relnote] Remove unused code
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-22 13:11:04 +01:00
Evan Lezar
5c3ffc2fba
Merge pull request #799 from elezar/fix-legacy-nvidia-imex-channels
...
CodeQL / Analyze Go code with CodeQL (push) Failing after 51m27s
Golang / check (push) Failing after 6m27s
Golang / Unit test (push) Failing after 2m23s
Golang / Build (push) Failing after 2m24s
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Failing after 6m40s
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Failing after 3m9s
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Failing after 2m38s
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Failing after 2m51s
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Failing after 2m32s
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Failing after 2m56s
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been skipped
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been skipped
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been skipped
Fix NVIDIA_IMEX_CHANNELS handling on legacy images
2024-11-15 10:55:45 -07:00
Evan Lezar
e188090a92
Fix NVIDIA_IMEX_CHANNELS handling on legacy images
...
For legacy images (images with a CUDA_VERSION set but no CUDA_REQUIRES set), the
default behaviour for device envvars is to treat non-existence as all.
This change ensures that the NVIDIA_IMEX_CHANNELS envvar is not treated in the same
way, instead returning no devices if the envvar is not set.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-14 13:26:30 -07:00
Evan Lezar
1995925a7d
Merge pull request #783 from elezar/fix-config-file-path
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Fix bug in default config file path
2024-11-08 15:57:42 -08:00
Evan Lezar
46fc47c67a
Fix bug in default config file path
...
This fix ensures that the default config file path for the nvidia-ctk runtime configure
command is set consistently.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-08 15:38:28 -08:00
Evan Lezar
b142091234
Merge pull request #777 from elezar/add-config-fallback
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Fallback to file for runtime config
2024-11-08 09:09:18 -08:00
Evan Lezar
e9b8ad95df
Fallback to file for runtime config
...
This change ensures that we fall back to the previous behaviour of
reading the existing config from the specified config file if extracting
the current config from the command line fails. This fixes use cases where
the containerd / crio executables are not available.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-08 08:43:09 -08:00
zhanluxianshen
f77a808105
Fix fsnotify.Remove logic function.
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2024-11-08 22:07:21 +08:00
Evan Lezar
832818084d
Merge pull request #773 from elezar/fix-libcuda-symlink
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Force creation of symlinks in create-symlink hook
2024-11-07 17:41:20 +01:00
Evan Lezar
ab0a4eaa19
Merge pull request #768 from elezar/add-toolkit-install-unit-tests
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
[no-relnote] Add toolkit install unit test
2024-11-06 00:41:55 +01:00
Evan Lezar
0c687be794
[no-relnote] Also validate CDI management spec
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-05 14:23:36 -08:00
Evan Lezar
8d869acce5
[no-relnote] Add toolkit install unit test
...
This change adds basic toolkit installation unit tests. This required
that the source for files be specified when installing to allow for
a testdata folder to be used.
This replaces the currently unused shell-based tests in /test/container.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-05 14:23:35 -08:00
Evan Lezar
324096c979
Force symlink creation in create-symlink hook
...
This change updates the create-symlink hook to be equivalent to
ln -f -s target link
This ensures that links are updated even if they exist in the container
being run.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-11-05 09:39:11 -08:00
Evan Lezar
5bc0315448
Merge pull request #766 from elezar/bump-release-v1.17.0
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump version for v1.17.0 release
2024-10-31 10:17:13 +01:00
Evan Lezar
3fb1615d26
[no-relnote] Address lint errors in test
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-31 10:11:58 +01:00
Evan Lezar
9e4696bf7d
Bump version for v1.17.0 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-31 07:20:10 +01:00
Evan Lezar
8c9d3d8f65
Merge commit from fork
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Check for valid paths in create-symlinks hook
2024-10-31 07:16:01 +01:00
Evan Lezar
efb18a72ad
Merge pull request #762 from elezar/fix-auto-cdi-runtime-mode
...
CodeQL / Analyze Go code with CodeQL (push) Waiting to run
Golang / check (push) Waiting to run
Golang / Unit test (push) Waiting to run
Golang / Build (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Waiting to run
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Waiting to run
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Blocked by required conditions
Fix bug when using just-in-time CDI spec generation
2024-10-30 13:08:26 +01:00
Evan Lezar
75376d3df2
Fix bug when using just-in-time CDI spec generation
...
This change fixes a bug when using just-in-time CDI spec generation for the
NVIDIA Container Runtime for specific devices (i.e. not 'all').
Instead of unconditionally using the default nvsandboxutils library -- leading
to errors due to undefined symbols -- we check whether the library can be
properly initialised before continuing.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-30 12:20:36 +01:00
Christopher Desiniotis
7e0cd45b1c
Check for valid paths in create-symlinks hook
...
This change updates the create-symlinks hook to always evaluate
link paths in the container's root filesystem. In addition the
executable is updated to return an error if a link could not
be created.
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2024-10-29 12:16:51 -07:00
Christopher Desiniotis
a04e3ac4f7
Write failing test case for create-symlinks hook
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2024-10-29 12:16:51 -07:00
Christopher Desiniotis
92779e71b3
Handle case where symlink already exists in create-symlinks hook
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2024-10-29 12:16:51 -07:00
Christopher Desiniotis
23f1ba3e93
Add unit tests for create-symlinks hook
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-29 12:16:51 -07:00
Evan Lezar
d0d85a8c5c
Always use paths relative to the container root for links
...
This chagne ensures that we always treat the link path as a path
relative to the container root. Without this change, relative paths
in link paths would result links being created relative to the
current working directory where the hook is executed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-29 12:16:51 -07:00
Evan Lezar
bfea673d6a
[no-relnote] Remove unused hostRoot argument
...
The hostRoot argument is always empty and not applicable to
how links are specified.
Links are specified by the paths in the container filesystem and as such
the only transform required to change the root is a join of the filepath.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-29 12:16:50 -07:00
Evan Lezar
6a6a3e6055
[no-relnote] Remove redundant changeRoot for link target
...
Since hostRoot is always the empty string and we are changing the root in the
target path to /, the call to changeRoot is redundant.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-29 12:16:50 -07:00
Evan Lezar
fa59d12973
[no-relnote] Check created outside of create loop
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-29 12:16:49 -07:00
Evan Lezar
d78868cd31
Merge pull request #760 from elezar/bump-release-v1.17.0-rc.2
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Bump version for v1.17.0-rc.2 release
2024-10-28 14:26:53 +01:00
Evan Lezar
74b1e5ea8c
Bump version for v1.17.0-rc.2 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-28 14:09:12 +01:00
Evan Lezar
88608781b6
Merge pull request #755 from elezar/fix-libcuda-so
...
CodeQL / Analyze Go code with CodeQL (push) Has been cancelled
Golang / check (push) Has been cancelled
Golang / Unit test (push) Has been cancelled
Golang / Build (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-aarch64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos7-x86_64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, centos8-ppc64le) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-amd64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-arm64) (push) Has been cancelled
image / packages (${{github.event_name == 'pull_request'}}, ubuntu18.04-ppc64le) (push) Has been cancelled
image / image (packaging, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubi8, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
image / image (ubuntu20.04, ${{github.event_name == 'pull_request'}}) (push) Has been cancelled
Fix bug where libcuda.so is not found in ldcache
2024-10-24 23:33:12 +02:00
Evan Lezar
fa5a4ac499
Read ldcache at construction instead of on each locate call
...
This change udpates the ldcache locator to read the ldcache at construction
and use these contents to perform future lookups against. Each of the cache
entries are resolved and lookups return the resolved target.
Assuming a symlink chain: libcuda.so -> libcuda.so.1 -> libcuda.so.VERSION, this
means that libcuda.so.VERION will be returned for any of the following inputs:
libcuda.so, libcuda.so.1, libcudal.so.*.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-24 23:12:58 +02:00
Evan Lezar
9f1bd62c42
[no-relnote] Add failing libcuda locate test
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-24 15:56:53 +02:00
Evan Lezar
9534249936
[no-relnote] Add test for libcuda lookup
...
This change adds a test for locating libcuda as a driver library.
This includes a failing test on a system where libcuda.so.1 is in
the ldcache, but not at one of the predefined library search paths.
A testdata folder with sample root filesystems is included to test
various combinations.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-24 15:56:25 +02:00
Evan Lezar
e1ea0056b9
Fix bug in sorting of symlink chain
...
Since we use a map to keep track of the elements of a symlink chain
the construction of the final list of located elements is not stable.
This change constructs the output as this is being discovered and as
such maintains the original ordering.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-24 15:56:25 +02:00
Evan Lezar
c802c3089c
Remove unsupported print-ldcache command
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-24 15:56:25 +02:00
Tariq
771ac6b88a
Merge pull request #756 from NVIDIA/cli-source-fallback
...
[TOML ConfigSource] add support for executing fallback CLI commands
2024-10-23 14:31:45 -07:00
Tariq Ibrahim
0f7aba9c3c
[TOML ConfigSource] add support for executing fallback CLI commands
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
Co-authored-by: Evan Lezar <elezar@nvidia.com >
2024-10-23 14:26:17 -07:00
Tariq
3c07ea0b17
Merge pull request #726 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.23.2
...
Bump golang from 1.23.1 to 1.23.2 in /deployments/devel
2024-10-21 10:11:21 -07:00
Evan Lezar
183dff9161
Merge pull request #750 from elezar/remove-csv-filenames-support
...
Remove csv filenames support
2024-10-21 11:10:27 +02:00
Evan Lezar
5e3e91a010
[no-relnote] Minor cleanup in create-symlinks
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-18 16:27:38 +02:00
Evan Lezar
dc0e191093
Remove csv-filename support from create-symlinks
...
This change removes support for specifying csv-filenames when
calling the create-symlinks hook. This is no longer required
as tegra-based systems generate hooks with `--link` arguments.
This also allows the hook to better serve as a reference implementation
for upstream projects wanting to implement a set of standard CDI hooks.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-18 16:27:27 +02:00
Evan Lezar
8a6c1944a5
Merge pull request #749 from elezar/bump-release-v1.17.0-rc.1
...
Bump version for v1.17.0-rc.1 release
2024-10-18 15:35:34 +02:00
Evan Lezar
5d057dce66
Bump version for v1.17.0-rc.1 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-18 15:33:12 +02:00
Evan Lezar
5931136879
Merge pull request #748 from elezar/fix-operator
...
Add aliases for runtime-specific envvars
2024-10-18 14:49:32 +02:00
Evan Lezar
1145ce2283
Add aliases for runtime-specific envvars
...
This change ensures that the toolkit works with older
versions of the GPU Operator where runtime-specific envvars are
used to set options such as the config file location.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-18 12:16:50 +02:00
Evan Lezar
38790c5df0
Merge pull request #747 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-63d366e
...
Bump third_party/libnvidia-container from `921e2f3` to `63d366e`
2024-10-17 18:18:53 +02:00
Evan Lezar
e5175c270e
Merge pull request #745 from elezar/fix-symlink-logging
...
Fix symlink resolution error message
2024-10-17 18:04:54 +02:00
dependabot[bot]
d18a2b6fc7
Bump third_party/libnvidia-container from 921e2f3 to 63d366e
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `921e2f3` to `63d366e`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](921e2f3197...63d366ee3b )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-17 16:02:52 +00:00
Evan Lezar
2987c4d670
Merge pull request #740 from elezar/imex-by-volume-mount
...
Allow IMEX channel requests by volume mount
2024-10-17 17:56:12 +02:00
Evan Lezar
2e6712d2bc
Allow IMEX channels to be requested as volume mounts
...
This change allows IMEX channels to be requested using the
volume mount mechanism.
A mount from /dev/null to /var/run/nvidia-container-devices/imex/{{ .ChannelID }}
is equivalent to including {{ .ChannelID }} in the NVIDIA_IMEX_CHANNELS
envvironment variables.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 16:54:29 +02:00
Evan Lezar
92df542f2f
[no-relnote] Use image.CUDA to extract visible devices
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 16:53:17 +02:00
Evan Lezar
1991b3ef2a
[no-relnote] Use string slice for devices in hook
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 16:53:17 +02:00
Evan Lezar
cdf39fbad3
[no-relnote] Use symlinks.Resolve in hook
...
This change removes duplicate logic from the create-symlinks hook
and uses symlinks.Resolve instead.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 15:47:13 +02:00
Evan Lezar
c30ca0fdc3
Fix typo in error message
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 15:46:49 +02:00
Evan Lezar
b077e2648d
Merge pull request #741 from elezar/imex-default
...
Add disableIMEXChannelCreation feature flag
2024-10-17 15:26:21 +02:00
Evan Lezar
457d71c170
Add disable-imex-channel-creation feature flag
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 14:26:24 +02:00
Evan Lezar
bc9180b59d
Expose opt-in features in toolkit-container
...
This change enables opt-in (off-by-default) features to be opted into.
These features can be toggled by name by specifying the (repeated)
--opt-in-features command line argument or as a comma-separated list
in the NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES environment variable.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-17 14:26:24 +02:00
Evan Lezar
ec8dfaf779
Merge pull request #743 from elezar/remove-opt-in-features
...
Remove ability to set per-container features in the config file
2024-10-17 13:46:23 +02:00
Evan Lezar
c129122da6
Merge pull request #742 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.6.2-base-ubuntu20.04
...
Bump nvidia/cuda from 12.6.1-base-ubuntu20.04 to 12.6.2-base-ubuntu20.04 in /deployments/container
2024-10-17 11:49:05 +02:00
Evan Lezar
0abf800000
Merge pull request #744 from elezar/fix-script
...
[no-relnote] Fix typo in script
2024-10-16 15:32:09 +02:00
Evan Lezar
1d9d0acf7d
[no-relnote] Remove feature flag for per-container features
...
This change REMOVES the ability to set opt-in features
(e.g. GDS, MOFED, GDRCOPY) in the config file. The existing
per-container envvars are unaffected.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-16 15:30:31 +02:00
Evan Lezar
17f14278a9
[no-relnote] Fix typo in script
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-16 10:53:45 +02:00
dependabot[bot]
1fa5bbf351
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.6.1-base-ubuntu20.04 to 12.6.2-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-15 09:07:59 +00:00
Evan Lezar
f794d09df1
Merge pull request #729 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.26.0
...
Bump golang.org/x/sys from 0.25.0 to 0.26.0
2024-10-11 16:16:15 +02:00
Evan Lezar
17a2377ad5
Merge pull request #734 from NVIDIA/minor-cleanup
...
minor cleanup and improvements
2024-10-11 16:15:19 +02:00
Tariq Ibrahim
b90ee5d100
[no-relnote] minor cleanup and improvements
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-11 16:14:41 +02:00
Evan Lezar
1ef3f4048f
Merge pull request #733 from elezar/add-imex-channels-to-management-spec
...
Add imex channels to management CDI spec
2024-10-11 15:28:50 +02:00
Evan Lezar
7fb31bd1dc
Merge pull request #732 from elezar/add-z-lazy
...
Add -z,lazy to LDFLAGS
2024-10-11 15:20:30 +02:00
Evan Lezar
e2fe591535
Add -z,lazy to LDFLAGS
...
This fixes undefined symbol errors on platforms where -z,lazy may
not be the default.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-11 15:20:06 +02:00
Evan Lezar
adf3708d0b
Add imex channels to management CDI spec
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-10 14:38:33 +02:00
Evan Lezar
a06d838b1c
Merge pull request #686 from NVIDIA/get-config-from-cmdline
...
Fetch current container runtime config
2024-10-10 11:58:08 +02:00
Tariq Ibrahim
f477dc0df1
fetch current container runtime config through the command line
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
add default runtime binary path to runtimes field of toolkit config toml
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
[no-relnote] Get low-level runtimes consistently
We ensure that we use the same low-level runtimes regardless
of the runtime engine being configured. This ensures consistent
behaviour.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Co-authored-by: Evan Lezar <elezar@nvidia.com >
address review comment
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-10-10 01:13:20 -07:00
dependabot[bot]
879bb9ffd5
Bump golang.org/x/sys from 0.25.0 to 0.26.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/sys/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-06 08:57:11 +00:00
Tariq
4604e3b6c8
Merge pull request #725 from elezar/fix-nvsandboxutils
...
Ensure that nvsandboxutils is available for version
2024-10-04 04:58:03 +08:00
dependabot[bot]
a9ca6995f7
Bump golang from 1.23.1 to 1.23.2 in /deployments/devel
...
Bumps golang from 1.23.1 to 1.23.2.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-02 08:37:23 +00:00
Evan Lezar
7cd2aef0d8
Ensure that nvsandboxutils is available for version
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-02 09:37:05 +02:00
Evan Lezar
19482dac6f
Merge pull request #715 from elezar/add-libcuda-so-symlink
...
Align driver symlinks with libnvidia-container
2024-10-01 18:16:36 +02:00
Evan Lezar
78c4ca8a12
Merge pull request #693 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.61.0
...
Bump github.com/golangci/golangci-lint from 1.60.1 to 1.61.0 in /deployments/devel
2024-10-01 11:40:31 +02:00
Evan Lezar
b12bdfc52a
Merge pull request #691 from elezar/fix-codeql
...
Add an explicit CodeQL workflow to this repostitory
2024-10-01 11:39:34 +02:00
Evan Lezar
82ae2e615a
Add creation of select driver symlinks to CDI spec
...
This change aligns the creation of symlinks under CDI with
the implementation in libnvidia-container. If the driver libraries
are present, the following symlinks are created:
* {{ .LibRoot }}/libcuda.so -> libcuda.so.1
* {{ .LibRoot }}/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.1
* {{ .LibRoot }}/libGLX_indirect.so.0 -> libGLX_nvidia.so.{{ .Version }}
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-10-01 11:34:58 +02:00
Tariq
4f440dedda
Merge pull request #722 from tariq1890/use-go-api-for-toolkit-install-rebase
2024-10-01 07:41:28 +08:00
Evan Lezar
3ee678f4f6
Convert crio to runtime package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-30 14:40:30 -07:00
Evan Lezar
103375e504
Convert containerd to runtime package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-30 14:39:52 -07:00
Evan Lezar
5bedbc2b50
Convert docker to runtime package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-30 14:36:35 -07:00
Evan Lezar
94337b7427
Add runtime package for runtime setup
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-30 14:36:35 -07:00
Evan Lezar
046a05921f
Convert toolkit to go package
...
This change converts the toolkit installation logic to a go package
and invokes this installation over the go API instead of starting
this executable.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-30 14:36:35 -07:00
Tariq
6ca2700a17
Merge pull request #721 from NVIDIA/devel-check-modules
...
add go modules check for deployments/devel
2024-10-01 05:35:45 +08:00
Tariq Ibrahim
0d626cfbb7
add go modules check for deployments/devel
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-09-30 12:13:56 -07:00
Tariq
10bafd1d09
Merge pull request #643 from elezar/refactor-toml-source
...
Refactor handling of TOML config files for runtimes
2024-10-01 00:59:52 +08:00
Evan Lezar
bf2bdfd35e
Refactor Toml config handling
...
This change refactors the toml config file handlig for runtimes
such as containerd or crio. A toml.Loader is introduced that
encapsulates loading the required file.
This can be extended to allow other mechanisms for loading
loading the current config.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-30 14:24:18 +02:00
Evan Lezar
f126877254
Merge pull request #716 from elezar/discover-vdpau-libraries
...
Also search for driver libraries in vdpau
2024-09-30 11:18:49 +02:00
Evan Lezar
006aebf31e
Merge pull request #717 from elezar/fix-libnvidia-allocator-so-1
...
Skip explicit creation of libnvidia-allocator.so.1 symlink
2024-09-30 11:06:08 +02:00
Evan Lezar
6c5f4eea63
Remove support for config overrides
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-27 13:23:35 +02:00
dependabot[bot]
b0b7c7c9ee
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.60.1 to 1.61.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.60.1...v1.61.0 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-26 14:45:16 +00:00
Evan Lezar
b466270a24
Merge pull request #666 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/matryer/moq-0.5.0
...
Bump github.com/matryer/moq from 0.3.4 to 0.5.0 in /deployments/devel
2024-09-26 16:43:49 +02:00
Evan Lezar
d806f1045b
Merge pull request #677 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.6.1-base-ubuntu20.04
...
Bump nvidia/cuda from 12.6.0-base-ubuntu20.04 to 12.6.1-base-ubuntu20.04 in /deployments/container
2024-09-26 16:43:08 +02:00
Evan Lezar
35ee96ac41
Merge pull request #685 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.25.0
...
Bump golang.org/x/sys from 0.24.0 to 0.25.0
2024-09-26 16:42:30 +02:00
Evan Lezar
f8141aab27
Skip explicit creation of libnvidia-allocator.so.1 symlink
...
Since we expect .so.1 symlinks to be created by ldconfig, we don't
explicitly request these. This change removes the creation of
a libnvidia-allocator.so.1 -> libnvidia-allocator.so.RM_VERSION symlink
through the create-symlinks hook.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-26 16:34:39 +02:00
Evan Lezar
98ffe2aa67
Also search for driver libraries in vdpau
...
This change adds the vdpau subfolder to the paths searched
for driver libraries. This allows the libvdpau_nvidia.so.RM_VERSION
library to also be discovered.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-26 14:42:29 +02:00
Evan Lezar
79c59aeb7f
Merge pull request #713 from sananya12/nvsandboxutils-sananya
...
Fix an incompatible pointer conversion in nvsandboxutils
2024-09-26 13:12:21 +02:00
Sananya Majumder
906531fee3
Fix incompatible pointer conversion
...
This change adds a safe pointer conversion to fix an
incompatible C pointer conversion, which caused build failures on some
architectures.
Signed-off-by: Sananya Majumder <sananyam@nvidia.com >
2024-09-25 16:40:43 -07:00
Evan Lezar
0e68f60c0b
Merge pull request #629 from sananya12/nvsandboxutils-sananya
...
Add changes for usage of nvsandboxutils
2024-09-25 19:17:05 +02:00
Sananya Majumder
563db0e0be
nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs
...
This change adds a new discoverer for Sandboxutils to report the file
system paths and associated symbolic links using GetGpuResource and
GetFileContent APIs. Both GPU and MIG devices are supported. If the
Sandboxutils discoverer fails, the NVML discoverer is used to report
the file system information.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Signed-off-by: Huy Nguyen <huyn@nvidia.com >
Signed-off-by: Sananya Majumder <sananyam@nvidia.com >
2024-09-24 10:05:14 -07:00
Sananya Majumder
7b770f63c3
nvsandboxutils: Add usage of GetDriverVersion API
...
This change includes the usage of Sandboxutils GetDriverVersion API to
retrieve the CUDA driver version. If the library is not available on the
system or the API call fails for some other reason, it will fallback to
the NVML API to return the driver version.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Signed-off-by: Huy Nguyen <huyn@nvidia.com >
Signed-off-by: Sananya Majumder <sananyam@nvidia.com >
2024-09-24 10:05:11 -07:00
Sananya Majumder
dcbf5bc81f
nvsandboxutils: Add implementation for the APIs
...
This change adds manual wrappers around the generated bindings to make
them into more user-friendly APIs for the caller. Some helper functions
are also added.
The APIs that are currently present in the library and implemented here
are:
nvSandboxUtilsInit
nvSandboxUtilsShutdown
nvSandboxUtilsGetDriverVersion
nvSandboxUtilsGetGpuResource
nvSandboxUtilsGetFileContent
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Signed-off-by: Huy Nguyen <huyn@nvidia.com >
Signed-off-by: Sananya Majumder <sananyam@nvidia.com >
2024-09-24 10:05:09 -07:00
Sananya Majumder
978d439cf8
nvsandboxutils: Add internal bindings
...
This change adds the internal bindings for Sandboxutils, some of which
have been automatically generated with the help of c-for-go. The format
followed is similar to what is used in go-nvml. These would need to be
regenerated when the header file is modified and new APIs are added.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Signed-off-by: Huy Nguyen <huyn@nvidia.com >
Signed-off-by: Sananya Majumder <sananyam@nvidia.com >
2024-09-24 10:05:05 -07:00
Sananya Majumder
aa946f3f59
nvsandboxutils: Add script to generate bindings
...
This change adds a script and related files to generate the internal
bindings for Sandboxutils library with the help of c-for-go.
This can be used to update the bindings when the header file is modified
with reference to how they are generated with the Makefile in go-nvml.
Run: ./update-bindings.sh
Signed-off-by: Evan Lezar <elezar@nvidia.com >
Signed-off-by: Huy Nguyen <huyn@nvidia.com >
Signed-off-by: Sananya Majumder <sananyam@nvidia.com >
2024-09-24 10:04:48 -07:00
Evan Lezar
a5a5833c14
Merge pull request #710 from elezar/update-changelog
...
Update CHANGELOG.md for v1.16.2 release
2024-09-24 17:22:29 +02:00
Evan Lezar
8e07d90802
Update CHANGELOG.md for v1.16.2 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-24 14:12:24 +02:00
Evan Lezar
2aadbbf22d
Merge pull request #709 from elezar/bump-version-v1.16.2
...
Bump version to v1.16.2
2024-09-20 20:52:54 +02:00
Evan Lezar
88f9414849
Bump version to v1.16.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-20 20:50:33 +02:00
Evan Lezar
53c2dc6301
Merge pull request #705 from elezar/remove-libnvidia-contianer-update-check
...
[no-relnote] Don't check for submodule changes
2024-09-20 20:50:17 +02:00
Evan Lezar
3121663537
Merge pull request #708 from elezar/revert-check-symlink-resolution
...
Revert "Merge pull request #696 from elezar/check-link-resolution"
2024-09-20 20:50:02 +02:00
Evan Lezar
4b6de8036d
Merge pull request #707 from elezar/revert-no-persistenced-flag-by-default
...
Revert #703 and #694
2024-09-20 20:46:13 +02:00
Evan Lezar
dc2ccdd2fa
Revert "Merge pull request #696 from elezar/check-link-resolution"
...
This reverts commit c490baab63 , reversing
changes made to 32486cf1e9 .
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-20 20:29:42 +02:00
Evan Lezar
5145b0a4b6
Revert "Merge pull request #694 from elezar/add-opt-in-to-sockets"
...
This reverts commit b061446694 , reversing
changes made to c490baab63 .
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-20 20:26:45 +02:00
Evan Lezar
a819cfdab4
Revert "Merge pull request #703 from elezar/fix-no-persistenced-flag"
...
This reverts commit c02b144ed4 , reversing
changes made to b061446694 .
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-20 20:26:33 +02:00
Evan Lezar
629db79b4f
[no-relnote] Don't check for submodule changes
...
With the move to dependabot to udpate the libnvidia-container
submodule it is no longer required to have checks in place that
ensure that this is up to date when building.
In addition when re-building old commits in CI, for example we explicitly
do NOT want to have this check.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-20 20:20:36 +02:00
Evan Lezar
8693dd6962
[no-relnote] Add CodeQL workflow
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-19 14:36:45 +02:00
dependabot[bot]
51cc619eab
Bump github.com/matryer/moq from 0.3.4 to 0.5.0 in /deployments/devel
...
Bumps [github.com/matryer/moq](https://github.com/matryer/moq ) from 0.3.4 to 0.5.0.
- [Release notes](https://github.com/matryer/moq/releases )
- [Changelog](https://github.com/matryer/moq/blob/main/.goreleaser.yml )
- [Commits](https://github.com/matryer/moq/compare/v0.3.4...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/matryer/moq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-18 22:45:12 +00:00
Tariq
9b72161b63
Merge pull request #702 from NVIDIA/sync-gomod2
2024-09-19 06:43:55 +08:00
Evan Lezar
d925b6596b
Merge pull request #687 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.23.1
...
Bump golang from 1.23.0 to 1.23.1 in /deployments/devel
2024-09-18 23:30:30 +02:00
Evan Lezar
c02b144ed4
Merge pull request #703 from elezar/fix-no-persistenced-flag
...
[no-relnote] Move --no-persistenced flag to after configure
2024-09-18 22:58:43 +02:00
Evan Lezar
16fdef50e6
[no-relnote] Move --no-persistenced flag to after configure
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-18 22:52:25 +02:00
Christopher Desiniotis
b061446694
Merge pull request #694 from elezar/add-opt-in-to-sockets
...
Skip injection of nvidia-persistenced socket by default
2024-09-18 13:39:28 -07:00
Evan Lezar
9c2476c98d
Expose opt-in features in toolkit-container
...
This change enables opt-in (off-by-default) features to be opted into.
These features can be toggled by name by specifying the (repeated)
--opt-in-feature command line argument or as a comma-separated list
in the NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES environment variable.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-18 22:30:27 +02:00
Evan Lezar
70da6cfa50
Allow inclusion of persistenced socket in CDI specification
...
This change adds an include-persistenced-socket flag to the
nvidia-ctk cdi generate command that ensures that a generated
specification includes the nvidia-persistenced socket if present on
the host.
Note that for mangement mode, these sockets are always included
if detected.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-18 22:30:27 +02:00
Evan Lezar
a4bfccc3fe
Use include-persistenced-socket feature for CDI mode
...
This change ensures that the internal CDI representation includes
the persistenced socket if the include-persistenced-socket feature
flag is enabled.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-18 22:30:27 +02:00
Tariq Ibrahim
66f50d91bd
sync go.mod with go mod tidy in deployments/devel
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-09-18 13:17:54 -07:00
Evan Lezar
ba1ed3232f
Skip injection of nvidia-persistenced socket by default
...
This changes skips the injection of the nvidia-persistenced socket by
default.
An include-persistenced-socket feature flag is added to allow the
injection of this socket to be explicitly requested.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-18 22:10:09 +02:00
Evan Lezar
c490baab63
Merge pull request #696 from elezar/check-link-resolution
...
Check for valid paths in create-symlinks hook
2024-09-18 22:05:14 +02:00
Evan Lezar
32486cf1e9
Merge pull request #701 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-921e2f3
...
Bump third_party/libnvidia-container from `6b8b8e4` to `921e2f3`
2024-09-18 22:04:37 +02:00
dependabot[bot]
b9c3185d72
Bump third_party/libnvidia-container from 6b8b8e4 to 921e2f3
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `6b8b8e4` to `921e2f3`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](6b8b8e425e...921e2f3197 )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-18 20:00:15 +00:00
Evan Lezar
e383b75a4d
Check for valid paths in create-symlinks hook
...
This change updates the create-symlinks hook to check whether
link paths resolve in the container's filesystem. In addition
the executable is updated to return an error if a link could
not be created.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-09-18 17:47:19 +02:00
Evan Lezar
5827434cae
Merge pull request #699 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-6b8b8e4
...
Bump third_party/libnvidia-container from `4c2494f` to `6b8b8e4`
2024-09-18 16:22:21 +02:00
dependabot[bot]
6ad699c095
Bump third_party/libnvidia-container from 4c2494f to 6b8b8e4
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `4c2494f` to `6b8b8e4`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](4c2494f165...6b8b8e425e )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-18 09:05:59 +00:00
dependabot[bot]
2450b002a8
Bump golang from 1.23.0 to 1.23.1 in /deployments/devel
...
Bumps golang from 1.23.0 to 1.23.1.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 08:25:21 +00:00
dependabot[bot]
03d1acc7b0
Bump golang.org/x/sys from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-08 08:25:45 +00:00
dependabot[bot]
39120d5878
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.6.0-base-ubuntu20.04 to 12.6.1-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-06 08:44:24 +00:00
Evan Lezar
da5e3ce8c3
Merge pull request #634 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.20.0
...
Bump golang.org/x/mod from 0.19.0 to 0.20.0
2024-09-04 12:41:04 +02:00
dependabot[bot]
b47f954b7c
Bump golang.org/x/mod from 0.19.0 to 0.20.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/mod/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-27 07:44:17 +00:00
Evan Lezar
f959c0daaa
Merge pull request #644 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.24.0
...
Bump golang.org/x/sys from 0.22.0 to 0.24.0
2024-08-27 09:43:10 +02:00
Evan Lezar
c3c0cdcc89
Merge pull request #660 from elezar/fix-libnvidia-allocator-duplicate-mount
...
Exclude libnvidia-allocator from graphics mounts
2024-08-22 14:00:25 +02:00
Evan Lezar
e3936fd623
Merge pull request #661 from elezar/fix-golangci-lint
...
[no-relnote] Ignore integer overflow in golangci-lint
2024-08-22 11:43:17 +02:00
Evan Lezar
f4987580d2
[no-relnote] Ignore integer overflow in golangci-lint
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-08-22 11:33:59 +02:00
dependabot[bot]
f3fceab317
Bump golang.org/x/sys from 0.22.0 to 0.24.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 18:29:08 +00:00
Evan Lezar
ff2ba2bbc5
Merge pull request #655 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.4
...
Bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4
2024-08-20 20:27:53 +02:00
Evan Lezar
0c554cbf7e
Merge pull request #652 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.23.0
...
Bump golang from 1.22.6 to 1.23.0 in /deployments/devel
2024-08-20 17:18:06 +02:00
Evan Lezar
beb921fafe
Exclude libnvidia-allocator from graphics mounts
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-08-20 16:28:14 +02:00
Evan Lezar
45030d1169
Merge pull request #651 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.6.0-base-ubuntu20.04
...
Bump nvidia/cuda from 12.5.1-base-ubuntu20.04 to 12.6.0-base-ubuntu20.04 in /deployments/container
2024-08-19 11:39:46 +02:00
dependabot[bot]
2f37055bc6
Bump golang from 1.22.6 to 1.23.0 in /deployments/devel
...
Bumps golang from 1.22.6 to 1.23.0.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-19 09:39:15 +00:00
Evan Lezar
5316c2a618
Merge pull request #657 from yeahdongcn/typo
...
Rename icp_test.go to ipc_test.go
2024-08-19 11:38:56 +02:00
dependabot[bot]
89e4ae70c8
Bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.3 to 2.27.4.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.3...v2.27.4 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-19 09:38:51 +00:00
Evan Lezar
c68b4be12f
Merge pull request #658 from elezar/fix-default-value
...
Use empty string for default runtime-config-override
2024-08-19 11:34:36 +02:00
Evan Lezar
89c12c1368
Use empty string for default runtime-config-override
...
This change ensures that we unnecessarily print warnings for
runtimes where these configs are not applicable.
This removes the following warnings:
WARN[0000] Ignoring runtime-config-override flag for docker
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-08-19 11:33:26 +02:00
Evan Lezar
9d4294450d
Merge pull request #656 from NVIDIA/dependabot/go_modules/deployments/devel/main/github.com/golangci/golangci-lint-1.60.1
...
Bump github.com/golangci/golangci-lint from 1.59.1 to 1.60.1 in /deployments/devel
2024-08-19 11:32:34 +02:00
dependabot[bot]
070b40d62a
Bump github.com/golangci/golangci-lint in /deployments/devel
...
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint ) from 1.59.1 to 1.60.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases )
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.59.1...v1.60.1 )
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-19 11:31:11 +02:00
Xiaodong Ye
13862f3c75
Rename icp_test.go to ipc_test.go
...
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com >
2024-08-19 15:39:54 +08:00
dependabot[bot]
05449807d1
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.5.1-base-ubuntu20.04 to 12.6.0-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-13 08:52:55 +00:00
Evan Lezar
b7948428ff
Merge pull request #624 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.3
...
Bump github.com/urfave/cli/v2 from 2.27.2 to 2.27.3
2024-08-07 17:40:35 +02:00
Evan Lezar
d2750e86c3
Merge pull request #633 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.22.6
...
Bump golang from 1.22.5 to 1.22.6 in /deployments/devel
2024-08-07 17:39:35 +02:00
Evan Lezar
0e4759cf36
Merge pull request #628 from elezar/switch-release-branch
...
[no-relnote] Switch dependabot to release-1.16 branch
2024-08-07 17:38:37 +02:00
dependabot[bot]
d767e4cfe9
Bump golang from 1.22.5 to 1.22.6 in /deployments/devel
...
Bumps golang from 1.22.5 to 1.22.6.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-07 09:08:13 +00:00
Evan Lezar
e454caf577
[no-relnote] Switch dependabot to release-1.16 branch
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-08-01 14:48:35 +02:00
Evan Lezar
fa46c01331
Merge pull request #616 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvlib-0.6.1
...
Bump github.com/NVIDIA/go-nvlib from 0.6.0 to 0.6.1
2024-08-01 11:01:10 +02:00
Evan Lezar
122136fe92
Merge pull request #627 from elezar/add-mig-cdi-test
...
[no-relnotes] Add initial unit test for MIG CDI spec generation
2024-08-01 11:00:07 +02:00
Evan Lezar
fa16d83494
[no-relnotes] Add initial unit test for MIG CDI spec generation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-31 11:56:36 +02:00
dependabot[bot]
faabbd36d6
Bump github.com/urfave/cli/v2 from 2.27.2 to 2.27.3
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.2 to 2.27.3.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.2...v2.27.3 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-28 08:18:49 +00:00
Christopher Desiniotis
a470818ba7
Merge pull request #620 from NVIDIA/bump-v1.16.1
...
Bump version for v1.16.1 release
2024-07-23 07:55:16 -07:00
Christopher Desiniotis
404a2763cb
Bump version for v1.16.1 release
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2024-07-22 20:38:53 -07:00
Christopher Desiniotis
87a63a6159
Merge pull request #619 from NVIDIA/fix-mig-get-minor-number
...
[bugfix] Process error type instead of nvml.Return
2024-07-22 15:21:49 -07:00
Christopher Desiniotis
d8ccd50349
[bugfix] Process error type instead of nvml.Return in internal/platform-support/dgpu
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2024-07-22 13:57:14 -07:00
dependabot[bot]
95694f082b
Bump github.com/NVIDIA/go-nvlib from 0.6.0 to 0.6.1
...
Bumps [github.com/NVIDIA/go-nvlib](https://github.com/NVIDIA/go-nvlib ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/NVIDIA/go-nvlib/releases )
- [Commits](https://github.com/NVIDIA/go-nvlib/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-21 08:24:28 +00:00
Evan Lezar
c5c124b882
Merge pull request #612 from elezar/bump-release-v1.16.0
...
Bump version for v1.16.0 release
2024-07-15 15:39:37 +02:00
Evan Lezar
a67c3a1bb5
Bump version for v1.16.0 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-15 15:07:11 +02:00
Evan Lezar
51911974fb
Merge pull request #611 from elezar/fix-generate-changelog
...
[no-relnote] Fix generate changelog
2024-07-15 15:06:44 +02:00
Evan Lezar
73a6c4d521
[no-relnote] Fix generate changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-15 15:06:24 +02:00
Evan Lezar
eb7983af41
Merge pull request #610 from elezar/fix-generate-changelog
...
[no-relnote] Fix generate-changelog
2024-07-15 14:48:13 +02:00
Evan Lezar
2273664328
[no-relnote] Fix generate-changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-15 14:47:54 +02:00
Evan Lezar
49acaef503
[no-relnote] Fix release script
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-15 14:40:25 +02:00
Evan Lezar
fb6a767ada
Merge pull request #609 from elezar/add-release-md
...
[no-relnote] Add RELEASE.md
2024-07-15 14:27:30 +02:00
Evan Lezar
76f419e3ba
[no-relnote] Add RELEASE.md
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-15 14:25:12 +02:00
Evan Lezar
df3a7729ce
Merge pull request #606 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.5.1-base-ubuntu20.04
...
Bump nvidia/cuda from 12.5.0-base-ubuntu20.04 to 12.5.1-base-ubuntu20.04 in /deployments/container
2024-07-15 11:04:34 +02:00
dependabot[bot]
509993e138
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.5.0-base-ubuntu20.04 to 12.5.1-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-15 08:36:11 +00:00
Evan Lezar
fce56f905b
Merge pull request #601 from elezar/post-release-tooling-fix
...
[no-relnote] Fix release tooling
2024-07-11 14:58:02 +02:00
Evan Lezar
832fcba5cd
[no-relnote] fix archive script
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-11 10:34:28 +02:00
Evan Lezar
b646372998
[no-relnote] Fix release tooling
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 17:38:19 +02:00
Evan Lezar
d51cee6a9d
Merge pull request #600 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.22.5
...
Bump golang from 1.22.1 to 1.22.5 in /deployments/devel
2024-07-10 13:31:09 +02:00
dependabot[bot]
2d9c45575c
Bump golang from 1.22.1 to 1.22.5 in /deployments/devel
...
Bumps golang from 1.22.1 to 1.22.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-10 11:29:58 +00:00
Evan Lezar
49ada6ce56
Merge pull request #599 from elezar/add-build-image-tooling
...
Update build image tooling
2024-07-10 13:29:33 +02:00
Evan Lezar
d8edb83673
[no-relnote] Add dependabot rule for devel/Dockerfile
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 13:28:58 +02:00
Evan Lezar
969d6c3a4b
[no-relnotes] Add golangci-lint to devel image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 13:26:02 +02:00
Evan Lezar
ee4f1f4a24
Merge pull request #597 from elezar/add-build-image-tooling
...
[no-relnotes] Use a local development image
2024-07-10 13:25:22 +02:00
Evan Lezar
1b1b03d46e
[no-relnotes] Use a local development image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 13:21:46 +02:00
Evan Lezar
cf417b0308
Merge pull request #595 from elezar/manage-golang-version-dependabot
...
Manage golang version with dependabot
2024-07-10 13:13:14 +02:00
Evan Lezar
aedd3b8f04
[no-relnote] Define golang version in Dockefile
...
This change adds logic to extract the golang version from a Dockefile.
This allows us to trigger golang updates using dependabot.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 13:12:44 +02:00
Evan Lezar
d969c6f302
Merge pull request #593 from elezar/bump-release-v1.16.0-rc.2
...
Bump version for v1.16.0-rc.2 release
2024-07-10 12:01:02 +02:00
Evan Lezar
976fdae5d0
[no-relnote] Fix version bump in release script
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 11:56:42 +02:00
Evan Lezar
0eec445d7a
Bump version for v1.16.0-rc.2 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 11:56:42 +02:00
Evan Lezar
448a3853ad
Merge pull request #552 from elezar/refactor-dgpu-discovery
...
Refactor dGPU device discovery
2024-07-10 11:48:30 +02:00
Evan Lezar
9dd4e357b7
Merge pull request #562 from elezar/add-release-ci
...
[no-relnote] Add basic release workflow
2024-07-10 11:32:20 +02:00
Evan Lezar
6358c13dab
[no-relnote] Add basic release workflow
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-10 11:20:40 +02:00
Evan Lezar
e4cdc48854
Merge pull request #591 from elezar/fix-release-scripts
...
[no-relnote] fix package release scripts
2024-07-09 15:34:13 +02:00
Evan Lezar
8e079c040a
[no-relnote] fix package release scripts
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 15:33:41 +02:00
Evan Lezar
8b010313e5
Merge pull request #548 from elezar/additional-graphics-libs
...
Inject additional libraries for full X11 functionality
2024-07-09 14:57:55 +02:00
Evan Lezar
bd7295702e
Merge pull request #584 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.22.0
...
Bump golang.org/x/sys from 0.21.0 to 0.22.0
2024-07-09 14:26:10 +02:00
dependabot[bot]
135f682a87
Bump golang.org/x/sys from 0.21.0 to 0.22.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/sys/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-09 12:01:41 +00:00
Evan Lezar
077ad3eb25
Merge pull request #583 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.19.0
...
Bump golang.org/x/mod from 0.18.0 to 0.19.0
2024-07-09 14:00:54 +02:00
Evan Lezar
e527cc1ff5
Use relative path to locate driver libraries
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 13:54:07 +02:00
Evan Lezar
55ea268829
Add RelativeToRoot function to Driver
...
This adds a function to return a path as a path relative to
the specified driver root.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 13:54:07 +02:00
Seungmin Kim
aae3da88c3
Inject additional libraries for full X11 functionality
...
This change updates X11 library detection to ensure that this
works for a wider range of driver installations.
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com >
Signed-off-by: tux-rampage <tuxrampage@gmail.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 13:53:55 +02:00
dependabot[bot]
bb2be19a6c
Bump golang.org/x/mod from 0.18.0 to 0.19.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/mod/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-09 11:53:13 +00:00
Evan Lezar
6fd2fc0c24
Merge pull request #587 from NVIDIA/dependabot/go_modules/main/tags.cncf.io/container-device-interface-0.8.0
...
Bump tags.cncf.io/container-device-interface from 0.7.2 to 0.8.0
2024-07-09 13:52:27 +02:00
Evan Lezar
7c2e624492
Merge pull request #589 from elezar/fix-dependabot
...
[no-relnote] Remove gh-pages action update
2024-07-09 13:52:14 +02:00
Evan Lezar
c0a3864ab4
[no-relnote] Remove gh-pages action update
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 13:50:09 +02:00
dependabot[bot]
0c309df7e7
Bump tags.cncf.io/container-device-interface from 0.7.2 to 0.8.0
...
Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface ) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/cncf-tags/container-device-interface/releases )
- [Commits](https://github.com/cncf-tags/container-device-interface/compare/v0.7.2...v0.8.0 )
---
updated-dependencies:
- dependency-name: tags.cncf.io/container-device-interface
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-09 11:48:04 +00:00
Evan Lezar
46838b1a44
Merge pull request #576 from elezar/get-options-from-default
...
Extract options from default runtime if runc does not exist
2024-07-09 13:34:57 +02:00
Evan Lezar
be11cf428b
[no-relnote] Add MIG discoverer to dgpu package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 13:34:04 +02:00
Evan Lezar
b42a5d3e3a
[no-relnote] Refactor dGPU device discovery
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-09 13:34:04 +02:00
Evan Lezar
b8389283d5
Extract options from default runtime if runc does not exist
...
This change updates the logic to populate the options for the
nvidia runtime configs added to containerd or crio from a default runtime
if this is specified and a runc entry is not found.
This allows the default runtime values for settings such as SystemdCgroup
to be applied correctly.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-04 12:44:08 +02:00
Evan Lezar
6732f6d13b
Merge pull request #577 from tariq1890/no-map-ptr
...
avoid using map pointers as maps are always passed by reference
2024-07-03 12:36:58 +02:00
Tariq Ibrahim
70ef0fb973
avoid using map pointers as maps are always passed by reference
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-07-02 17:35:44 -07:00
Evan Lezar
15c884e99f
Merge pull request #558 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvlib-0.6.0
...
Bump github.com/NVIDIA/go-nvlib from 0.5.0 to 0.6.0
2024-07-02 16:21:02 +02:00
Evan Lezar
17d4d7da1f
Merge pull request #574 from elezar/fix-centos7-builds
...
Use centos:7 vault repos for builds
2024-07-01 16:41:40 +02:00
Evan Lezar
c96ac07bf7
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-01 16:32:41 +02:00
Evan Lezar
a6a96a8d0e
Merge pull request #560 from elezar/reduce-logging
...
Reduce logging verbosity in NVIDIA Container Runtime
2024-07-01 16:21:59 +02:00
Evan Lezar
be61ba01d9
[no-relnote] Use centos:7 vault repos for builds
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-01 16:21:20 +02:00
Evan Lezar
3aeba886d4
Reduce logging for the NVIDIA Container runtime
...
This change moves most of the logging for the NVIDIA Container runtime
from Info to Debug or Trace -- especially in the case where no
modifications are requried.
This removes execessive logging.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-01 12:12:38 +02:00
Evan Lezar
490c7dd599
Add Tracef to logger Interface
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-01 12:12:38 +02:00
Evan Lezar
8df5e33ef6
Add String function to oci.Runtime interface
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-01 12:12:38 +02:00
Evan Lezar
f55aac0232
Merge pull request #573 from elezar/bugfix-in-log-argument
...
Fix bug in argument parsing for logger creation
2024-07-01 12:12:14 +02:00
Evan Lezar
2c8431c1f8
Fix bug in argument parsing for logger creation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-07-01 12:03:53 +02:00
Evan Lezar
f35f3903ab
Merge pull request #551 from Weselton/main
...
[no-relnote] Fixed spelling error
2024-06-24 15:00:56 +02:00
Evan Lezar
bbc5363009
Merge pull request #561 from elezar/update-generate-changelog
...
[no-relnote] Update generate changelog filter
2024-06-24 13:04:55 +02:00
Evan Lezar
0b944ba274
[no-relnote] Update generate changelog filter
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-24 13:04:13 +02:00
dependabot[bot]
ca528c4f53
Bump github.com/NVIDIA/go-nvlib from 0.5.0 to 0.6.0
...
Bumps [github.com/NVIDIA/go-nvlib](https://github.com/NVIDIA/go-nvlib ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/NVIDIA/go-nvlib/releases )
- [Commits](https://github.com/NVIDIA/go-nvlib/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvlib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-23 08:42:01 +00:00
German Maltsev
692dac4cbd
[no-relnote] Fixed spelling error
...
Signed-off-by: German Maltsev <maltsev.german@gmail.com >
2024-06-19 17:40:56 +03:00
Evan Lezar
6b78c72fec
Merge pull request #550 from ArangoGutierrez/ref_name
...
Use ref_name on release workflow
2024-06-18 11:49:59 +02:00
Carlos Eduardo Arango Gutierrez
a3223f32e0
Use ref_name on release workflow
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2024-06-17 16:56:39 +02:00
Evan Lezar
f2eb4ea9ba
Merge pull request #549 from elezar/bump-v1.16.0-rc.1
...
Bump v1.16.0 rc.1
2024-06-17 15:35:27 +02:00
Evan Lezar
4686f9499c
Add basic release workflow
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-17 15:33:11 +02:00
Evan Lezar
3f481cd20a
Update changelog for v1.16.0-rc.1 release
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-17 15:17:28 +02:00
Evan Lezar
cd52be86e6
Merge pull request #529 from elezar/vulkan-location
...
Support vulkan ICD files in a driver root
2024-06-17 15:00:29 +02:00
Evan Lezar
b5743da52f
Merge pull request #526 from elezar/add-dev-root-to-create-device-nodes
...
Add dev-root option to create-device-nodes
2024-06-17 14:57:26 +02:00
Evan Lezar
03ccd64f33
Merge pull request #512 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.4-0
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-6 to 0.12.4-0
2024-06-17 14:23:00 +02:00
Evan Lezar
33369861fc
Merge pull request #547 from NVIDIA/revert-490-main
...
Revert "Inject additional libraries required for full display functionality"
2024-06-17 11:47:36 +02:00
Evan Lezar
d9a1106e00
Revert "Inject additional libraries required for full display functionality"
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-17 11:47:15 +02:00
Evan Lezar
f26425d3fd
Merge pull request #490 from ehfd/main
...
Inject additional libraries required for full display functionality
2024-06-17 11:41:38 +02:00
Evan Lezar
272585d261
Merge pull request #544 from elezar/allow-toolkit-pid-file-to-be-specified
...
Allow toolkit.pid path to be specified
2024-06-17 11:39:44 +02:00
Evan Lezar
fe5a44cb35
Merge pull request #527 from elezar/increase-priority-of-injected-libs
...
Increase priority of ld.so.conf.d config file
2024-06-17 11:34:43 +02:00
Evan Lezar
5f2be72335
Support vulkan ICD files in a driver root
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-17 11:33:29 +02:00
Evan Lezar
ae074e7ba2
Merge pull request #545 from elezar/bump-version-v1.16.0-rc.1
...
Bump version to v1.16.0-rc.1
2024-06-17 11:32:07 +02:00
Evan Lezar
876d479308
Allow toolkit.pid path to be specified
...
This change makes the following changes:
* Allows the toolkit.pid path to be specified
* Creates the toolkit.pid file at /run/nvidia/toolkit/toolkit.pid by default
* Handles failures to remove the /run/nvidia/toolkit folder
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-17 11:26:23 +02:00
dependabot[bot]
abd638add9
Bump github.com/NVIDIA/go-nvml from 0.12.0-6 to 0.12.4-0
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-6 to 0.12.4-0.
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.0-6...v0.12.4-0 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-14 13:27:46 +00:00
Evan Lezar
1dd59101c7
Bump version to v1.16.0-rc.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-14 15:25:21 +02:00
Evan Lezar
55630bc2c0
Merge pull request #542 from elezar/remove-provenance
...
Remove provenance information from image manifests
2024-06-14 15:16:06 +02:00
Evan Lezar
4f0de9f1ef
Increase priority of ld.so.conf.d config file
...
This change ensures that the created /etc/ld.so.conf.d file
has a higher priority to ensure that the injected libraries
take precendence over non-compat libraries.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-13 13:49:14 +02:00
Evan Lezar
bced007f87
Remove provenance information from image manifests
...
Tools such as oc mirror do not support the provenence metadata
added to the image manifests with newer docker buildx versions.
This change disables the addition of provenance information.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-13 13:36:07 +02:00
Evan Lezar
ac90b7963d
Merge pull request #519 from shivakunv/ngc_signing_job
...
add ngc image signing job for auto signing
2024-06-13 12:01:19 +02:00
shiva kumar
2e947edbe4
add ngc image signing job for auto signing
...
Signed-off-by: shiva kumar <shivaku@nvidia.com >
2024-06-12 13:20:35 +05:30
Evan Lezar
9fde4b21df
Merge pull request #539 from elezar/fix-ppcle64-builds
...
Fix ppcle64 builds
2024-06-11 14:49:37 +02:00
Evan Lezar
84e0060fe8
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-11 14:31:31 +02:00
Evan Lezar
024dd3126d
Use archived package repo for centos:stream8
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-11 14:31:06 +02:00
Evan Lezar
86b272cc7b
Merge pull request #533 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.18.0
...
Bump golang.org/x/mod from 0.17.0 to 0.18.0
2024-06-10 13:43:15 +02:00
dependabot[bot]
2bc24970e0
Bump golang.org/x/mod from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/mod/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 11:35:48 +00:00
Evan Lezar
00dc0daecc
Merge pull request #532 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.21.0
...
Bump golang.org/x/sys from 0.20.0 to 0.21.0
2024-06-10 13:34:42 +02:00
dependabot[bot]
e3120cbe64
Bump golang.org/x/sys from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 11:32:41 +00:00
Evan Lezar
00d82dd540
Merge pull request #536 from elezar/bump-github.com/xrash/smetrics
...
Bump github.com/xrash/smetrics to v0.0.0-20240521201337-686a1a2994c1
2024-06-10 13:31:58 +02:00
Evan Lezar
8fe366683e
Bump github.com/xrash/smetrics to v0.0.0-20240521201337-686a1a2994c1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-10 13:30:14 +02:00
Evan Lezar
7320fcd86d
Merge pull request #524 from NVIDIA/dependabot/docker/deployments/container/main/nvidia/cuda-12.5.0-base-ubuntu20.04
...
Bump nvidia/cuda from 12.4.1-base-ubuntu20.04 to 12.5.0-base-ubuntu20.04 in /deployments/container
2024-06-10 13:23:25 +02:00
Evan Lezar
01f212b7a8
Merge pull request #528 from elezar/set-cdi-permissions-644
...
Set default CDI spec permissions to 644
2024-06-10 13:20:18 +02:00
Evan Lezar
71e0b8590f
Set default CDI spec permissions to 644
...
Although the nvidia-ctk cdi generate command generates
specs with 644 permissions, the nvidia-ctk cdi transform
commands do not. This change sets the default permissions
to 600 instead of 644.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-05 11:27:03 +02:00
tux-rampage
e841c6256a
Add driver hooks
2024-06-05 06:42:25 +02:00
tux-rampage
c2411e644e
Build xorg lib search paths dynamically
2024-06-04 19:40:05 +02:00
Evan Lezar
dffce25637
Rename driver-root option to root
...
This change renames the nvidia-ctk system create-device-nodes
flag driver-root to root. This makes it clearer that this is
used to load the kernel modules and is not specific to the
user-mode driver installation.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-04 10:25:49 +02:00
Evan Lezar
f5a4b23041
Add dev-root option to create-device-nodes
...
This allows for dev nodes to be created in cases
where the driver root and the dev root do not
match.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-04 10:24:26 +02:00
Evan Lezar
dfc8e22e12
Merge pull request #360 from elezar/add-device-root-to-toolkit-container
...
Add dev-root option to toolkit container
2024-06-04 10:09:37 +02:00
Seungmin Kim
155fe66575
Merge branch 'NVIDIA:main' into main
2024-06-04 16:29:35 +09:00
Evan Lezar
9208159263
Add dev-root option to toolkit container
...
This changes adds an option to the toolkit container to allow
the dev root to be specified. This adds support for driver installations
where the driver files are at one root and the dev nodes are created
elsewhere -- most typically at /. This is the case, for example, for
GKE driver installations.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-03 20:40:30 +02:00
Evan Lezar
9b83d09f18
Merge pull request #440 from elezar/cdi-generation-with-driver-root
...
Find libnvidia-ml in driver root
2024-06-03 13:31:54 +02:00
Evan Lezar
c5eda7af8e
Ensure that libnvidia-ml.so.1 is found in driver root
...
This change ensures that the driver root is used to locate libnvidia-ml.so.1
if required.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-06-03 12:01:10 +02:00
dependabot[bot]
572b0401a4
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.4.1-base-ubuntu20.04 to 12.5.0-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-03 08:21:46 +00:00
Seungmin Kim
0d70052105
Merge branch 'NVIDIA:main' into main
2024-06-02 17:42:21 +09:00
Evan Lezar
bead6f98f3
Merge pull request #518 from elezar/fix-staging-image-repo
...
Remove trailing slash from staging registry
2024-05-29 16:51:39 +02:00
Evan Lezar
533d7119db
Remove trailing slash from staging registry
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-29 16:51:20 +02:00
Evan Lezar
e4b46a09a7
Merge pull request #516 from elezar/update-infolib-construction
...
Update infolib construction
2024-05-28 13:32:55 +02:00
Evan Lezar
8fc4b9c742
Add WithInfoLib option to CDI package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-28 13:30:31 +02:00
Evan Lezar
ef57c07199
Bump github.com/NVIDIA/go-nvlib to v0.5.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-28 13:28:28 +02:00
Evan Lezar
b407109bdf
Merge pull request #515 from elezar/fix-cdi-construction
...
Ensure consistent construction order for libs
2024-05-28 12:33:37 +02:00
Evan Lezar
abb5abaea4
Ensure consistent construction order for libs
...
This change ensures that nvnllib and devicelib are constructed
before these are used to construct infolib.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-28 12:05:44 +02:00
Evan Lezar
e55e6abc09
Merge pull request #506 from elezar/set-version-on-transform
...
Set mininum spec version on save
2024-05-28 11:48:28 +02:00
Evan Lezar
17c044eef8
Set minimum version on save
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-24 15:36:18 +02:00
Evan Lezar
edda11d647
Merge pull request #428 from elezar/fix-cdi-mode-resolution
...
Fix cdi mode resolution
2024-05-21 13:22:10 +02:00
Evan Lezar
52d0383b47
Bump github.com/NVIDIA/go-nvlib to v0.4.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-21 12:25:54 +02:00
Evan Lezar
3defc6babb
Use go-nvlib mode resolution
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-21 12:25:54 +02:00
Evan Lezar
7b988f15ab
Merge pull request #474 from deitch/separate-hook-binary
...
move nvidia-ctk hook command into nvidia-cdi-hook binary
2024-05-21 12:24:56 +02:00
Avi Deitcher
179d8655f9
Move nvidia-ctk hook command into own binary
...
This change creates an nvidia-cdi-hook binary for implementing
CDI hooks. This allows for these hooks to be separated from the
nvidia-ctk command which may, for example, require libnvidia-ml
to support other functionality.
The nvidia-ctk hook subcommand is maintained as an alias for the
time being to allow for existing CDI specifications referring to
this path to work as expected.
Signed-off-by: Avi Deitcher <avi@deitcher.net >
2024-05-21 12:19:44 +02:00
Evan Lezar
2d7b2360d2
Merge pull request #497 from elezar/systemdcgroup
...
Add option to set additional containerd configs per runtime
2024-05-21 12:05:51 +02:00
Evan Lezar
a61dc148b2
Merge pull request #501 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.0-6
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-5 to 0.12.0-6
2024-05-21 11:35:58 +02:00
dependabot[bot]
3f6b916a85
Bump github.com/NVIDIA/go-nvml from 0.12.0-5 to 0.12.0-6
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-5 to 0.12.0-6.
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.0-5...v0.12.0-6 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-21 11:28:09 +02:00
Seungmin Kim
cf388e7e63
Update internal/discover/graphics.go
...
Co-authored-by: Evan Lezar <evanlezar@gmail.com >
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com >
2024-05-17 23:55:36 +09:00
Evan Lezar
b435b797af
Add support for adding additional containerd configs
...
This allow for options such as SystemdCgroup to be optionally set.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-17 12:58:08 +02:00
Evan Lezar
c86c3aeeaf
Allow per-runtime config overrides
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-17 12:58:08 +02:00
Evan Lezar
f13f1bdba4
Merge pull request #484 from elezar/fix-config-set
...
Use : as a config --set slice separator
2024-05-13 12:32:53 +02:00
Seungmin Kim
55440f40b3
Make X11 search paths accurate
...
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com >
2024-05-11 04:31:11 +09:00
Seungmin Kim
cc34996684
Inject additional libraries required for full X11 functionality and fix paths
...
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com >
2024-05-11 00:33:41 +09:00
Evan Lezar
5a3eda4cba
Use : as a config --set list separator
...
This allows settings such as:
nvidia-ctk config --set nvidia-container-runtime.runtimes=crun:runc
to be applied correctly.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-08 17:26:59 +02:00
Evan Lezar
973a6633b3
Merge pull request #479 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.2
...
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2
2024-05-07 22:46:49 +02:00
Evan Lezar
f4d0cfb687
Merge pull request #318 from cdesiniotis/update-func-signature
...
Get device specs by Identifier
2024-05-07 22:45:38 +02:00
Christopher Desiniotis
35b23c5a2c
Accept device.Identifiers for requesting CDI specs
...
This change moves from using strings to useing device.Identifiers
as input for requesting CDI specifications for specific
devices.
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-05-07 21:50:28 +02:00
Evan Lezar
0dc87e5d69
Merge pull request #488 from NVIDIA/dependabot/github_actions/golangci/golangci-lint-action-6
...
Bump golangci/golangci-lint-action from 5 to 6
2024-05-07 15:22:24 +02:00
Evan Lezar
edc50f6e49
Merge pull request #485 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.20.0
...
Bump golang.org/x/sys from 0.19.0 to 0.20.0
2024-05-07 15:21:58 +02:00
dependabot[bot]
7de7444b0f
Bump golangci/golangci-lint-action from 5 to 6
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-07 08:25:32 +00:00
dependabot[bot]
8d3ffcd122
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.1 to 2.27.2.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.1...v2.27.2 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-06 11:45:55 +02:00
dependabot[bot]
d72481cbd7
Bump golang.org/x/sys from 0.19.0 to 0.20.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-05 08:27:16 +00:00
Evan Lezar
a442a5ed1f
Merge pull request #478 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.0-5
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-4 to 0.12.0-5
2024-05-03 13:14:38 +02:00
dependabot[bot]
7de58b4af4
Bump github.com/NVIDIA/go-nvml from 0.12.0-4 to 0.12.0-5
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-4 to 0.12.0-5.
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.0-4...v0.12.0-5 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-28 08:29:54 +00:00
Carlos Eduardo Arango Gutierrez
fde099d25b
Merge pull request #476 from NVIDIA/dependabot/github_actions/golangci/golangci-lint-action-5
...
Bump golangci/golangci-lint-action from 4 to 5
2024-04-25 12:31:18 +02:00
dependabot[bot]
0a3eb67df8
Bump golangci/golangci-lint-action from 4 to 5
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-25 08:31:16 +00:00
Carlos Eduardo Arango Gutierrez
78f250a6b0
Merge pull request #469 from elezar/switch-to-ghimages
...
Switch to ghcr.io/nvidia/container-toolkit staging images
2024-04-22 10:19:56 +02:00
Evan Lezar
0aed9a16ad
Merge pull request #460 from NVIDIA/dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.12.0-4
...
Bump github.com/NVIDIA/go-nvml from 0.12.0-3 to 0.12.0-4
2024-04-19 11:46:20 +02:00
Evan Lezar
f46b99c2f7
Switch to ghcr.io/nvidia/container-toolkit staging images
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-18 15:04:59 +02:00
Evan Lezar
d5f6e6f868
Use nvml/mock package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-18 14:53:37 +02:00
Evan Lezar
082ce066ed
Replace go-nvlib/pkg/nvml with go-nvml/pkg/nvml
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-18 14:53:37 +02:00
Evan Lezar
bbaf543537
Update github.com/NVIDIA/go-nvlib to v0.3.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-18 14:53:37 +02:00
dependabot[bot]
50dd460eaa
Bump github.com/NVIDIA/go-nvml from 0.12.0-3 to 0.12.0-4
...
Bumps [github.com/NVIDIA/go-nvml](https://github.com/NVIDIA/go-nvml ) from 0.12.0-3 to 0.12.0-4.
- [Commits](https://github.com/NVIDIA/go-nvml/compare/v0.12.0-3...v0.12.0-4 )
---
updated-dependencies:
- dependency-name: github.com/NVIDIA/go-nvml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-18 14:53:37 +02:00
Evan Lezar
b3af77166b
Merge pull request #467 from NVIDIA/dependabot/go_modules/main/tags.cncf.io/container-device-interface-0.7.2
...
Bump tags.cncf.io/container-device-interface from 0.7.1 to 0.7.2
2024-04-18 14:50:33 +02:00
dependabot[bot]
d8cb812c8e
Bump tags.cncf.io/container-device-interface from 0.7.1 to 0.7.2
...
Bumps [tags.cncf.io/container-device-interface](https://github.com/cncf-tags/container-device-interface ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/cncf-tags/container-device-interface/releases )
- [Commits](https://github.com/cncf-tags/container-device-interface/compare/v0.7.1...v0.7.2 )
---
updated-dependencies:
- dependency-name: tags.cncf.io/container-device-interface
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-18 10:12:16 +00:00
Carlos Eduardo Arango Gutierrez
80386a7fb2
Merge pull request #463 from elezar/switch-maintenance-branch
...
Update maintenance dependabot rule
2024-04-18 12:11:04 +02:00
Evan Lezar
c0a5bbe7db
Update maintenance dependabot rule
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-16 15:36:20 +02:00
Evan Lezar
ddeeca392c
Merge pull request #462 from elezar/bump-version-v1.15.0
...
Bump version to v1.15.0
2024-04-15 15:21:52 +02:00
Evan Lezar
9944feee45
Bump version to v1.15.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-15 14:37:16 +02:00
Evan Lezar
762b14b6cd
Merge pull request #459 from elezar/remove-runtime-docker
...
Remove runtime and docker packages
2024-04-15 11:51:32 +02:00
Evan Lezar
e76e10fb36
Remove third_party package folders
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-12 14:35:03 +02:00
Evan Lezar
fcdf565586
Remove tooling to build packages
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-12 14:32:46 +02:00
Evan Lezar
7a9bc14d98
Merge pull request #425 from jmbaur/discover-use-xdg
...
Use XDG_DATA_DIRS instead of hardcoding /usr/share
2024-04-11 19:09:53 +02:00
Jared Baur
5788e622f4
Use XDG_DATA_DIRS instead of hardcoding /usr/share
...
When running nvidia-ctk on a system that uses a custom XDG_DATA_DIRS
environment variable value, the configuration files for `glvnd`,
`vulkan`, and `egl` fail to get passed through from the host to the
container. Reading from XDG_DATA_DIRS instead of hardcoding the default
value allows for finding said files so they can be mounted in the
container.
Signed-off-by: Jared Baur <jaredbaur@fastmail.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-11 17:13:02 +02:00
Evan Lezar
29c0f82ed2
Merge pull request #327 from elezar/add-driver-config
...
Add config search path option to driver root
2024-04-11 16:58:33 +02:00
Evan Lezar
e1417bee64
Merge pull request #456 from elezar/fix-ubi8-image-build
...
Remove unneeded repo manipulation
2024-04-11 16:54:31 +02:00
Evan Lezar
5f9e49705c
Remove unneeded repo manipulation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-11 16:44:42 +02:00
Evan Lezar
1d2b61ee11
Merge pull request #455 from elezar/fix-ubi8-image-build
...
Fix typo in dockerfile
2024-04-11 15:10:04 +02:00
Evan Lezar
271987d448
Fix typo in dockerfile
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-11 15:06:22 +02:00
Evan Lezar
6cac2f5848
Merge pull request #446 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.19.0
...
Bump golang.org/x/sys from 0.18.0 to 0.19.0
2024-04-11 11:41:51 +02:00
dependabot[bot]
ef4eb0d3c6
Bump golang.org/x/sys from 0.18.0 to 0.19.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-11 09:39:33 +00:00
Evan Lezar
04ab0595fa
Merge pull request #449 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.17.0
...
Bump golang.org/x/mod from 0.16.0 to 0.17.0
2024-04-11 11:38:52 +02:00
Evan Lezar
9d3418d603
Merge pull request #454 from NVIDIA/dependabot/docker/deployments/container/nvidia/cuda-12.4.1-base-ubuntu20.04
...
Bump nvidia/cuda from 12.3.2-base-ubuntu20.04 to 12.4.1-base-ubuntu20.04 in /deployments/container
2024-04-11 11:38:18 +02:00
dependabot[bot]
57acd85fb1
Bump nvidia/cuda in /deployments/container
...
Bumps nvidia/cuda from 12.3.2-base-ubuntu20.04 to 12.4.1-base-ubuntu20.04.
---
updated-dependencies:
- dependency-name: nvidia/cuda
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-10 14:11:46 +00:00
Evan Lezar
6d69ca81de
Merge pull request #453 from elezar/bump-cuda-version-in-containers
...
Add dependabot update for CUDA base images
2024-04-10 16:11:26 +02:00
Evan Lezar
be73581489
Add dependabot update for Dockefiles
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-10 16:06:27 +02:00
Evan Lezar
5682ce3149
Specify CUDA base images directly in Dockerfile
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-10 16:06:27 +02:00
dependabot[bot]
cb2b000ddc
Bump golang.org/x/mod from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/mod/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-08 11:01:21 +00:00
Evan Lezar
cbc6ff73a4
Merge pull request #441 from elezar/bump-cdi-version
...
Update tags.cncf.io/container-device-interface to v0.7.1
2024-04-08 13:00:33 +02:00
Evan Lezar
4cd86caf67
Use NewCache instead of GetRegistry
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-05 17:09:17 +02:00
Evan Lezar
885313af3b
Bump tags.cncf.io/container-device-interface to v0.7.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-05 17:05:40 +02:00
Evan Lezar
26e52b8013
Merge pull request #438 from elezar/refactor-driver-root
...
Create root.Driver instance at first usage
2024-04-03 15:11:45 +02:00
Evan Lezar
011c658945
Create root.Driver instance at first usage
...
This allows for testing through injection of the driver root.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-03 15:03:33 +02:00
Evan Lezar
413da20838
Merge pull request #362 from elezar/add-feature-flags
...
Add support for feature flags
2024-04-03 12:04:18 +02:00
Evan Lezar
09341a0934
Add support for feature flags
...
This change adds a features config that allows
individual features to be toggled at a global level. Each feature can (by default)
be controlled by an environment variable.
The GDS, MOFED, NVSWITCH, and GDRCOPY features are examples of such features.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-03 11:58:37 +02:00
Evan Lezar
2a9e3537ec
Add config search paths option to driver root.
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-02 23:03:05 +02:00
Evan Lezar
c374520b64
Merge pull request #436 from elezar/remove-verbose-from-tests
...
Remove verbose from tests
2024-04-02 17:46:33 +02:00
Evan Lezar
e982b9798c
Remove verbose from tests
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-04-02 17:45:25 +02:00
Evan Lezar
7eb031919c
Merge pull request #430 from lengrongfu/main
...
fix doc link
2024-04-02 17:41:19 +02:00
Evan Lezar
97950d6b8d
Merge pull request #418 from elezar/bump-golang-version
...
Bump golang version to v1.22.1
2024-04-02 10:59:45 +02:00
Evan Lezar
1613f35bf5
Merge pull request #419 from elezar/rename-build-deployments
...
Rename build folder deployments
2024-04-02 10:57:54 +02:00
rongfu.leng
a78a7f866f
fix doc
...
Signed-off-by: rongfu.leng <lenronfu@gmail.com >
2024-03-28 13:55:25 +08:00
Evan Lezar
643b89e539
Add driver.Config
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-25 20:18:15 +02:00
Evan Lezar
bdfa525a75
Merge pull request #427 from elezar/add-functional-options-to-driver-root
...
Use functional options to construct driver root
2024-03-25 20:17:54 +02:00
Evan Lezar
93763d25f0
Use functional options to construct driver root
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-25 20:13:25 +02:00
Evan Lezar
5800e55027
Rename build folder deployments
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 14:00:24 +02:00
Evan Lezar
c572c3b787
Remove lint-internal make target
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 13:54:16 +02:00
Evan Lezar
3f7ed7c8db
Rename golangci-lint target to lint
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 13:54:16 +02:00
Evan Lezar
cc6cbd4a89
Use versions.mk GOLANG version in CI
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 13:54:16 +02:00
Evan Lezar
98ad835a77
Add vendor and check-vendor make targets
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 13:48:58 +02:00
Evan Lezar
3a1ac85020
Bump golang version to 1.22.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 13:46:47 +02:00
Evan Lezar
1ddc859700
Merge pull request #417 from elezar/bump-version-v1.15.0-rc.4
...
Bump version v1.15.0 rc.4
2024-03-19 10:47:10 +02:00
Evan Lezar
f1f629674e
Bump CUDA base image to 12.3.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 10:37:36 +02:00
Evan Lezar
5a6bf02914
Bump version to v1.15.0-rc.4
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-19 10:36:02 +02:00
Evan Lezar
197cbbe0c6
Merge pull request #411 from elezar/bump-go-nvlib
...
Bump go-nvlib to v0.2.0 and go-nvml v0.12.0-3
2024-03-15 15:12:01 +02:00
Evan Lezar
b9abb44613
Bump go-nvlib to v0.2.0 and go-nvml v0.12.0-3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-15 15:09:12 +02:00
Evan Lezar
c4ec4a01f8
Merge pull request #384 from tariq1890/upd-go
...
Fix dockerfile arch selection
2024-03-15 08:58:27 +02:00
Tariq Ibrahim
f40f4369a1
Fix dockerfile arch selection
...
This change includes an arm64 arch check when installing golang.
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-15 08:54:00 +02:00
Evan Lezar
2733661125
Merge pull request #383 from elezar/fix-golangci-lint-in-shell
...
Add GOLANGCI_LINT_CACHE to docker make targets
2024-03-15 08:51:29 +02:00
Evan Lezar
4806f6e70d
Merge pull request #395 from elezar/add-nvidia-visible-devices-void
...
Add NVIDIA_VISIBLE_DEVICES=void to CDI specs
2024-03-13 10:00:38 +02:00
Evan Lezar
db21f5f9a8
Merge pull request #400 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.18.0
...
Bump golang.org/x/sys from 0.17.0 to 0.18.0
2024-03-12 15:16:05 +02:00
Evan Lezar
07443a0e86
Merge pull request #405 from NVIDIA/dependabot/submodules/main/third_party/libnvidia-container-6c8f1df
...
Bump third_party/libnvidia-container from `86f1946` to `6c8f1df`
2024-03-12 15:15:32 +02:00
dependabot[bot]
675db67ebb
Bump third_party/libnvidia-container from 86f1946 to 6c8f1df
...
Bumps [third_party/libnvidia-container](https://github.com/NVIDIA/libnvidia-container ) from `86f1946` to `6c8f1df`.
- [Release notes](https://github.com/NVIDIA/libnvidia-container/releases )
- [Commits](86f19460fb...6c8f1df7fd )
---
updated-dependencies:
- dependency-name: third_party/libnvidia-container
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-12 12:10:07 +00:00
Evan Lezar
14ecacf6d1
Merge pull request #403 from elezar/add-github-submodule-update
...
Add dependabot config to update libnvidia-container submodule
2024-03-12 13:47:17 +02:00
Evan Lezar
9451da1e6d
Add dependabot config to update libnvidia-container submodule
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-12 13:45:04 +02:00
Evan Lezar
e30ddb398f
Merge pull request #397 from jbujak/enumAdapters3
...
Use D3DKMTEnumAdapters3 for adapter enumeration
2024-03-12 13:33:25 +02:00
dependabot[bot]
375188495e
Bump golang.org/x/sys from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-12 11:14:05 +00:00
Evan Lezar
5ff48a5a89
Merge pull request #401 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.16.0
...
Bump golang.org/x/mod from 0.15.0 to 0.16.0
2024-03-12 13:13:24 +02:00
Jakub Bujak
44ae31d101
Use D3DKMTEnumAdapters3 for adapter enumeration
...
D3DKMTEnumAdapters3 is required to enumerate MCDM compute-only adapters
Signed-off-by: Jakub Bujak <jbujak@nvidia.com >
2024-03-12 11:42:08 +01:00
dependabot[bot]
942e5c7224
Bump golang.org/x/mod from 0.15.0 to 0.16.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/mod/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-10 08:26:44 +00:00
Evan Lezar
88ad42ccd1
Add NVIDIA_VISIBLE_DEVICES=void to CDI specs
...
This change ensures taht NVIDIA_VISIBLE_DEVICES=void is included in
generated CDI specs. This prevents the NVIDIA Container Runtime Hook
from injecting devices if NVIDIA_VISIBLE_DEVICES=all is set.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-04 16:10:06 +02:00
Evan Lezar
df9732dae4
Merge pull request #369 from NVIDIA/dependabot/go_modules/main/github.com/opencontainers/runtime-spec-1.2.0
...
Bump github.com/opencontainers/runtime-spec from 1.1.0 to 1.2.0
2024-03-01 22:49:29 +02:00
Evan Lezar
e66cc6a7b1
Merge pull request #392 from elezar/fix-non-fork-image-builds
...
Allow finer control of pushing images
2024-03-01 22:49:01 +02:00
dependabot[bot]
8f5a9a1918
Bump github.com/opencontainers/runtime-spec from 1.1.0 to 1.2.0
...
Bumps [github.com/opencontainers/runtime-spec](https://github.com/opencontainers/runtime-spec ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/opencontainers/runtime-spec/releases )
- [Changelog](https://github.com/opencontainers/runtime-spec/blob/main/ChangeLog )
- [Commits](https://github.com/opencontainers/runtime-spec/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runtime-spec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-01 22:42:29 +02:00
Evan Lezar
6b9dee5b77
Allow finer control of pushing images
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-01 22:42:13 +02:00
Evan Lezar
50bbf32cf0
Add GOLANGCI_LINT_CACHE to docker make targets
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-01 22:27:06 +02:00
Evan Lezar
413c1264ce
Merge pull request #391 from elezar/add-lint-excludes-for-prestart
...
Add lint exclude for hooks.Prestart deprecation
2024-03-01 22:20:54 +02:00
Evan Lezar
c084756e48
Add lint exclude for hooks.Prestart deprecation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-01 22:18:27 +02:00
Evan Lezar
6265a2d89e
Merge pull request #389 from NVIDIA/dependabot/go_modules/main/github.com/stretchr/testify-1.9.0
...
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-03-01 22:16:05 +02:00
dependabot[bot]
72778ee536
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-01 15:45:26 +00:00
Evan Lezar
2f11a190bf
Merge pull request #388 from elezar/add-gh-pages-dependabot
...
Add dependabot for gh-pages branches
2024-03-01 17:05:02 +02:00
Evan Lezar
2d394f4624
Add dependabot for gh-pages branches
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-03-01 16:55:14 +02:00
Evan Lezar
ea55757bc3
Merge pull request #382 from elezar/remove-centos7-image
...
Remove centos7 container-toolkit image
2024-02-29 12:01:26 +02:00
Evan Lezar
2a620dc845
Merge pull request #387 from elezar/update-libnvidia-container
...
Update libnvidia-container
2024-02-29 12:00:34 +02:00
Evan Lezar
bad5369760
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-29 11:53:51 +02:00
Evan Lezar
2623e8a707
Allow finer control of pushing images
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-29 11:45:40 +02:00
Evan Lezar
05dd438489
Remove centos7 container-toolkit image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-28 15:45:09 +02:00
Evan Lezar
6780afbed1
Merge pull request #379 from NVIDIA/exists-fallback
...
[R550 driver support] add fallback logic to device.Exists(name)
2024-02-27 22:25:33 +02:00
Tariq Ibrahim
f80f4c485d
[R550 driver support] add fallback logic to device.Exists(name)
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-02-27 11:59:35 -08:00
Evan Lezar
ac63063362
Merge pull request #375 from klueska/add-imex-support
...
Add imex support
2024-02-27 13:24:07 +02:00
Kevin Klues
761a425e0d
Update reference to latest libnvidia-container
...
Signed-off-by: Kevin Klues <kklues@nvidia.com >
2024-02-27 10:17:32 +01:00
Kevin Klues
296d4560b0
Add support for an NVIDIA_IMEX_CHANNELS envvar
...
Signed-off-by: Kevin Klues <kklues@nvidia.com >
2024-02-26 20:09:43 +01:00
Evan Lezar
0409824106
Merge pull request #370 from elezar/remove-libnvidia-container0-dependency
...
Remove additional libnvidia-container0 dependency
2024-02-19 13:56:02 +01:00
Evan Lezar
562addc3c6
Remove additional libnvidia-container0 dependency
...
This change removes the additional libnvidia-container0=0.10.0+jetpack dependency
that was introduced for Tegra-based systems. These have since been migrated to
CDI-based direct injection using the NVIDIA Container Runtime.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-19 13:12:57 +01:00
Evan Lezar
ae82b2d9b6
Merge pull request #345 from elezar/allow-skip-of-device-nodes
...
Add --create-device-nodes option to toolkit config
2024-02-14 20:28:15 +01:00
Evan Lezar
355997d2d6
Merge pull request #314 from elezar/CNT-4032/mulitple-naming-strategies
...
Allow multiple naming strategies when generating CDI specification
2024-02-13 16:46:54 +01:00
Evan Lezar
b6efd3091d
Use index and uuid as default device-name-strategies
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-13 16:38:18 +01:00
Evan Lezar
52da12cf9a
Allow multiple device name strategies to be specified
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-13 16:38:05 +01:00
Evan Lezar
cd7d586afa
Also ignore CDI errors if required
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-13 12:37:41 +01:00
Evan Lezar
cc4c2783a3
Add --create-device-nodes option to toolkit config
...
This change adds a --create-device-nodes option to the toolkit config CLI.
Most noteably, this allows the creation of control devices to be skipped
when CDI spec generation is enabled.
Currently values of "", "node", and "control" are supported and can be set
via the command line flag or the CREATE_DEVICE_NODES environment variable.
The default value of CREATE_DEVICE_NODES=control will trigger the creation
of control device nodes. Setting this envvar to include the (comma-separated)
strings of "" or "none" will disable device node creation regardless of
whether other supported strings are included.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-13 12:37:41 +01:00
Evan Lezar
a8d48808d7
Merge pull request #354 from elezar/add-release-1.14-dependabot
...
Add dependabot for release-1.14
2024-02-12 17:34:38 +01:00
Evan Lezar
aa724f1ac6
Add dependabot for release-1.14
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-12 17:32:18 +01:00
Evan Lezar
519b9f3cc8
Merge pull request #353 from elezar/update-changelog
...
Update changelog for #330
2024-02-12 17:29:06 +01:00
Evan Lezar
6e1bc0d7fb
Update changelog for #330
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-12 17:28:40 +01:00
Evan Lezar
a2a1a78620
Merge pull request #330 from tariq1890/nvidia-dev-maj-num-lookup
...
add fallback logic when retrieving major number of the nvidia control device
2024-02-12 17:22:32 +01:00
Evan Lezar
ab7693ac9f
Merge pull request #347 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.15.0
...
Bump golang.org/x/mod from 0.14.0 to 0.15.0
2024-02-12 15:47:01 +01:00
dependabot[bot]
f4df5308d0
Bump golang.org/x/mod from 0.14.0 to 0.15.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/mod/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 13:35:09 +00:00
Evan Lezar
8dcc57c614
Merge pull request #348 from NVIDIA/dependabot/go_modules/main/github.com/sirupsen/logrus-1.9.3
...
Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
2024-02-12 14:35:07 +01:00
Evan Lezar
6594f06e9a
Merge pull request #349 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.17.0
...
Bump golang.org/x/sys from 0.16.0 to 0.17.0
2024-02-12 14:34:27 +01:00
Evan Lezar
8a706a97a0
Merge pull request #350 from NVIDIA/dependabot/github_actions/golangci/golangci-lint-action-4
...
Bump golangci/golangci-lint-action from 3 to 4
2024-02-12 14:33:43 +01:00
Evan Lezar
39f0bf21ce
Merge pull request #346 from elezar/consistent-driver-root
...
Specify DRIVER_ROOT consistently
2024-02-12 14:33:15 +01:00
dependabot[bot]
0915a12e38
Bump golangci/golangci-lint-action from 3 to 4
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-12 08:13:37 +00:00
dependabot[bot]
e6cd897cc4
Bump golang.org/x/sys from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-11 08:49:59 +00:00
dependabot[bot]
35600910e0
Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.0 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-11 08:49:55 +00:00
Evan Lezar
f89cef307d
Specify DRIVER_ROOT consistently
...
This change ensures that CLI tools that require the path to the
driver root accept both the NVIDIA_DRIVER_ROOT and DRIVER_ROOT
environment variables in addition to the --driver-root command
line argument.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-09 14:28:56 +01:00
Evan Lezar
e96edb3f36
Merge pull request #342 from elezar/add-spec-dirs-to-cdi-list
...
Add spec-dir flag to nvidia-ctk cdi list command
2024-02-09 14:17:45 +01:00
Evan Lezar
bab4ec30af
Improve error reporting for cdi list
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-08 14:58:48 +01:00
Evan Lezar
b6ab444529
Add spec-dirs argument to cdi list
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-08 14:50:14 +01:00
Evan Lezar
15d905def0
Merge pull request #309 from NVIDIA/dependabot/go_modules/main/github.com/urfave/cli/v2-2.27.1
...
Bump github.com/urfave/cli/v2 from 2.3.0 to 2.27.1
2024-02-07 11:01:46 +01:00
Evan Lezar
e64b723b71
Add proc.devices.New constructor
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-06 11:19:43 +01:00
Evan Lezar
f0545dd979
Merge pull request #333 from elezar/test-on-darwin
...
Fix build and tests targets on darwin
2024-02-06 10:16:04 +01:00
Tariq Ibrahim
f414ac2865
add fallback logic when retrieving major number of the nvidia control device
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-02-05 22:55:54 -08:00
Evan Lezar
772cf77dcc
Fix build and test on darwin
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-05 23:58:28 +01:00
dependabot[bot]
026055a0b7
Bump github.com/urfave/cli/v2 from 2.3.0 to 2.27.1
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.3.0 to 2.27.1.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.3.0...v2.27.1 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 15:04:18 +00:00
Evan Lezar
812e6a2402
Merge pull request #308 from NVIDIA/dependabot/go_modules/main/github.com/pelletier/go-toml-1.9.5
...
Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5
2024-02-05 16:03:36 +01:00
Evan Lezar
b56aebb26f
Merge pull request #310 from NVIDIA/dependabot/go_modules/main/golang.org/x/sys-0.16.0
...
Bump golang.org/x/sys from 0.7.0 to 0.16.0
2024-02-05 10:39:58 +01:00
dependabot[bot]
870903e03e
Bump golang.org/x/sys from 0.7.0 to 0.16.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.7.0 to 0.16.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 09:33:36 +00:00
dependabot[bot]
b233a8b6ba
Bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5
...
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.4...v1.9.5 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 09:32:35 +00:00
Evan Lezar
e96e1baed5
Merge pull request #336 from NVIDIA/dependabot/go_modules/main/github.com/fsnotify/fsnotify-1.7.0
...
Bump github.com/fsnotify/fsnotify from 1.5.4 to 1.7.0
2024-02-05 10:31:45 +01:00
dependabot[bot]
dce368e308
Bump github.com/fsnotify/fsnotify from 1.5.4 to 1.7.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.5.4 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-04 08:26:11 +00:00
Evan Lezar
15f609a52d
Merge pull request #332 from elezar/filter-actions
...
Enable a subset of package and image builds in PRs
2024-02-02 11:34:10 +01:00
Evan Lezar
0bf08085ce
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-02 09:21:54 +01:00
Evan Lezar
da68ad393c
Enable subset of image builds in PRs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-02 09:20:05 +01:00
Evan Lezar
2f3600af9a
Merge pull request #329 from elezar/migrate-libnvidia-container-to-github
...
Update libnvidia-container to github ref
2024-02-01 17:08:55 +01:00
Evan Lezar
0ff28aa21b
Update libnvidia-container to github ref
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-02-01 16:36:10 +01:00
Evan Lezar
b88ff4470c
Merge pull request #328 from NVIDIA/revert-323-sheckler/cuda-12.3.2
...
Revert "chore: Update CUDA base image to 12.3.2"
2024-02-01 16:28:59 +01:00
Evan Lezar
cfb1daee0a
Revert "chore: Update CUDA base image to 12.3.2"
2024-02-01 16:27:53 +01:00
Evan Lezar
e3ab55beed
Merge pull request #323 from heckler1/sheckler/cuda-12.3.2
...
chore: Update CUDA base image to 12.3.2
2024-02-01 14:02:33 +01:00
Evan Lezar
9530d9949f
Merge pull request #325 from elezar/remove-jenkinsfile
...
Remove unneeded Jenkinsfile
2024-02-01 08:41:41 +01:00
Evan Lezar
6b2cd487a6
Remove unneeded Jenkinsfile
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-31 22:05:01 +01:00
Stephen Heckler
e5ec408a5c
Release 1.15.0-rc4
...
Signed-off-by: Stephen Heckler <sheckler@cloudflare.com >
2024-01-31 13:49:31 -06:00
Stephen Heckler
301b666790
chore: Update CUDA base image to 12.3.2
...
Signed-off-by: Stephen Heckler <sheckler@cloudflare.com >
2024-01-31 13:48:05 -06:00
Evan Lezar
e99b519509
Merge pull request #321 from elezar/bump-libnvidia-container
...
Update libnvidia-container
2024-01-30 16:44:01 +01:00
Evan Lezar
d123273800
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-30 16:11:57 +01:00
Evan Lezar
07136d9ac4
Merge pull request #312 from NVIDIA/dependabot/go_modules/main/golang.org/x/mod-0.14.0
...
Bump golang.org/x/mod from 0.5.0 to 0.14.0
2024-01-30 16:04:48 +01:00
Evan Lezar
0ef06be477
Merge pull request #320 from elezar/remove-centos8-jobs
...
Remove centos8 jobs
2024-01-30 16:03:30 +01:00
Evan Lezar
5a70e75547
Use stable/rpm repo for release tests
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-30 12:40:57 +01:00
Evan Lezar
46b4cd7b03
Remove unused centos8 jobs
...
This change removes the centos8-x86_64 and centos8-aarch64 pipeline jobs.
These packages are no longer used since centos7 packages are used instead.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-30 12:40:16 +01:00
Evan Lezar
93e15bc641
Merge pull request #319 from elezar/bump-version-v1.15.0-rc.3
...
Bump version to v1.15.0-rc.3
2024-01-30 11:41:17 +01:00
Evan Lezar
07d1f48778
Bump version to v1.15.0-rc.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-30 11:18:17 +01:00
Carlos Eduardo Arango Gutierrez
21ed60bc46
Merge pull request #313 from elezar/fix-update-ldconfig
...
Fix bug in update-ldcache hook
2024-01-29 18:24:33 +01:00
dependabot[bot]
7abbd98ff0
Bump golang.org/x/mod from 0.5.0 to 0.14.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.5.0 to 0.14.0.
- [Commits](https://github.com/golang/mod/compare/v0.5.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-29 14:20:35 +00:00
Evan Lezar
862f071557
Fix bug in update-ldcache hook
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-29 15:20:21 +01:00
Carlos Eduardo Arango Gutierrez
73cd63e4e5
Merge pull request #307 from ArangoGutierrez/githubactions
...
Add GitHub Actions
2024-01-29 15:18:32 +01:00
Carlos Eduardo Arango Gutierrez
6857f538a6
Add github actions
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2024-01-29 14:32:02 +01:00
Carlos Eduardo Arango Gutierrez
195e3a22b4
Drop go checks from gitlab ci
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2024-01-28 18:23:20 +01:00
Carlos Eduardo Arango Gutierrez
88debb8e34
Use test-infra devel image
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2024-01-28 18:22:51 +01:00
Christopher Desiniotis
03cbf9c6cd
Merge branch 'CNT-4798/gdrcopy' into 'main'
...
Add a new gated modifier for GDRCopy which injects the gdrdrv device node
See merge request nvidia/container-toolkit/container-toolkit!530
2024-01-24 23:17:15 +00:00
Christopher Desiniotis
55097b3d7d
Add a new gated modifier for GDRCopy which injects the gdrdrv device node
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2024-01-24 14:25:58 -08:00
Evan Lezar
738ebd83d3
Merge branch 'fix-cdi-enable-docker' into 'main'
...
Fix --cdi.enabled for Docker
See merge request nvidia/container-toolkit/container-toolkit!541
2024-01-23 20:16:12 +00:00
Tariq Ibrahim
9c6dd94ac8
Merge branch 'disc-typos' into 'main'
...
fix minor typos and rm unused logger param
See merge request nvidia/container-toolkit/container-toolkit!540
2024-01-23 18:42:21 +00:00
Evan Lezar
f936f4c0bc
Add --cdi.enable as alias for --cdi.enabled
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-23 14:57:15 +01:00
Evan Lezar
ab598f004d
Fix --cdi.enabled for Docker
...
Instead of relying only on Experimental mode, the docker daemon
config requires that CDI is an opt-in feature.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-23 14:56:08 +01:00
Tariq Ibrahim
9c1f0bb08b
fix minor typos and rm unused logger param
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
2024-01-22 16:48:11 -08:00
Evan Lezar
b3519fadc4
Merge branch 'ldconfig-path' into 'main'
...
Allow for customizing the path to ldconfig and call ldconfig with explicit cache/config paths
See merge request nvidia/container-toolkit/container-toolkit!525
2024-01-22 12:36:51 +00:00
Jared Baur
d80657dd0a
Explicitly set ldconfig cache and config file
...
Since the `update-ldcache` hook uses the host's `ldconfig`, the default
cache and config files configured on the host will be used. If those
defaults differ from what nvidia-ctk expects it to be (/etc/ld.so.cache
and /etc/ld.so.conf, respectively), then the hook will fail. This change
makes the call to ldconfig explicit in which cache and config files are
being used.
Signed-off-by: Jared Baur <jaredbaur@fastmail.com >
2024-01-18 02:23:27 -08:00
Jared Baur
838493b8b9
Allow for customizing the path to ldconfig
...
Since the `createContainer` `runc` hook runs with the environment that
the container's config.json specifies, the path to `ldconfig` may not be
easily resolvable if the host environment differs enough from the
container (e.g. on a NixOS host where all binaries are under hashed
paths in /nix/store with an Ubuntu container whose PATH contains
FHS-style paths such as /bin and /usr/bin). This change allows for
specifying exactly where ldconfig comes from.
Signed-off-by: Jared Baur <jaredbaur@fastmail.com >
2024-01-17 21:07:00 -08:00
Evan Lezar
26a4eb327c
Merge branch 'add-crun-as-configured-runtime' into 'main'
...
Set default low-level runtimes to runc, crun
See merge request nvidia/container-toolkit/container-toolkit!536
2024-01-17 21:28:14 +00:00
Evan Lezar
f6c252cbde
Add crun as a default low-level runtime.
...
This change adds crun as a configured low-level runtime.
Note that runc still preferred and will be used if present on the
system.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-17 11:31:07 +01:00
Evan Lezar
11692a8499
Merge branch 'bump-cuda-12.3.1' into 'main'
...
Bump CUDA base image to 12.3.1
See merge request nvidia/container-toolkit/container-toolkit!535
2024-01-11 14:03:32 +00:00
Evan Lezar
ba3d80e8ea
Merge branch 'fix-user-group' into 'main'
...
Fix bug in determining CLI user on SUSE systems
See merge request nvidia/container-toolkit/container-toolkit!532
2024-01-11 13:19:25 +00:00
Evan Lezar
9c029cac72
Fix bug in determining CLI user on SUSE systems
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-11 13:54:40 +01:00
Evan Lezar
dd065fa69e
Bump CUDA base image to 12.3.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-11 10:35:54 +01:00
Evan Lezar
6f3d9307bb
Merge branch 'update-libnvidia-container' into 'main'
...
Update libnvidia-container to a4ef85eb
See merge request nvidia/container-toolkit/container-toolkit!533
2024-01-10 14:14:39 +00:00
Evan Lezar
72584cd863
Update libnvidia-container to a4ef85eb
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-10 14:29:03 +01:00
Evan Lezar
2a7bfcd36b
Merge branch 'fix-mid-device-nodes' into 'main'
...
Use devRoot to resolve MIG device nodes
See merge request nvidia/container-toolkit/container-toolkit!526
2024-01-09 14:58:19 +00:00
Evan Lezar
21fc1f24e4
Use devRoot to resolve MIG device nodes
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-09 15:40:17 +01:00
Evan Lezar
9396858834
Merge branch 'libnvdxgdmal' into 'main'
...
Add libnvdxgdmal library
See merge request nvidia/container-toolkit/container-toolkit!529
2024-01-09 14:37:08 +00:00
Jakub Bujak
79acd7acff
Add libnvdxgdmal library
...
This change adds the new libnvdxgdmal.so.1 library to the list of files copied from the DriverStore.
Signed-off-by: Jakub Bujak <jbujak@nvidia.com >
2024-01-09 15:29:55 +01:00
Evan Lezar
fab711ddf3
Merge branch 'remove-libseccomp-dependency' into 'main'
...
Remove libseccomp package dependency
See merge request nvidia/container-toolkit/container-toolkit!531
2024-01-09 09:44:23 +00:00
Evan Lezar
760cf93317
Remove libseccomp package dependency
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2024-01-09 10:02:06 +01:00
Evan Lezar
f4838dde9b
Merge branch 'log-requested-mode' into 'main'
...
Log explicitly requested runtime mode
See merge request nvidia/container-toolkit/container-toolkit!527
2024-01-08 11:42:42 +00:00
Evan Lezar
c90211e070
Log explicitly requested runtime mode
...
For users running the nvidia-container-runtime it would be useful
to determine the runtime mode used from the logs directly instead
of relying on other log messages as signals. This change ensures
that an explicitly selected mode is also logged instead of only
when mode=auto.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-12-15 15:35:35 +01:00
Evan Lezar
a2262d00cc
Merge branch 'tegra-chardev-discover' into 'main'
...
Use `devRoot` for discovering character devices on Tegra platforms
See merge request nvidia/container-toolkit/container-toolkit!524
2023-12-15 14:34:07 +00:00
Jared Baur
95b8ebc297
Use devRoot for discovering character devices on Tegra platforms
...
Signed-off-by: Jared Baur <jaredbaur@fastmail.com >
2023-12-14 11:46:21 -08:00
Evan Lezar
99b3050d20
Merge branch 'update-changelog' into 'main'
...
Update changelog
See merge request nvidia/container-toolkit/container-toolkit!523
2023-12-14 15:35:45 +00:00
Evan Lezar
883f7ec3d8
Update changelog
...
See merge request nvidia/container-toolkit/container-toolkit!522
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-12-14 13:47:38 +01:00
Evan Lezar
9dd324be9c
Merge branch 'tegra-dev-root' into 'main'
...
Fix using `devRoot` on Tegra platforms
See merge request nvidia/container-toolkit/container-toolkit!522
2023-12-14 09:46:05 +00:00
Jared Baur
508438a0c5
Fix using devRoot on Tegra platforms
...
Using `WithDevRoot` on Tegra platforms was incorrectly setting
`driverRoot`, fix it so that it correctly sets `devRoot`.
Signed-off-by: Jared Baur <jaredbaur@fastmail.com >
2023-12-13 19:56:02 -08:00
Christopher Desiniotis
9baed635d1
Merge branch 'CNT-4778/bump-gonvlib' into 'main'
...
Update to github.com/NVIDIA/go-nvlib@f3264c8a6a7a
See merge request nvidia/container-toolkit/container-toolkit!520
2023-12-13 18:11:59 +00:00
Christopher Desiniotis
895a5ed73a
Update to github.com/NVIDIA/go-nvlib@f3264c8a6a7a
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-13 10:08:14 -08:00
Christopher Desiniotis
2d7b126bc9
Merge branch 'CNT-4762/extend-runtime-cdi-device-names' into 'main'
...
Extend the 'runtime.nvidia.com/gpu' CDI device kind to support full-GPUs...
See merge request nvidia/container-toolkit/container-toolkit!514
2023-12-06 17:10:26 +00:00
Christopher Desiniotis
86d86395ea
Update changelog for the automatic CDI spec generation added for the 'runtime.nvidia.com/gpu' CDI kind
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-06 09:09:10 -08:00
Christopher Desiniotis
32c3bd1ded
Fallback to standard CDI modifier when creation of automatic CDI modifier fails
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-06 09:02:19 -08:00
Christopher Desiniotis
3158146946
Extend the 'runtime.nvidia.com/gpu' CDI device kind to support MIG devices specified by index or UUID
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-06 09:02:19 -08:00
Christopher Desiniotis
def7d09f85
Refactor how device identifiers are parsed before performing automatic CDI spec generation
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-06 09:02:19 -08:00
Christopher Desiniotis
b9ac54b922
Add GetDeviceSpecsByID() API to the nvcdi Interface
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-06 09:02:19 -08:00
Christopher Desiniotis
ae1b7e126c
Extend the 'runtime.nvidia.com/gpu' CDI device kind to support full-GPUs specified by index or UUID
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-06 09:02:19 -08:00
Evan Lezar
08ef3e7969
Merge branch 'bump-version-1.15.0-rc.2' into 'main'
...
Bump version to v1.15.0-rc.2
See merge request nvidia/container-toolkit/container-toolkit!519
2023-12-06 16:45:29 +00:00
Evan Lezar
ea977fb43e
Bump version to v1.15.0-rc.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-12-06 17:45:08 +01:00
Evan Lezar
7b47eee634
Merge branch 'CNT-4774/implement-set-for-crio' into 'main'
...
Implement Set() for the crio implementation of engine.Interface
See merge request nvidia/container-toolkit/container-toolkit!517
2023-12-05 09:30:42 +00:00
Christopher Desiniotis
d7a3d93024
Implement Set() for the crio implementation of engine.Interface
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-04 15:27:35 -08:00
Christopher Desiniotis
527248ef5b
Merge branch 'CNT-4764/cleanup-engine-interface' into 'main'
...
Refactor the engine.Interface such that the Set() API does not return an extraneous error
See merge request nvidia/container-toolkit/container-toolkit!515
2023-12-04 23:05:30 +00:00
Christopher Desiniotis
83ad09b179
Refactor the engine.Interface such that the Set() API does not return an extraneous error
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-12-01 15:59:34 -08:00
Evan Lezar
ffe7ed313a
Merge branch 'goimports-local' into 'main'
...
run goimports -local against the entire codebase
See merge request nvidia/container-toolkit/container-toolkit!512
2023-12-01 10:54:26 +00:00
Tariq Ibrahim
7627d48a5c
run goimports -local against the entire codebase
...
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-12-01 11:13:17 +01:00
Evan Lezar
5c78e2b7e6
Merge branch 'CNT-4659/transform-container-roots' into 'main'
...
Add transformer for container roots
See merge request nvidia/container-toolkit/container-toolkit!507
2023-12-01 09:38:39 +00:00
Evan Lezar
bc4e19aa48
Add --relative-to option to nvidia-ctk transform root
...
This change adds a --relative-to option to the nvidia-ctk transform root
command. This defaults to "host" maintaining the existing behaviour.
If --relative-to=container is specified, the root transform is applied to
container paths in the CDI specification instead of host paths.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-30 20:26:42 +01:00
Evan Lezar
879cc99aac
Add transformer for container roots
...
This change renames the root transformer to indicate that it
operates on host paths and adds a container root transformer for
explicitly transforming container roots.
The transform.NewRootTransformer constructor still exists, but has
been marked as deprecated.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-30 20:26:42 +01:00
Evan Lezar
aa72dcde97
Merge branch 'golangci-lint-on-darwin' into 'main'
...
Allow make check to run on non-linux platforms
See merge request nvidia/container-toolkit/container-toolkit!509
2023-11-27 13:51:08 +00:00
Evan Lezar
a545810981
Allow make check to run on non-linux platforms
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-27 14:10:34 +01:00
Evan Lezar
cff50aa5d6
Merge branch 'bump-version-1.15.0-rc.1' into 'main'
...
Bump version to v1.15.0-rc.1
See merge request nvidia/container-toolkit/container-toolkit!508
2023-11-27 13:06:31 +00:00
Evan Lezar
84d857b497
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-27 13:22:52 +01:00
Evan Lezar
7840e7d650
Bump version to v1.15.0-rc.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-27 11:49:54 +01:00
Evan Lezar
c014f72ffb
Merge branch 'fix-ldconfig-update' into 'main'
...
Fix incorrect ldconfig path
See merge request nvidia/container-toolkit/container-toolkit!505
2023-11-24 10:49:23 +00:00
Evan Lezar
893b3c1824
Fix incorrect ldconfig path
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-24 11:03:51 +01:00
Evan Lezar
097e203f1f
Merge branch 'fix-config-update-command' into 'main'
...
Switch to reflect package for config updates
See merge request nvidia/container-toolkit/container-toolkit!500
2023-11-23 12:35:09 +00:00
Evan Lezar
671d787a42
Switch to reflect package for config updates
...
This change switches to using the reflect package to determine
the type of config options instead of inferring the type from the
Toml data structure.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-23 10:29:38 +01:00
Evan Lezar
fcc9922133
Merge branch 'CNT-4761/enable-cdi-in-docker' into 'main'
...
Add option to nvidia-ctk to enable CDI in docker
See merge request nvidia/container-toolkit/container-toolkit!499
2023-11-23 09:16:33 +00:00
Christopher Desiniotis
64fb26b086
Add option to nvidia-ctk to enable CDI in docker
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-23 10:15:58 +01:00
Evan Lezar
16a4de1a2b
Merge branch 'CNT-4645/add-nvswitch-devices' into 'main'
...
Add support for NVIDIA_NVSWITCH envvar to inject nvidia-nvswitch device nodes
See merge request nvidia/container-toolkit/container-toolkit!502
2023-11-22 21:00:54 +00:00
Evan Lezar
efae501834
Add support for injecting NVSWITCH devices
...
This change adds support for an NVIDIA_NVSWITCH environment variable.
When set to `enabled` this striggers the injection of all available
/dev/nvidia-nvswitch* device nodes.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 21:59:39 +01:00
Evan Lezar
3045954cd9
Consolidate GDS and MOFED modifiers
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 21:59:17 +01:00
Evan Lezar
886c6b973e
Merge branch 'library-search-path-cdi-generate' into 'main'
...
Locate libnvidia-egl-gbm.so.*
See merge request nvidia/container-toolkit/container-toolkit!504
2023-11-22 20:58:55 +00:00
Evan Lezar
1ab3ef0af4
Locate libnvidia-egl-gbm.so.*
...
Searching for a pattern allows platforms where no `.so` symlink
exists to function as expected.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 21:57:36 +01:00
Evan Lezar
dd9b13cb58
Merge branch 'bump-changelog' into 'main'
...
Add missing changelog
See merge request nvidia/container-toolkit/container-toolkit!503
2023-11-22 20:46:09 +00:00
Evan Lezar
8a7a6e8a70
Add missing changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 20:51:12 +01:00
Evan Lezar
1909b1fe60
Merge branch 'library-search-path-cdi-generate' into 'main'
...
Allow search paths when locating libcuda.so
See merge request nvidia/container-toolkit/container-toolkit!462
2023-11-22 19:49:15 +00:00
Evan Lezar
881e440d22
Merge branch 'include-nvoptix' into 'main'
...
Update list of graphics mounts
See merge request nvidia/container-toolkit/container-toolkit!501
2023-11-22 19:47:52 +00:00
Evan Lezar
7d79b311d8
Include vulkan/icd.d/nvidia_layers.json
...
This change includes vulkan/icd.d/nvidia_layers.json in the list of
possible graphics mounts.
2023-11-22 13:54:12 +01:00
Evan Lezar
b46bc10c44
Include nvidia/nvoptix.bin in graphics mounts
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 13:53:59 +01:00
Evan Lezar
bbd9222206
Add driver root abstraction
...
This change adds a driver root abstraction that defines how
libraries are located relative to the root. This allows for
this driver root to be constructed once and passed to discovery
code.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 13:27:48 +01:00
Evan Lezar
f20ab793a2
Add support for specifying search paths
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-22 13:27:47 +01:00
Evan Lezar
e5391760e6
Remove duplicate not found error
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-21 18:09:42 +01:00
Evan Lezar
5505886655
Use options for NewLibraryLocator
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-21 18:08:53 +01:00
Evan Lezar
64f554ef41
Add builder for file locator
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-21 18:07:47 +01:00
Evan Lezar
fc8c5f82dc
Merge branch 'fix-ldconfig-resolution' into 'main'
...
Resolve LDConfig path
See merge request nvidia/container-toolkit/container-toolkit!490
2023-11-21 16:45:21 +00:00
Evan Lezar
d792e64f38
Resolve ldconfig path in update-ldcache hook
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-21 15:31:12 +01:00
Evan Lezar
232df647c1
Resolve LDConfig path passed to nvidia-container-cli
...
Instead of relying solely on a static config, we resolve the path
to ldconfig. The path is checked for existence and a .real suffix is preferred.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-21 15:31:12 +01:00
Evan Lezar
adc516fd59
Merge branch 'ctk-hook-chmod-improve-eperm-handling' into 'main'
...
nvidia-ctk hook chmod: Improve permission error handling
See merge request nvidia/container-toolkit/container-toolkit!496
2023-11-21 11:05:03 +00:00
Evan Lezar
039d7fd324
Merge branch 'remove-config-import-from-discover' into 'main'
...
Remove NewGraphicsDiscoverer API simplification
See merge request nvidia/container-toolkit/container-toolkit!498
2023-11-20 22:52:02 +00:00
Christopher Desiniotis
2768023ff5
Merge branch 'gen-cdi-spec-at-runtime' into 'main'
...
Automatically generate CDI spec for the runtime.nvidia.com/gpu=all device
See merge request nvidia/container-toolkit/container-toolkit!492
2023-11-20 22:15:05 +00:00
Evan Lezar
255181a5ff
Rename NewGraphicsDiscoverer as NewDRMNodesDiscoverer
...
This change renames NewGraphicsDiscoverer to NewDRMNodesDiscoverer and
instead calls NewGraphicsMountsDiscoverer explicitly when constructing
a graphics modifier.
This avoids the import of config.Config into the discover package
which leads to a transitive dependency on toml-specifics and
requires that the vendor/github.com/pelletier/ package
be vendored in to consumers.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 23:10:57 +01:00
Christopher Desiniotis
dc36ea76e8
Automatically generate CDI spec for the runtime.nvidia.com/gpu=all device
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-11-20 13:35:07 -08:00
Evan Lezar
e315d7d74b
Merge branch 'allow-separate-dev-root' into 'main'
...
Add devRoot option to CDI api
See merge request nvidia/container-toolkit/container-toolkit!497
2023-11-20 21:10:12 +00:00
Evan Lezar
b4c6832828
Add additional debug
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 21:29:35 +01:00
Evan Lezar
3a96a00362
Simplify meta device discovery
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 21:29:35 +01:00
Evan Lezar
00a712d018
Add --dev-root option to CDI spec generation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 21:29:35 +01:00
Evan Lezar
d4e21fdd10
Add devRoot option to CDI api
...
A driverRoot defines both the driver library root and the
root for device nodes. In the case of preinstalled drivers or
the driver container, these are equal, but in cases such as GKE
they do not match. In this case, drivers are extracted to a folder
and devices exist at the root /.
The changes here add a devRoot option to the nvcdi API that allows the
parent of /dev to be specified explicitly.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 21:29:35 +01:00
Ievgen Popovych
9085cb7dd5
nvidia-ctk hook chmod: Move file mode parsing into flag validation function
...
Signed-off-by: Ievgen Popovych <jmennius@gmail.com >
2023-11-20 14:49:29 +02:00
Evan Lezar
f6e3593a72
Merge branch 'update-go-nvlib' into 'main'
...
Update to github.com/NVIDIA/go-nvlib@9fd385bace0d2b8949cf60d9fcaab6169bde87ef
See merge request nvidia/container-toolkit/container-toolkit!495
2023-11-20 11:25:25 +00:00
Evan Lezar
f2ef7ee661
Update to github.com/NVIDIA/go-nvlib@9fd385bace0d2b8949cf60d9fcaab6169bde87ef
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 12:25:08 +01:00
Evan Lezar
27777f4dab
Merge branch 'bump-libnvidia-container' into 'main'
...
Update libnvidia-container
See merge request nvidia/container-toolkit/container-toolkit!494
2023-11-20 11:11:15 +00:00
Evan Lezar
34175f15d3
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-20 10:57:35 +01:00
Ievgen Popovych
eb35d9b30a
nvidia-ctk hook chmod: Ignore permission errors
...
In some cases we might get a permission error trying to chmod -
most likely this is due to something beyond our control
like whole `/dev` being mounted.
Do not fail container creation in this case.
Due to loosing control of the program after `exec()`-ing `chmod(1)` program
and therefore not being able to handle errors -
refactor to use `chmod(2)` syscall instead of `exec()` `chmod(1)` program.
Fixes : #143
Signed-off-by: Ievgen Popovych <jmennius@gmail.com >
2023-11-20 01:29:51 +02:00
Ievgen Popovych
f1d32f2cd3
nvidia-ctk hook chmod: Only chmod if desired permissions are different
...
This is to avoid any unnecessary potential errors (e.g. due to permissions).
Fixes : #143
Signed-off-by: Ievgen Popovych <jmennius@gmail.com >
2023-11-20 01:18:36 +02:00
Evan Lezar
ee713adf33
Merge branch 'fix-update-ldcache' into 'main'
...
Allow ldcache update in container to be skipped
See merge request nvidia/container-toolkit/container-toolkit!485
2023-11-18 11:37:56 +00:00
Christopher Desiniotis
33cb1b68df
Merge branch 'deduplicate-symlinks' into 'main'
...
Deduplicate symlinks
See merge request nvidia/container-toolkit/container-toolkit!493
2023-11-17 17:09:18 +00:00
Evan Lezar
6dc9ee3f33
Allow ldcache update in container to be skipped
...
This change skips the update of ld.cache in the container if it
doesn't exist. Instead, the -N flag is used to only create the
relevant symlinks.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-17 11:56:19 +01:00
Evan Lezar
e609e41a64
Allow multiple pattern matches for symlinks
...
Since we allow pattern inputs for locating symlinks we could have
multiples. The error being checked is resolved by the deduplication.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-17 10:43:52 +01:00
Evan Lezar
80ecd024ee
Add tests for library locator
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-17 10:43:52 +01:00
Evan Lezar
e8dbb216a5
Return empty ldcache if cache does not exist
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-17 10:14:03 +01:00
Christopher Desiniotis
f5d8d248b7
Deduplicate symlinks
...
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com >
2023-11-16 17:57:31 -08:00
Evan Lezar
5d7ee25b37
Merge branch 'migrate-go-nvlib' into 'main'
...
Use github.com/NVIDIA/go-nvlib imports
See merge request nvidia/container-toolkit/container-toolkit!491
2023-11-15 20:39:35 +00:00
Evan Lezar
2ff2d84283
Update vendoring
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-15 21:38:54 +01:00
Evan Lezar
c63fb35ba8
Use github.com/NVIDIA/go-nvlib imports
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-15 21:38:26 +01:00
Evan Lezar
da0755769f
Merge branch 'improve-library-lookup' into 'main'
...
Make CDI-based library discovery more robust
See merge request nvidia/container-toolkit/container-toolkit!488
2023-11-06 18:17:25 +00:00
Evan Lezar
04b28d116c
Make library lookups more robust
...
These changes make library lookups more robust. The core change is that
library lookups now first look a set of predefined locations before checking
the ldcache. This also handles cases where an ldcache is not available more
gracefully.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-06 12:15:28 -06:00
Evan Lezar
65b0b2b5e0
Merge branch 'make-graphics-optional' into 'main'
...
Make discovery of graphics libraries optional
See merge request nvidia/container-toolkit/container-toolkit!489
2023-11-03 21:22:47 +00:00
Evan Lezar
8d52cc18ce
Make discovery of graphics libraries optional
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-03 22:15:41 +01:00
Evan Lezar
c25376afa0
Merge branch 'update-cdi' into 'main'
...
Use tags.cncf.io for CDI imports
See merge request nvidia/container-toolkit/container-toolkit!487
2023-11-02 09:14:30 +00:00
Evan Lezar
7cc0c1f1cf
Run go mod tidy
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-01 12:42:07 +01:00
Evan Lezar
e56bb09889
Use tags.cncf.io for CDI imports
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-11-01 12:40:51 +01:00
Evan Lezar
c7a7083e64
Merge branch 'add-option-to-enable-cdi' into 'main'
...
Add cdi.enabled config option to nvidia-ctk runtime configure command
See merge request nvidia/container-toolkit/container-toolkit!486
2023-11-01 09:54:19 +00:00
Evan Lezar
61595aa0fa
Add cdi.enabled option to runtime configure
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-31 17:23:55 +01:00
Evan Lezar
b8b134f389
Ensure git works in container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-31 15:25:41 +01:00
Evan Lezar
c5a9ed6594
Merge branch 'support-cdi-mount-devices' into 'main'
...
Support CDI devices as mounts
See merge request nvidia/container-toolkit/container-toolkit!480
2023-10-27 20:04:46 +00:00
Evan Lezar
833254fa59
Support CDI devices as mounts
...
This change allows CDI devices to be requested as mounts in the
container. This enables their use in environments such as kind
where environment variables or annotations cannot be used.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-27 21:24:53 +02:00
Evan Lezar
1b1aae9c4a
Merge branch 'golangci-lint' into 'main'
...
Use golanglint-ci to check code in NVIDIA Container Toolkit
See merge request nvidia/container-toolkit/container-toolkit!474
2023-10-24 18:59:46 +00:00
Evan Lezar
acc50969dc
Fix ifElseChain lint errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
48d68e4eff
Add nolint for exec calls
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
709e27bf4b
Fix implicit memory aliasing in for loop
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
1b16b341dd
Fix default permissions
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
2e1f94aedf
Fix append assignments
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
2f48ab99c3
Address singleCaseSwitch errors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
f8870b31be
Fix filepath.Join with single arg
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
73857eb8e3
Fix unnecessary conversion
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:11:34 +02:00
Evan Lezar
dd2f218226
Use MustCompile for static regexp
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
8a9f367067
Check returned error values
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
e0df157f70
Remove unnecessary assignment to the blank identifier
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
f2c9937ca8
Use cdi parser package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
12dc12ce09
Fix misspellings
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
2fad708556
Address ioutil deprecation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
73749285d5
Remove unused loadSaver interface
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
49dbae5c32
Use .golangci config for toml.Delete issues
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
d8d56e18f9
Add nolint for dxcore
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
7f610d19ed
Add .golangci.yml config
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
3eca7dfd7b
Replace check targets with golangci-lint
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-24 20:00:24 +02:00
Evan Lezar
b02d5538b0
Merge branch 'update-container-runtime-readme' into 'main'
...
Update nvidia-container-runtime README
See merge request nvidia/container-toolkit/container-toolkit!484
2023-10-24 13:05:12 +00:00
Evan Lezar
ebff62f56b
Update nvidia-container-runtime README
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-23 13:35:19 +02:00
Evan Lezar
53b24618a5
Merge branch 'bump-cuda-version' into 'main'
...
Add missing changelog entry
See merge request nvidia/container-toolkit/container-toolkit!483
2023-10-19 11:22:22 +00:00
Evan Lezar
867151fe25
Bump version to v1.14.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-19 13:20:23 +02:00
Evan Lezar
82fc309c4e
Merge branch 'bump-cuda-version' into 'main'
...
Bump version to v1.14.3
See merge request nvidia/container-toolkit/container-toolkit!482
2023-10-19 09:32:30 +00:00
Evan Lezar
27521c0b5e
Bump CUDA base image version to 12.2.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-19 10:47:13 +02:00
Evan Lezar
e611d4403b
Bump version to v1.14.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-10-19 10:46:46 +02:00
Evan Lezar
807c87e057
Merge branch 'fix-symlink-discovery' into 'main'
...
Fix bug in creating symlinks in containers on Tegra-based systems
See merge request nvidia/container-toolkit/container-toolkit!479
2023-09-25 10:01:08 +00:00
Evan Lezar
f63ad3d9e7
Refactor symlink filter
...
This change refactors the use of the symlink filter to make it extendible.
A blocked filter can be set on the Tegra CSV discoverer to ensure that the correct
symlink libraries are filtered out. Here, globs can be used to select mulitple libraries,
and a **/ prefix on the globs indicates that the pattern that follows is only applied to
the filename of the symlink entry in the CSV file.
A --csv.ignore-pattern command line argument is added to the nvidia-ctk cdi generate
command that allows this to be set.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-22 22:04:06 +02:00
Evan Lezar
c4b4478d1a
Remove default symlink filter
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-22 22:02:51 +02:00
Evan Lezar
963250a58f
Refactor CSV discovery for testability
...
This change improves the testibility of the CSV discoverer.
This is done by adding injection points for mocks for library discovery and
symlink resolution.
Note that this highlights a bug in the current implementation where the
library filter causes valid symlinks to be skipped.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-22 22:02:30 +02:00
Evan Lezar
be570fce65
Bump version to 1.14.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-22 22:02:28 +02:00
Evan Lezar
6094effd58
Merge branch 'debug-no-cgroups' into 'main'
...
Update libnvidia-container
See merge request nvidia/container-toolkit/container-toolkit!478
2023-09-07 15:55:06 +00:00
Evan Lezar
7187608a36
Update libnvidia-container
2023-09-07 15:55:06 +00:00
Evan Lezar
a54d9d2118
Merge branch 'debug-no-cgroups' into 'main'
...
Update libnvidia-container
See merge request nvidia/container-toolkit/container-toolkit!477
2023-09-07 15:36:23 +00:00
Evan Lezar
56dd69ff1c
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-07 17:35:48 +02:00
Evan Lezar
89240cecae
Merge branch 'debug-no-cgroups' into 'main'
...
Add required option to new toml config
See merge request nvidia/container-toolkit/container-toolkit!476
2023-09-07 11:16:34 +00:00
Evan Lezar
4ec9bd751e
Add required option to new toml config
...
This change adds a "required" option to the new toml config
that controls whether a default config is returned or not.
This is useful from the NVIDIA Container Runtime Hook, where
/run/driver/nvidia/etc/nvidia-container-runtime/config.toml
is checked before the standard path.
This fixes a bug where the default config was always applied
when this config was not used.
See https://github.com/NVIDIA/nvidia-container-toolkit/issues/106
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-07 11:56:01 +02:00
Evan Lezar
d74f7fef4e
Update libnvidia-container to fix rpm builds
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-07 11:55:46 +02:00
Evan Lezar
538d4020df
Bump version to v1.14.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-09-06 17:51:52 +02:00
Evan Lezar
f2bd3173d4
Merge branch 'bump-version-v1.14.0' into 'main'
...
Bump verison to v1.14.0
See merge request nvidia/container-toolkit/container-toolkit!475
2023-08-29 14:45:37 +00:00
Evan Lezar
2bf8017516
Bump verison to v1.14.0
...
Note that v1.14.0-rc.3 was an internal-only release.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-29 16:03:41 +02:00
Evan Lezar
2a3afdd5d9
Merge branch 'fix-platform-detection' into 'main'
...
Add UsesNVGPUModule info function
See merge request nvidia/container-toolkit/container-toolkit!473
2023-08-28 15:58:41 +00:00
Evan Lezar
1dc028cdf2
Add UsesNVGPUModule info function
...
This change adds a UsesNVGPUModule function that checks whether the nvgpu
kernel module is used by NVML. This allows for more robust detection of
Tegra-based platforms where libnvidia-ml.so is supported to enumerate the
iGPU.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-25 11:24:34 +02:00
Evan Lezar
72c56567fe
Merge branch 'CNT-4496/remove/sys/devices/soc' into 'main'
...
Remove /sys/devices/soc0/family from CDI spec
See merge request nvidia/container-toolkit/container-toolkit!472
2023-08-25 08:26:15 +00:00
Evan Lezar
ca1055588d
Remove /sys/devices/soc0/family from CDI spec
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-25 10:25:33 +02:00
Evan Lezar
fca30d7acc
Merge branch 'fix-config-file' into 'main'
...
Properly create output for config file
See merge request nvidia/container-toolkit/container-toolkit!471
2023-08-23 08:55:58 +00:00
Evan Lezar
5bf2209fdb
Properly create output for config file
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-23 09:41:46 +02:00
Evan Lezar
f86a5abeb6
Merge branch 'CNT-4478/fix-unknown-devices' into 'main'
...
Update go-nvlib dependency to v0.0.0-20230818092907-09424fdc8884
See merge request nvidia/container-toolkit/container-toolkit!470
2023-08-21 09:05:58 +00:00
Evan Lezar
9ac313f551
Instantiate nvpci.Interface with logger
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-18 11:40:17 +02:00
Evan Lezar
546f810159
Update go-nvlib dependency to v0.0.0-20230818092907-09424fdc8884
...
This change updates go-nvlib to include logic to skip NVIDIA PCI-E
devices where the name or class id is not known.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-18 11:40:15 +02:00
Evan Lezar
7affdafcd3
Merge branch 'CNT-4286/set-nvidia-visible-devices-to-void' into 'main'
...
Set NVIDIA_VISIBLE_DEVICES=void in toolkit-container
See merge request nvidia/container-toolkit/container-toolkit!469
2023-08-15 10:36:09 +00:00
Evan Lezar
7221b6b24b
Set NVIDIA_VISIBLE_DEVICES=void in toolkit-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-15 11:52:56 +02:00
Tariq Ibrahim
f904ec41eb
Merge branch 'log-unresolved-devices' into 'main'
...
add a warning statement listing unresolved CDI devices
See merge request nvidia/container-toolkit/container-toolkit!461
2023-08-14 17:22:36 +00:00
Evan Lezar
e7ae0f183c
Merge branch 'rename-library-search-path' into 'main'
...
Add library-search-path option to cdi generate
See merge request nvidia/container-toolkit/container-toolkit!468
2023-08-14 13:49:26 +00:00
Evan Lezar
86df7c6696
Add library-search-path option to cdi generate
...
This change renames the csv.library-search-path option to
library-search-path so as to be more generally applicable in
future. Note that the option is still only applied in csv mode.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 15:04:33 +02:00
Evan Lezar
99923b57b8
Merge branch 'add-config-set-command' into 'main'
...
Allow config options to be set usign the nvidia-ctk config command
See merge request nvidia/container-toolkit/container-toolkit!464
2023-08-14 11:18:57 +00:00
Evan Lezar
4addb292b1
Extend nvidia-ctk config command to allow options to be set
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 11:33:26 +02:00
Evan Lezar
149a8d7bd8
Simplify nvidia-ctk config default command
...
This chagne simplifies the nvidia-ctk config default command.
By default it now outputs the default config to STDOUT, and can
optionally output this to file.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 11:32:54 +02:00
Evan Lezar
a69657dde7
Add config.Toml type to handle config files
...
This change introduced a config.Toml type that is used as the base for
config file processing and manipulation. This ensures that configs --
including commented values -- can be handled consistently.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 11:32:54 +02:00
Evan Lezar
c2d4de54b0
Add function to get config file path.
2023-08-14 11:32:54 +02:00
Evan Lezar
5216e89a70
Merge branch 'refactor-hook-configs' into 'main'
...
Migrate to internal/config.Config structs for the NVIDIA Container Runtime Hook config.
See merge request nvidia/container-toolkit/container-toolkit!463
2023-08-14 09:23:43 +00:00
Evan Lezar
96766aa719
Remove BurntSushi/toml go dependency
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 10:40:42 +02:00
Evan Lezar
3670e7b89e
Refactor loading of hook configs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 10:40:42 +02:00
Evan Lezar
b18ac09f77
Refactor handling of DriverCapabilities
...
This change consolidates the handling of NVIDIA_DRIVER_CAPABILITIES in the
interal/image package.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 10:40:42 +02:00
Evan Lezar
4dcaa61167
Use internal/config structs in hook
...
This change ensures that the Config structs from internal.Config
are used for the NVIDIA Container Runtime Hook config too.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 10:40:41 +02:00
Evan Lezar
8bf52e1dec
Export config.GetDefault function
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-14 10:35:33 +02:00
Evan Lezar
e4722e9642
Merge branch 'add-runtime-hook-config' into 'main'
...
Add support for creating oci hook to nvidia-ctk
See merge request nvidia/container-toolkit/container-toolkit!467
2023-08-14 08:33:56 +00:00
Evan Lezar
65f6f46846
Remove installation of oci-nvidia-hook files in RPM packages
...
This change removes installation of the oci-nvidia-hook files.
These files conflict with CDI use in runtimes that support it.
The use of the hook should be considered deprecated on these platforms.
If a hook is required, the
nvidia-ctk runtime configure --config-mode=oci-hook
command should be used to create the hook file(s).
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-11 16:34:58 +02:00
Evan Lezar
f6a4986c15
Add support for creating oci hook to nvidia-ctk
...
This change extends the nvidia-ctk runtime configure command
with a --config-mode=oci-hook that creates an OCI hook json file.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-11 16:34:58 +02:00
Tariq Ibrahim
6d3b29f3ca
add a warning statement listing unresolved CDI devices
2023-08-10 08:38:33 -07:00
Evan Lezar
30c0848487
Merge branch 'fix-libnvidia-container0-url' into 'main'
...
Use stable repo URL directly
See merge request nvidia/container-toolkit/container-toolkit!465
2023-08-10 14:31:06 +00:00
Evan Lezar
ee1b0c3e4f
Use stable repo URL directly
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-10 16:30:25 +02:00
Evan Lezar
37ac294a11
Merge branch 'add-deb-and-rpm-repos' into 'main'
...
Publish generic deb and rpm repos.
See merge request nvidia/container-toolkit/container-toolkit!460
2023-08-10 13:35:12 +00:00
Evan Lezar
0d862efa9c
Publish generic deb and rpm repos.
...
This change ensures that the centos7 and ubuntu18.04 packages are
published to the generic rpm and deb repos, respectively.
All other packages except the centos8-ppc64le packages are skipped
as these use cases are covered by the generic packages.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-09 17:54:41 +02:00
Evan Lezar
22d7b52a58
Merge branch 'set-libnvidia-container-version' into 'main'
...
Set libnvidia-container version to toolkit version
See merge request nvidia/container-toolkit/container-toolkit!459
2023-08-09 12:10:36 +00:00
Evan Lezar
9f1c9b2a31
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-09 13:24:48 +02:00
Evan Lezar
0483eebc7b
Set libnvidia-container version to toolkit version
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-09 13:24:08 +02:00
Evan Lezar
54aacb4245
Merge branch 'list-shows-errors' into 'main'
...
Log registry refresh errors in cdi list
See merge request nvidia/container-toolkit/container-toolkit!458
2023-08-08 15:26:42 +00:00
Evan Lezar
5cb367e771
Merge branch 'sort-cdi-entities' into 'main'
...
Sort CDI entities in generated CDI specifications
See merge request nvidia/container-toolkit/container-toolkit!457
2023-08-08 14:11:17 +00:00
Evan Lezar
feb069a2e9
Log registry refresh errors in cdi list
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-08 16:00:36 +02:00
Evan Lezar
cbdbcd87ff
Add sorter to simplifying transformer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-08 15:27:04 +02:00
Evan Lezar
7a4d2cff67
Add merged CDI spec transformer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-08 14:45:31 +02:00
Evan Lezar
5638f47cb0
Add sort CDI spec transoformer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-08 14:45:31 +02:00
Evan Lezar
4c513d536b
Merge branch 'improve-csv-cdi-spec-generation' into 'main'
...
Rework CSV file support to enable more robust CDI spec generation
See merge request nvidia/container-toolkit/container-toolkit!447
2023-08-04 16:40:15 +00:00
Evan Lezar
8553fce68a
Specify library search paths for CSV CDI spec generation
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 16:49:30 +02:00
Evan Lezar
03a4e2f8a9
Skip symlinks to libraries
...
In order to properly handle systems with both iGPU and dGPU
drivers included, we skip "sym" mount specifications which
refer to .so or .so.[1-9] files.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 16:49:30 +02:00
Evan Lezar
918bd03488
Move tegra-specifics to new package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 16:49:30 +02:00
Evan Lezar
01a7f7bb8e
Explicitly generate CDI spec for CSV mode
...
This change explicitly generates a CDI specification from
the supplied CSV files when cdi mode is detected. This
ensures consistency between the behaviour on Tegra-based
systems.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 16:49:30 +02:00
Evan Lezar
6b48cbd1dc
Move CDI modifier to separate package
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 16:49:30 +02:00
Evan Lezar
64a0a67eb4
Merge branch 'bump-version' into 'main'
...
Bump version to 1.14.0-rc.3
See merge request nvidia/container-toolkit/container-toolkit!456
2023-08-04 14:16:56 +00:00
Evan Lezar
93d9e18f04
Update libnvidia-container to 1.14.0~rc.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 15:17:00 +02:00
Evan Lezar
7c2c42b8da
Bump version to 1.14.0-rc.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-08-04 15:12:29 +02:00
Evan Lezar
e4fee325cb
Merge branch 'fix-hook' into 'main'
...
Handle empty root in config
See merge request nvidia/container-toolkit/container-toolkit!454
2023-07-19 12:45:49 +00:00
Evan Lezar
ec63533eb1
Ensure default config comments are consistent
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-19 14:37:49 +02:00
Evan Lezar
e51621aa7f
Handle empty root in config
...
If the config.toml has an empty root specified, this could be
passed to the NVIDIA Container CLI through the --root flag
which causes argument parsing to fail. This change only
adds the --root flag if the config option is specified
and is non-empty.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-19 14:02:23 +02:00
Evan Lezar
80a78e60d1
Merge branch 'device-namer' into 'main'
...
Refactor device namer
See merge request nvidia/container-toolkit/container-toolkit!453
2023-07-18 14:16:01 +00:00
Evan Lezar
9f46c34587
Support device name strategies for Tegra devices
...
This change generates CDI specifications for Tegra devices
with the nvidia.com/gpu=0 name by default. The type-index
nameing strategy is also supported and will generate a device
with the name nvidia.com/gpu=gpu0.
The uuid naming strategy will raise an error if selected.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 16:13:38 +02:00
Evan Lezar
f07a0585fc
Refactor device namer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 16:13:37 +02:00
Evan Lezar
32ec10485e
Merge branch 'lookup-functional-options' into 'main'
...
Use functional options when creating Symlink and Directory locators
See merge request nvidia/container-toolkit/container-toolkit!452
2023-07-18 13:39:23 +00:00
Evan Lezar
ce7d5f7a51
Use functional options when constructing direcory locator
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:36:03 +02:00
Evan Lezar
9b64d74f6a
Use functional options when constructing Symlink locator
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:31:15 +02:00
Evan Lezar
99cc0aebd6
Merge branch 'pass-image-to-csv-constructor' into 'main'
...
Pass image when constructing CSV modifier
See merge request nvidia/container-toolkit/container-toolkit!451
2023-07-18 13:30:53 +00:00
Evan Lezar
cca343abb0
Pass image when constructing CSV modifier
...
Since the incoming OCI spec has already been parsed and used to
construct a CUDA image representation, pass this to the CSV
modifier constructor instead of re-creating an image representation.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:27:16 +02:00
Evan Lezar
f08e48e700
Merge branch 'set-cdi-spec-dirs-in-config' into 'main'
...
Set default spec dirs at config level
See merge request nvidia/container-toolkit/container-toolkit!450
2023-07-18 13:25:29 +00:00
Evan Lezar
e2f8d2a15f
Set default spec dirs at config level
...
This change sets the default CDI spec dirs at a config level instead
of when a CDI runtime modifier is constructed. This makes this setting
consistent with other options such as the nvidia-ctk path.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:23:09 +02:00
Evan Lezar
2c5761d32e
Merge branch 'bug-fixes' into 'main'
...
Minor fixes and cleanups
See merge request nvidia/container-toolkit/container-toolkit!449
2023-07-18 13:20:46 +00:00
Evan Lezar
3c9d95c62f
Fix usage string in CLI
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:20:24 +02:00
Evan Lezar
481000b4ce
Remove unused argument
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:20:24 +02:00
Evan Lezar
b2126722e5
Update vendoring
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:16:25 +02:00
Evan Lezar
083b789102
Use cdi parser package for IsQualiedName
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-18 15:16:25 +02:00
Evan Lezar
a564b38b7e
Merge branch 'remove-centos7-aarch64-scan' into 'main'
...
Remove centos7-arm64 scan
See merge request nvidia/container-toolkit/container-toolkit!445
2023-07-17 14:29:17 +00:00
Evan Lezar
5427249cfc
Remove centos7-arm64 scan
...
Since we don't publish a centos7-arm64 image, the scan does not
make sense.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-17 16:28:31 +02:00
Evan Lezar
032982ab9c
Merge branch 'bump-dependencies' into 'main'
...
Bump dependencies
See merge request nvidia/container-toolkit/container-toolkit!444
2023-07-17 14:13:12 +00:00
Evan Lezar
96aeb9bf64
Update container-device-interface to v0.6.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-17 14:12:06 +02:00
Evan Lezar
c98f6ea395
Update containerized docker files for golang 1.20.5
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-17 14:10:05 +02:00
Evan Lezar
073f9cf120
Bump golang version to 1.20.5
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-17 14:06:48 +02:00
Evan Lezar
1fdd0c1248
Merge branch 'bump-changelog' into 'main'
...
Fix changelog for 1.14.0-rc.2
See merge request nvidia/container-toolkit/container-toolkit!443
2023-07-17 12:04:39 +00:00
Evan Lezar
a883c65dd6
Fix changelog for 1.14.0-rc.2
2023-07-17 12:04:38 +00:00
Evan Lezar
aac39f89cc
Merge branch 'update-libnvidia-container' into 'main'
...
Include Shared Compiler Library (libnvidia-gpucomp.so) in the list of compute libaries.
See merge request nvidia/container-toolkit/container-toolkit!442
2023-07-13 12:57:40 +00:00
Evan Lezar
e25576d26d
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-13 14:15:33 +02:00
Evan Lezar
3626a13273
Merge branch 'fix-disable-require' into 'main'
...
Return empty requirements if NVIDIA_DISABLE_REQUIRE is true
See merge request nvidia/container-toolkit/container-toolkit!438
2023-07-11 11:48:35 +00:00
Evan Lezar
6750ce1667
Print invalid version on parse error
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-11 13:47:39 +02:00
Evan Lezar
1081cecea9
Return empty requirements if NVIDIA_DISABLE_REQUIRE is true
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-11 13:47:37 +02:00
Evan Lezar
7451e6eb75
Merge branch 'custom-firmware-paths' into 'main'
...
Add firmware search paths when generating CDI specifications
See merge request nvidia/container-toolkit/container-toolkit!439
2023-07-11 09:16:33 +00:00
Evan Lezar
81908c8cc9
Search custom firmware paths first
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-11 10:34:14 +02:00
Evan Lezar
d3d41a3e1d
Simplify handling of custom firmware path
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-11 10:31:50 +02:00
Evan Lezar
0a37f8798a
Add firmware search paths when generating CDI specifications
...
Path to locate the GSP firmware is explicitly set to /lib/firmware/nvidia.
Users may chose to install the GSP firmware in alternate locations where
the kernel would look for firmware on the root filesystem.
Add locate functionality which looks for the GSP firmware files in the
same location as the kernel would
(https://docs.kernel.org/driver-api/firmware/fw_search_path.html ).
The paths searched in order are:
- path described in /sys/module/firmware_class/parameters/path
- /lib/firmware/updates/UTS_RELEASE/
- /lib/firmware/updates/
- /lib/firmware/UTS_RELEASE/
- /lib/firmware/
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-11 10:31:50 +02:00
Evan Lezar
4f89b60ab9
Merge branch 'remove-experimental-runtime' into 'main'
...
Remove NVIDIA experimental runtime from toolkit container
See merge request nvidia/container-toolkit/container-toolkit!238
2023-07-10 10:25:55 +00:00
Evan Lezar
0938576618
Remove NVIDIA experimental runtime from toolkit container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-10 11:44:55 +02:00
Evan Lezar
4ca8d4173a
Merge branch 'revert-d5cbe48d' into 'main'
...
Revert "Merge branch 'bump-golang-1.20.5' into 'main'"
See merge request nvidia/container-toolkit/container-toolkit!437
2023-07-05 15:12:01 +00:00
Evan Lezar
978549dc58
Revert "Merge branch 'bump-golang-1.20.5' into 'main'"
...
This reverts merge request !436
2023-07-05 15:11:41 +00:00
Evan Lezar
d5cbe48d59
Merge branch 'bump-golang-1.20.5' into 'main'
...
Bump golang version to 1.20.5
See merge request nvidia/container-toolkit/container-toolkit!436
2023-07-05 14:07:58 +00:00
Evan Lezar
e8ec795883
Bump golang version to 1.20.5
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-05 16:07:41 +02:00
Evan Lezar
62bc6b211f
Merge branch 'bump-cuda-12.2.0' into 'main'
...
Bump cuda base image to 12.2.0
See merge request nvidia/container-toolkit/container-toolkit!435
2023-07-05 10:11:27 +00:00
Evan Lezar
6fac6c237b
Bump cuda base image to 12.2.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-05 11:28:32 +02:00
Evan Lezar
20ff4e2fb9
Merge branch 'generate-default-config-post-install' into 'main'
...
Ensure that default config is created on the file system as a post-install step
See merge request nvidia/container-toolkit/container-toolkit!431
2023-07-05 09:27:29 +00:00
Evan Lezar
f78d3a858f
Rework default config generation to not use toml
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-05 11:26:55 +02:00
Evan Lezar
bc6ca7ff88
Generate default config post-install
...
The debian and rpm packages are updated to trigger the generation of
of a default config if no config exists at the expected location.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-05 11:26:53 +02:00
Evan Lezar
65ae6f1dab
Fix generation of default config
...
This change ensures that the nvidia-ctk config default command
generates a config file that is compatible with the official documentation
to, for example, disable cgroups in the NVIDIA Container CLI.
This requires that whitespace around comments is stripped before outputing the
contets.
This also adds an option to load a config and modify it in-place instead. This can
be triggered as a post-install step, for example.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-05 11:26:04 +02:00
Evan Lezar
ba24338122
Add quiet mode to nvidia-ctk cli
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-05 11:26:04 +02:00
Evan Lezar
2299c9588d
Merge branch 'create-config-folders' into 'main'
...
Ensure that folders exist when creating config files
See merge request nvidia/container-toolkit/container-toolkit!433
2023-07-05 09:25:28 +00:00
Evan Lezar
ba80d0318f
Merge branch 'rpm-fix-missing-coreutils-during-install' into 'main'
...
RPM spec: Avoid scriptlet failure during initial system installation
See merge request nvidia/container-toolkit/container-toolkit!432
2023-07-05 08:43:26 +00:00
Evan Lezar
6342dae0e9
Ensure that parent directories exist for config files
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-03 15:30:31 +02:00
Evan Lezar
baf94181aa
Add engine.Config to encapsulate writing
...
This change adds an engine.Config type to encapsulate the writing
of config files for container engines.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-07-03 15:26:47 +02:00
Evan Lezar
bbe9742c46
Merge branch 'switch-to-latest-dind' into 'main'
...
Switch to latest dind image for tests
See merge request nvidia/container-toolkit/container-toolkit!430
2023-06-30 09:46:49 +00:00
Evan Lezar
1447ef3818
Switch to latest dind image for tests
...
The stable-dind image is out of date and has not been updated for 3 years.
This change updates to the latest dind image.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-30 11:03:07 +02:00
Claudius Volz
5598dbf9d7
RPM spec: Only run fixup code if the package is being upgraded, to avoid a scenario where the coreutils (mkdir, cp) are not available yet during a fresh system installation.
...
Signed-off-by: Claudius Volz <c.volz@gmx.de >
2023-06-29 00:23:24 +02:00
Evan Lezar
8967e851c4
Merge branch 'fix-multiple-driver-roots-wsl' into 'main'
...
Fix bug with multiple driver store paths
See merge request nvidia/container-toolkit/container-toolkit!425
2023-06-27 14:15:38 +00:00
Evan Lezar
15378f6ced
Merge branch 'fix-ordering-of-envvars' into 'main'
...
Ensure common envvars have higher precedence
See merge request nvidia/container-toolkit/container-toolkit!426
2023-06-27 13:26:34 +00:00
Evan Lezar
4d2e8d1913
Ensure common envvars have higher precedence
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-27 14:45:15 +02:00
Evan Lezar
4feaee0fe6
Merge branch 'bump-version' into 'main'
...
Bump version to v1.14.0-rc.2
See merge request nvidia/container-toolkit/container-toolkit!427
2023-06-27 12:38:05 +00:00
Evan Lezar
51984d49cf
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-27 14:37:26 +02:00
Evan Lezar
a6a8bb940c
Bump version to v1.14.0-rc.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-27 14:02:59 +02:00
Evan Lezar
6265e34afb
Fix bug with multiple driver store paths
...
This change uses the actual discovered path of nvidia-smi when
creating a symlink to the binary on WSL2 platforms.
This ensures that cases where multiple driver store paths are
detected are supported.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-26 21:37:14 +02:00
Evan Lezar
d08a2394b3
Merge branch 'fix-package-archive-script' into 'main'
...
Fix package archive script
See merge request nvidia/container-toolkit/container-toolkit!424
2023-06-26 11:46:26 +00:00
Evan Lezar
c0f1263d78
Fix package archive script
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-26 13:46:08 +02:00
Evan Lezar
a25b1c1048
Merge branch 'fix-load-kernel-modules' into 'main'
...
Split internal system package
See merge request nvidia/container-toolkit/container-toolkit!420
2023-06-26 08:30:51 +00:00
Evan Lezar
99859e461d
Merge branch 'import-wrapper-and-runtime' into 'main'
...
Import NVIDIA Docker and NVIDIA Container Runtime to in-tree folders
See merge request nvidia/container-toolkit/container-toolkit!418
2023-06-21 12:33:05 +00:00
Evan Lezar
d52dbeaa7a
Split internal system package
...
This changes splits the functionality in the internal system package
into two packages: one for dealing with devices and one for dealing
with kernel modules. This removes ambiguity around the meaning of
driver / device roots in each case.
In each case, a root can be specified where device nodes are created
or kernel modules loaded.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-15 09:01:13 +02:00
Evan Lezar
c11c7695cb
Merge branch 'update-go-nvlib' into 'main'
...
Update go-nvlib with new constructor API
See merge request nvidia/container-toolkit/container-toolkit!422
2023-06-14 22:50:12 +00:00
Evan Lezar
c4d3b13ae2
Update go-nvlib with new constructor
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-14 17:55:33 +02:00
Evan Lezar
bcf3a70174
Update vendoring
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-14 17:55:18 +02:00
Evan Lezar
743d290577
Merge branch 'CNT-4301/resolve-auto-to-cdi' into 'main'
...
Resolve auto mode to cdi if all devices are cdi devices
See merge request nvidia/container-toolkit/container-toolkit!421
2023-06-13 14:48:32 +00:00
Evan Lezar
82347eb9bc
Resolve auto mode as cdi for fully-qualified names
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-13 16:05:37 +02:00
Evan Lezar
84c7bf8b18
Minor refactor of mode resolver
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-13 16:04:03 +02:00
Evan Lezar
d92300506c
Construct CUDA image object once
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-13 10:36:02 +02:00
Evan Lezar
2da32970b9
Merge branch 'refactor-logger' into 'main'
...
Refactor Logging
See merge request nvidia/container-toolkit/container-toolkit!416
2023-06-12 08:59:41 +00:00
Evan Lezar
1d0a733487
Replace logger.Warn(f) with logger.Warning(f)
...
This aligns better with klog used in other projects.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-12 10:48:04 +02:00
Evan Lezar
9464953924
Use logger.Interface when resolving auto mode
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-12 10:46:11 +02:00
Evan Lezar
c9b05d8fed
Use logger Interface in runtime configuration
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-12 10:46:11 +02:00
Evan Lezar
a02bc27c3e
Define a basic logger interface
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-12 10:46:10 +02:00
Carlos Eduardo Arango Gutierrez
6a04e97bca
Merge branch 'use-same-envvars-for-runtime-config' into 'main'
...
Allow same envars for all runtime configs
See merge request nvidia/container-toolkit/container-toolkit!357
2023-06-12 08:32:34 +00:00
Evan Lezar
0780621024
Ensure runtime dir is set for crio cleanup
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-11 12:46:08 +02:00
Evan Lezar
2bc0f45a52
Remove unused constants and variables
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-11 11:38:22 +02:00
Evan Lezar
178eb5c5a8
Rework restart logic
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-10 12:41:53 +02:00
Evan Lezar
761fc29567
Add version info to config CLIs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-09 18:49:17 +02:00
Evan Lezar
9f5c82420a
Refactor toolking to setup and cleanup configs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-09 18:49:15 +02:00
Evan Lezar
23041be511
Add runtimeDir as argument
...
Thsi change adds the --nvidia-runtime-dir as a command line
argument when configuring container runtimes in the toolkit container.
This removes the need to set it via the command line.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-09 18:48:34 +02:00
Evan Lezar
dcbf4b4f2a
Allow same envars for all runtime configs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-09 18:46:34 +02:00
Evan Lezar
652345bc4d
Add nvidia-container-runtime as folder
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-07 13:17:48 +02:00
Evan Lezar
69a1a9ef7a
Add nvidia-docker as folder
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-07 13:15:23 +02:00
Evan Lezar
2464181d2b
Remove runtime and wrapper submodules
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-07 13:09:18 +02:00
Evan Lezar
c3c1d19a5c
Merge branch 'bump-libnvidia-container' into 'main'
...
Update libnvidia-container
See merge request nvidia/container-toolkit/container-toolkit!415
2023-06-06 19:22:43 +00:00
Evan Lezar
75f288a6e4
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-06 21:22:25 +02:00
Evan Lezar
94259baea1
Merge branch 'CNT-4302/cdi-only' into 'main'
...
Skip additional modifications in CDI mode
See merge request nvidia/container-toolkit/container-toolkit!413
2023-06-06 18:29:59 +00:00
Evan Lezar
9e8ff003b6
Merge branch 'bump-libnvidia-container' into 'main'
...
Bump libnvidia container
See merge request nvidia/container-toolkit/container-toolkit!414
2023-06-06 15:29:35 +00:00
Evan Lezar
3dee9d9a4c
Support OpenSSL 3 with the Encrypt/Decrypt library
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-06 16:47:21 +02:00
Evan Lezar
3f03a71afd
Skip additional modifications in CDI mode
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-05 15:01:58 +02:00
Evan Lezar
093e93cfbf
Merge branch 'bump-cuda-base-image' into 'main'
...
Bump CUDA baseimage version to 12.1.1
See merge request nvidia/container-toolkit/container-toolkit!412
2023-06-01 12:42:48 +00:00
Evan Lezar
78f619b1e7
Bump CUDA baseimage version to 12.1.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-06-01 14:42:30 +02:00
Evan Lezar
43c44a0f48
Merge branch 'treat-log-errors-as-non-fatal' into 'main'
...
Ignore errors when creating debug log file
See merge request nvidia/container-toolkit/container-toolkit!404
2023-06-01 07:44:56 +00:00
Evan Lezar
6b1e8171c8
Merge branch 'add-mod-probe' into 'main'
...
Add option to load NVIDIA kernel modules
See merge request nvidia/container-toolkit/container-toolkit!409
2023-05-31 18:14:45 +00:00
Evan Lezar
2e50b3da7c
Merge branch 'ldcache-resolve-circular' into 'main'
...
Fix infinite recursion when resolving libraries in LDCache
Closes #13
See merge request nvidia/container-toolkit/container-toolkit!406
2023-05-31 17:35:27 +00:00
Evan Lezar
eca13e72bf
Update CHANGELOG
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-31 19:33:31 +02:00
Evan Lezar
b64ba6ac2d
Add option to create device nodes
...
This change adds a --create-device-nodes option to the
nvidia-ctk system create-dev-char-symlinks command to create
device nodes. The currently only creates control device nodes.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-31 19:31:38 +02:00
Evan Lezar
7b801a0ce0
Add option to load NVIDIA kernel modules
...
These changes add a --load-kernel-modules option to the
nvidia-ctk system commands. If specified the NVIDIA kernel modules
(nvidia, nvidia-uvm, and nvidia-modeset) are loaded before any
operations on device nodes are performed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-31 19:31:38 +02:00
Evan Lezar
528cbbb636
Merge branch 'fix-device-symlinks' into 'main'
...
Fix creation of device symlinks in /dev/char
See merge request nvidia/container-toolkit/container-toolkit!399
2023-05-31 17:31:04 +00:00
Evan Lezar
fd48233c13
Merge branch 'fix-ubi-pipeline-dependency' into 'main'
...
Fix ui8 image job dependencies
See merge request nvidia/container-toolkit/container-toolkit!411
2023-05-31 16:39:10 +00:00
Evan Lezar
b72764af5a
Fix ui8 image job dependencies
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-31 17:54:41 +02:00
Evan Lezar
7e7c45fb0f
Merge branch 'switch-to-centos7' into 'main'
...
Use centos7 packages instead of centos8 packages
See merge request nvidia/container-toolkit/container-toolkit!410
2023-05-31 15:17:08 +00:00
Evan Lezar
61f515b3dd
Use centos7 packages in kitmaker archives
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-31 16:28:54 +02:00
Evan Lezar
e05686cbe8
Use centos7 packages for ubi8 image
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-31 16:26:43 +02:00
Carlos Eduardo Arango Gutierrez
1fc8ae32bd
Merge branch 'rorajani-rename-ci' into 'main'
...
Rename blossom ci file
See merge request nvidia/container-toolkit/container-toolkit!408
2023-05-30 11:41:33 +00:00
rorajani
e80d43f4c4
Rename blossom ci file
...
Signed-off-by: rorajani <rorajani@nvidia.com >
2023-05-30 16:56:32 +05:30
Evan Lezar
a6b0f45d2c
Fix infinite recursion when resolving ldcache
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-30 11:03:36 +02:00
Evan Lezar
39263ea365
Add command to print ldcache
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-30 11:02:33 +02:00
Evan Lezar
9ea214d0b3
Correct typo in info command
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-30 10:58:30 +02:00
Evan Lezar
5371ff039b
Merge branch 'CNT-4285/add-runtime-hook-path' into 'main'
...
Add nvidia-contianer-runtime-hook.path config option
See merge request nvidia/container-toolkit/container-toolkit!401
2023-05-26 08:29:52 +00:00
Evan Lezar
315f4adb8f
Check for required device majors
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-26 10:24:36 +02:00
Evan Lezar
05632c0a40
Treat missing nvidia device majors as an error
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-26 10:24:36 +02:00
Evan Lezar
8df4a98d7b
Merge branch 'pre-sanity-check' into 'main'
...
Add pre sanity check for gothub repo
See merge request nvidia/container-toolkit/container-toolkit!396
2023-05-25 14:35:43 +00:00
Evan Lezar
02656b624d
Create log directory if required
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-25 15:17:00 +02:00
Evan Lezar
61af2aee8e
Ignore errors when creating debug log file
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-25 14:44:00 +02:00
Evan Lezar
ddebd69128
Use installed hook path in toolkit container
...
This change uses the installed NVIDIA Container Runtime Hook wrapper
as the path in the applied config. This prevents conflicts with other
installations of the NVIDIA Container Toolkit.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-25 12:05:33 +02:00
Evan Lezar
ac11727ec5
Add nvidia-contianer-runtime-hook.path config option
...
This change adds an nvidia-container-runtime-hook.path config option
to allow the path used for the prestart hook to be overridden. This
is useful in cases where multiple NVIDIA Container Toolkit installations
are present.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-25 12:05:33 +02:00
Evan Lezar
5748d220ba
Merge branch 'add-centos7-aarch64' into 'main'
...
Add centos7-aarch64 CI jobs
See merge request nvidia/container-toolkit/container-toolkit!403
2023-05-24 14:48:59 +00:00
Evan Lezar
3b86683843
Add centos7-aarch64 CI jobs
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-24 16:48:14 +02:00
Evan Lezar
3bd5baa3c5
Merge branch 'add-centos7-aarch64' into 'main'
...
Add centos7-aarch64 targets
See merge request nvidia/container-toolkit/container-toolkit!402
2023-05-24 14:42:32 +00:00
Evan Lezar
330aa16687
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-24 15:32:34 +02:00
Evan Lezar
8a4d6b5bcf
Add centos7-aarch64 targets
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-24 15:32:09 +02:00
Evan Lezar
40d0a88cf9
Merge branch 'update-go-nvlib' into 'main'
...
Update go-nvlib to skip non-MIG devices
See merge request nvidia/container-toolkit/container-toolkit!398
2023-05-24 08:38:21 +00:00
Evan Lezar
dc6a895db8
Merge branch 'pass-single-links-instead-of-csv' into 'main'
...
Pass individual links in create-symlinks hook instead of CSV filename
See merge request nvidia/container-toolkit/container-toolkit!394
2023-05-23 19:56:18 +00:00
Evan Lezar
3b1b89e6c0
Merge branch 'better-support-for-skipping-update' into 'main'
...
Skip update of components on SKIP_UPDATE_COMPONENTS=yes
See merge request nvidia/container-toolkit/container-toolkit!400
2023-05-23 19:17:29 +00:00
Evan Lezar
013a1b413b
Fix ineffectual assignment
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-23 21:14:02 +02:00
Evan Lezar
3be16d8077
Create individual links instead of processing CSV
...
This change switches to generating a OCI runtime hook to create
individual symlinks instead of processing a CSV file in the hook.
This allows for better reuse of the logic generating CDI
specifications, for example.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-23 20:43:36 +02:00
Evan Lezar
927ec78b6e
Add symlinks package with Resolve function
...
This change adds a symlinks.Resolve function for resolving symlinks and
updates usages across the code to make use of it.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-23 20:42:17 +02:00
Evan Lezar
8ca606f7ac
Skip update of components on SKIP_UPDATE_COMPONENTS=yes
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-23 20:34:20 +02:00
Evan Lezar
e7d2a9c212
Merge branch 'CNT-1876/cdi-specs-from-csv' into 'main'
...
Add csv mode to CDI spec generation
See merge request nvidia/container-toolkit/container-toolkit!393
2023-05-23 14:47:19 +00:00
Evan Lezar
fcb4e379e3
Fix mode resolution tests
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-23 16:02:07 +02:00
rorajani
cda96f2f9e
Add pre sanity
...
Signed-off-by: rorajani <rorajani@nvidia.com >
2023-05-22 20:39:50 +05:30
Evan Lezar
e11f65e51e
Update go-nvlib to skip non-MIG devices
...
This change updates go-nvlib to ensure that non-migcapable GPUs
are skipped when generating CDI specifications for MIG devices.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 15:36:55 +02:00
Evan Lezar
3ea02d13fc
Merge branch 'use-major-minor-for-cuda-version' into 'main'
...
Use *.* pattern when locating libcuda.so
See merge request nvidia/container-toolkit/container-toolkit!397
2023-05-22 13:02:33 +00:00
Evan Lezar
e30fd0f4ad
Add csv mode to nvidia-ctk cdi generate command
...
This chagne allows the csv mode option to specified in the
nvidia-ctk cdi generate command and adds a --csv.file option
that can be repeated to specify the CSV files to be processed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 13:56:45 +02:00
Evan Lezar
418e4014e6
Resolve to csv for CDI generation on tegra systems
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 13:56:00 +02:00
Evan Lezar
e78a4f5eac
Add csv mode to nvcdi api
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 13:55:58 +02:00
Evan Lezar
540dbcbc03
Move tegra system mounts to tegra-specific discoverer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 13:55:22 +02:00
Evan Lezar
a8265f8846
Add tegra discoverer
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 13:55:22 +02:00
Evan Lezar
c120c511d5
Merge branch 'CNT-3939/generate-all-device' into 'main'
...
Add options to generate all device to nvcdi API
See merge request nvidia/container-toolkit/container-toolkit!348
2023-05-22 11:53:39 +00:00
Evan Lezar
424b8c9d46
Use *.* pattern when locating libcuda.so
...
This change ensures that libcuda.so can be located on systems
where no patch version is specified in the driver version.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-22 13:53:19 +02:00
Evan Lezar
5bc72b70b8
Merge branch 'minor-refactor' into 'main'
...
Include xorg discoverer with graphics mounts
See merge request nvidia/container-toolkit/container-toolkit!392
2023-05-12 13:12:06 +00:00
Evan Lezar
fe37196788
Generate all device using merged transform
...
The nvcid api is extended to allow for merged device options to
be specified. If any options are specified, then a merged device
is generated.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-12 13:52:58 +02:00
Evan Lezar
ba44c50f4e
Add MergedDevice transform to generate all device
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-12 13:52:58 +02:00
Evan Lezar
729ca941be
Merge branch 'refactor-nvidia-ctk-path' into 'main'
...
Refactor discover.Config to prepare for CSV CDI spec generation.
See merge request nvidia/container-toolkit/container-toolkit!391
2023-05-12 10:45:36 +00:00
Evan Lezar
0ee947dba6
Merge branch 'CNT-4257/remove-redundant-packages' into 'main'
...
Remove config.toml from installation
See merge request nvidia/container-toolkit/container-toolkit!388
2023-05-12 10:41:47 +00:00
Evan Lezar
d1fd0a7384
Merge branch 'CNT-4270/centos7-packages' into 'main'
...
Publish centos7 packages as a kitmaker branch
See merge request nvidia/container-toolkit/container-toolkit!390
2023-05-11 10:10:18 +00:00
Evan Lezar
ae2c582138
Merge branch 'clean-scan-archives' into 'main'
...
Remove image archives after scan
See merge request nvidia/container-toolkit/container-toolkit!389
2023-05-11 10:10:05 +00:00
Evan Lezar
b7e5cef934
Include xorg discoverer with graphics mounts
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 17:07:55 +02:00
Evan Lezar
9378d0cd0f
Move discover.FindNvidiaCTK to config.ResolveNVIDIACTKPath
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 15:12:44 +02:00
Evan Lezar
f9df36c473
Rename config struct to options
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 15:12:00 +02:00
Evan Lezar
8bb0235c92
Remove discover.Config
...
These changes remove the use of discover.Config which was used
to pass the driver root and the nvidiaCTK path in some cases.
Instead, the nvidiaCTKPath is resolved at the begining of runtime
invocation to ensure that this is valid at all points where it is
used.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 15:03:37 +02:00
Evan Lezar
fc310e429e
Publish centos7 packages as a kitmaker branch
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 13:44:47 +02:00
Evan Lezar
8d0ffb2fa5
Remove unneeded targets from scripts
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 13:13:05 +02:00
Evan Lezar
9f07cc9ab2
Remove CVE_UPDATES from dockerfiles
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 13:10:10 +02:00
Evan Lezar
1fff80e10d
Remove unused CI variables
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 13:10:10 +02:00
Evan Lezar
0a57cdc6e8
Remove redundant packaging targets from CI
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 13:10:10 +02:00
Evan Lezar
1a86b20f7c
Remove config.toml from installation
...
Since the default configuration is now platform specific,
there is no need to install specific versions as part of
the package installation.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 13:10:10 +02:00
Evan Lezar
0068750a5c
Remove image archives after scan
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-10 10:52:47 +02:00
Evan Lezar
ee47f26d1c
Merge branch 'cdi-list' into 'main'
...
Add nvidia-ctk cdi list command
See merge request nvidia/container-toolkit/container-toolkit!387
2023-05-09 18:59:56 +00:00
Evan Lezar
3945abb2f2
Add nvidia-ctk cdi list command
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-09 19:59:00 +02:00
Evan Lezar
9de4f7f4b9
Merge branch 'CNT-4262/create-release-archives' into 'main'
...
Create and upload release archives to artifactory
See merge request nvidia/container-toolkit/container-toolkit!386
2023-05-09 14:38:10 +00:00
Evan Lezar
3610b5073b
Add package release archive
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-09 16:01:53 +02:00
Evan Lezar
1991138185
Merge branch 'CNT-4259/check-for-images-before-release' into 'main'
...
Skip publishing of images if these already exist
See merge request nvidia/container-toolkit/container-toolkit!385
2023-05-09 09:03:52 +00:00
Evan Lezar
8ebc21cd1f
Merge branch 'CNT-4260/add-packaging-scan-and-release' into 'main'
...
Add scan and release steps for packaging image
See merge request nvidia/container-toolkit/container-toolkit!384
2023-05-08 16:50:09 +00:00
Evan Lezar
1c1ce2c6f7
Use version from manifest to extract packages
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 16:32:35 +02:00
Evan Lezar
39b0830a66
Extract manifest from packaging image
...
Also include manifest.txt with, for example, version
info when extracting packages from the packagin image.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 15:55:27 +02:00
Evan Lezar
6b367445a3
Merge branch 'CNT-4016/add-nvidia-ctk-config-default' into 'main'
...
Add nvidia-ctk config generate-default command to generate default config file contents
See merge request nvidia/container-toolkit/container-toolkit!338
2023-05-08 10:40:42 +00:00
Evan Lezar
37c66fc33c
Ensure that the nvidia-container-cli.user option is uncommented on suse
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 11:26:54 +02:00
Evan Lezar
1bd5798a99
Use toml representation to get defaults
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 11:26:53 +02:00
Evan Lezar
90c4c4811a
Fallback to ldconfig if ldconfig.real does not exist
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 11:26:24 +02:00
Evan Lezar
49de170652
Generate default config.toml contents
...
This change adds a GetDefaultConfigToml function to the config package.
This function returns the default config in the form of raw TOML
including comments. This is useful for generating a default config at
installation time, with platform-specific differences codified.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 11:26:22 +02:00
Evan Lezar
07c89fa975
Always publish external images
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-08 10:27:48 +02:00
Evan Lezar
7a1f23e2e4
Skip publishing of images if these already exist
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-05 15:06:32 +02:00
Evan Lezar
25165b0771
Add scan and release steps for packaging image
...
This ensures that the artifacts associated with a particular
release version are preserved along with the container
images that are used as operands for this version.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-05 13:56:10 +02:00
Evan Lezar
3e7acec0b4
Add nvidia-ctk config generate-default command
...
This change adds a CLI command to generate a default config.
This config checks the host operating system to apply specific
modifications that were previously captured in static config
files.
These include:
* select /sbin/ldconfig or /sbin/ldconfig.real depending on which exists on the host
* set the user to allow device access on SUSE-based systems
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-03 16:11:05 +02:00
Evan Lezar
4165961d31
Rename config struct options to avoid conflict
...
This change renames the struct for storing CLI flag values options over
config to avoid a conflict with the config package.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-03 15:59:02 +02:00
Evan Lezar
2e3a12438a
Fix toml definition in cli config struct
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-03 15:59:02 +02:00
Evan Lezar
731c99b52c
Merge branch 'fix-cdi-permissions' into 'main'
...
Properly set spec permissions
See merge request nvidia/container-toolkit/container-toolkit!383
2023-05-03 08:47:58 +00:00
Evan Lezar
470b4eebd8
Properly set spec permissions
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-03 10:45:11 +02:00
Carlos Eduardo Arango Gutierrez
6750df8e01
Merge branch 'fix-cdi-spec-permissions' into 'main'
...
Generate CDI specifications with 644 permissions to allow non-root clients to consume them
See merge request nvidia/container-toolkit/container-toolkit!381
2023-05-02 19:36:40 +00:00
Evan Lezar
8736d1e78f
Merge branch 'fix/minor-spelling' into 'main'
...
chore(cmd): Fixing minor spelling error.
See merge request nvidia/container-toolkit/container-toolkit!382
2023-05-02 17:58:13 +00:00
Elliot Courant
140b1e33ef
chore(cmd): Fixing minor spelling error.
...
Fixed a minor spelling error inside `nvidia-ctk system create-device-nodes`.
Signed-off-by: Elliot Courant <me@elliotcourant.dev >
2023-05-02 12:53:45 -05:00
Evan Lezar
3056428eda
Generate spec file with 644 permissions
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-02 16:47:44 +02:00
Evan Lezar
367a30827f
Allow spec file permisions to be specified
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-02 16:27:50 +02:00
Evan Lezar
fe8ef9e0bd
Merge branch 'fix-ld.so.conf-permissions' into 'main'
...
Create ld.so.conf file with permissions 644
See merge request nvidia/container-toolkit/container-toolkit!380
2023-05-02 10:51:40 +00:00
Evan Lezar
d77f46aa09
Create ld.so.conf file with permissions 644
...
By default, temporary files are created with permissions 600 and
this means that the files created when updating the ldcache are
not readable in non-root containers.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-05-02 12:51:27 +02:00
Evan Lezar
043e283db3
Merge branch 'nvidia-docker-as-meta-package' into 'main'
...
Support building nvidia-docker and nvidia-container-runtime as dist-independent packages
See merge request nvidia/container-toolkit/container-toolkit!379
2023-05-02 08:25:45 +00:00
Evan Lezar
2019f1e7ea
Preserve timestamps when copying meta packages
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-26 17:03:36 +02:00
Evan Lezar
22c7178561
Build meta-packages before others
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-26 17:03:36 +02:00
Evan Lezar
525aeb102f
Update third_party submodules
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-26 13:52:56 +02:00
Evan Lezar
9fb5ac36ed
Allow update of subcomponents to be skipped
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-26 13:14:19 +02:00
Evan Lezar
c30764b7cc
Update build all components for meta packages
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-26 13:14:19 +02:00
Evan Lezar
8a2de90c28
Merge branch 'revert-kitmaker-workaround' into 'main'
...
Remove workaround to add libnvidia-container0 to kitmaker archive
See merge request nvidia/container-toolkit/container-toolkit!378
2023-04-26 10:10:23 +00:00
Evan Lezar
243c439bb8
Remove workaround to add libnvidia-container0 to kitmaker archive
...
In order to add the libnvidia-container0 packages to our ubuntu18.04
kitmaker archive, a workaround was added that downloaded these packages
before constructing the archive. Since the packages have now been
published -- and will not change -- this workaround is not longer needed.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-26 11:47:39 +02:00
Evan Lezar
060ac46bd8
Merge branch 'bump-runc' into 'main'
...
Bump golang version and update dependencies
See merge request nvidia/container-toolkit/container-toolkit!377
2023-04-25 10:28:07 +00:00
Evan Lezar
ae2a683929
Run go fmt
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-25 11:27:58 +02:00
Evan Lezar
2b5eeb8d24
Regenerate mocks for formatting
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-25 11:26:55 +02:00
Evan Lezar
bbb94be213
Bump golang version to 1.20.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-25 10:42:22 +02:00
Evan Lezar
e1c75aec6c
Bump runc version and update vendoring
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-25 10:40:46 +02:00
Carlos Eduardo Arango Gutierrez
3030d281d9
Merge branch 'engine_export' into 'main'
...
Export pkg config/engine
See merge request nvidia/container-toolkit/container-toolkit!375
2023-04-25 05:17:20 +00:00
Carlos Eduardo Arango Gutierrez
81d8b94cdc
Export pkg config/engine
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com >
2023-04-25 07:16:59 +02:00
Evan Lezar
276e1960b1
Merge branch 'CNT-2350/configure-containerd' into 'main'
...
Add support for containerd configs to nvidia-ctk runtime configure command
See merge request nvidia/container-toolkit/container-toolkit!355
2023-04-24 17:24:24 +00:00
Evan Lezar
70920d7a04
Add support for containerd to the runtime configure CLI
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-24 18:32:28 +02:00
Evan Lezar
f1e201d368
Refactor runtime configure cli
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-24 18:32:04 +02:00
Evan Lezar
ef863f5fd4
Merge branch 'bump-version-1.14.0-rc.1' into 'main'
...
Bump version to 1.14.0-rc.1
See merge request nvidia/container-toolkit/container-toolkit!376
2023-04-24 16:27:05 +00:00
Evan Lezar
ce65df7d17
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-24 17:33:37 +02:00
Evan Lezar
fa9c6116a4
Bump version to 1.14.0-rc.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-24 17:33:04 +02:00
Evan Lezar
28b70663f1
Merge branch 'skip-for-point-release' into 'main'
...
Skip components for patch releases
See merge request nvidia/container-toolkit/container-toolkit!374
2023-04-24 12:12:36 +00:00
Evan Lezar
c0fe8f27eb
Skip components for patch releases
...
This change ensures that the nvidia-docker2 and nvidia-container-runtime
components are not build and distributed for patch releases.
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-24 14:00:10 +02:00
Evan Lezar
926ac77bc0
Merge branch 'fix-cdi-spec-generation-on-debian' into 'main'
...
Resolve all symlinks when finding libraries in LDCache
See merge request nvidia/container-toolkit/container-toolkit!370
2023-04-24 10:09:37 +00:00
Evan Lezar
fc7c8f7520
Resolve all symlinks in ldcache
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-21 17:28:49 +02:00
Evan Lezar
46c1c45d85
Add /usr/lib/current to search path
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-21 11:47:42 +02:00
Evan Lezar
f99e863649
Merge branch 'CNT-4142/xorg-missing-not-fatal' into 'main'
...
Make discovery of Xorg libraries optional
See merge request nvidia/container-toolkit/container-toolkit!368
2023-04-21 09:47:10 +00:00
Evan Lezar
dcc21ece97
Merge branch 'add-debug-output' into 'main'
...
Fix target folder for kitmaker
See merge request nvidia/container-toolkit/container-toolkit!373
2023-04-20 18:38:05 +00:00
Evan Lezar
a53e3604a6
Fix target folder for kitmaker
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-20 20:37:46 +02:00
Evan Lezar
cfea6c1179
Merge branch 'add-debug-output' into 'main'
...
Properly create target folder for kitmaker
See merge request nvidia/container-toolkit/container-toolkit!372
2023-04-20 14:53:57 +00:00
Evan Lezar
4d1daa0b6c
Properly create target folder for kitmaker
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-20 16:53:32 +02:00
Evan Lezar
df925bc7fd
Merge branch 'include-libnvidia-container-in-kitmaker' into 'main'
...
Add a workaround to publish libnvidia-container0
See merge request nvidia/container-toolkit/container-toolkit!371
2023-04-20 08:29:02 +00:00
Evan Lezar
df22e37dfd
Add a workaround to publish libnvidia-container0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-18 23:23:36 +02:00
Evan Lezar
2136266d1d
Make discovery of Xorg libraries optional
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-13 18:41:38 +02:00
Evan Lezar
a95232dd33
Merge branch 'CNT-4144/non-ldcache' into 'main'
...
Only update ldcache if it exists
See merge request nvidia/container-toolkit/container-toolkit!369
2023-04-13 16:12:22 +00:00
Evan Lezar
29c6288128
Only update ldcache if it exists
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-13 17:18:09 +02:00
Evan Lezar
cd6fcb5297
Merge branch 'bump-version-1.13.1' into 'main'
...
Bump version to 1.13.1
See merge request nvidia/container-toolkit/container-toolkit!367
2023-04-13 11:12:37 +00:00
Evan Lezar
36989deff7
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-13 13:11:39 +02:00
Evan Lezar
7f6c9851fe
Bump version to 1.13.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-04-13 13:11:09 +02:00
Evan Lezar
b7079454b5
Merge branch 'bump-versions' into 'main'
...
Bump nvidia-docker and nvidia-container-runtime versions
See merge request nvidia/container-toolkit/container-toolkit!366
2023-03-31 13:00:58 +00:00
Evan Lezar
448bd45ab4
Bump nvidia-docker and nvidia-container-runtime versions
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-03-31 15:00:15 +02:00
Evan Lezar
dde6170df1
Merge branch 'bump-version-v1.13.0' into 'main'
...
Bump version to v1.13.0
See merge request nvidia/container-toolkit/container-toolkit!365
2023-03-31 10:58:18 +00:00
Evan Lezar
e4b9350e65
Update libnvidia-container to v1.13.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-03-31 11:38:01 +02:00
Evan Lezar
622a0649ce
Bump version to v1.13.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com >
2023-03-31 11:35:53 +02:00