Skip to content

Commit 92bb04f

Browse files
author
Evan Lezar
committed
Merge branch 'bump-version-1.6.0' into 'master'
Bump version for 1.6.0 release See merge request nvidia/container-toolkit/container-toolkit!78
2 parents a13c785 + 4d224a1 commit 92bb04f

File tree

8 files changed

+21
-10
lines changed

8 files changed

+21
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DIST_DIR ?= $(CURDIR)/dist
1818

1919
LIB_NAME := nvidia-container-toolkit
2020
LIB_VERSION := 1.6.0
21-
LIB_TAG ?= rc.3
21+
LIB_TAG ?=
2222

2323
GOLANG_VERSION := 1.16.3
2424
MODULE := github.com/NVIDIA/nvidia-container-toolkit

build/container/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ DIST_DIR ?= $(CURDIR)/dist
2121
# TODO: These should be defined ONCE and currently duplicate the version in the
2222
# toolkit makefile.
2323
LIB_VERSION := 1.6.0
24-
LIB_TAG := rc.3
24+
LIB_TAG :=
2525

2626
VERSION ?= $(LIB_VERSION)$(if $(LIB_TAG),-$(LIB_TAG))
2727

internal/oci/runtime_low_level.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func NewLowLevelRuntime(candidates ...string) (Runtime, error) {
3232

3333
// NewLowLevelRuntimeWithLogger creates a Runtime as with NewLowLevelRuntime using the specified logger.
3434
func NewLowLevelRuntimeWithLogger(logger *log.Logger, candidates ...string) (Runtime, error) {
35-
runtimePath, err := findRuntime(candidates)
35+
runtimePath, err := findRuntime(logger, candidates)
3636
if err != nil {
3737
return nil, fmt.Errorf("error locating runtime: %v", err)
3838
}
@@ -42,19 +42,19 @@ func NewLowLevelRuntimeWithLogger(logger *log.Logger, candidates ...string) (Run
4242

4343
// findRuntime checks elements in a list of supplied candidates for a matching executable in the PATH.
4444
// The absolute path to the first match is returned.
45-
func findRuntime(candidates []string) (string, error) {
45+
func findRuntime(logger *log.Logger, candidates []string) (string, error) {
4646
if len(candidates) == 0 {
4747
return "", fmt.Errorf("at least one runtime candidate must be specified")
4848
}
4949

5050
for _, candidate := range candidates {
51-
log.Infof("Looking for runtime binary '%v'", candidate)
51+
logger.Infof("Looking for runtime binary '%v'", candidate)
5252
runcPath, err := exec.LookPath(candidate)
5353
if err == nil {
54-
log.Infof("Found runtime binary '%v'", runcPath)
54+
logger.Infof("Found runtime binary '%v'", runcPath)
5555
return runcPath, nil
5656
}
57-
log.Warnf("Runtime binary '%v' not found: %v", candidate, err)
57+
logger.Warnf("Runtime binary '%v' not found: %v", candidate, err)
5858
}
5959

6060
return "", fmt.Errorf("no runtime binary found from candidate list: %v", candidates)

packaging/debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
nvidia-container-toolkit (1.6.0-1) UNRELEASED; urgency=medium
2+
3+
* Promote 1.6.0~rc.3-1 to 1.6.0-1
4+
* Fix unnecessary logging to stderr instead of configured nvidia-container-runtime log file
5+
6+
-- NVIDIA CORPORATION <[email protected]> Wed, 17 Nov 2021 09:25:15 +0100
7+
18
nvidia-container-toolkit (1.6.0~rc.3-1) experimental; urgency=medium
29

310
* Move OCI and command line checks for runtime to internal oci package

packaging/rpm/SPECS/nvidia-container-toolkit.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ rm -f %{_bindir}/nvidia-container-runtime-hook
6464
/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json
6565

6666
%changelog
67+
* Wed Nov 17 2021 NVIDIA CORPORATION <[email protected]> 3.6.0-1
68+
- Promote 1.6.0-0.1.rc.3 to 1.6.0-1
69+
- Fix unnecessary logging to stderr instead of configured nvidia-container-runtime log file
70+
6771
* Mon Nov 15 2021 NVIDIA CORPORATION <[email protected]> 1.6.0-0.1.rc.3
6872

6973
- Move OCI and command line checks for runtime to internal oci package

third_party/libnvidia-container

Submodule libnvidia-container updated from ff6ed3d to dd2c49d
Submodule nvidia-container-runtime updated from ba4815e to 38ff520

third_party/nvidia-docker

Submodule nvidia-docker updated from 34934c2 to fd3233a

0 commit comments

Comments
 (0)