versions: update nydusd version

To the latest stable v2.1.1.

Depends-on: github.com/kata-containers/tests#5246
Fixes: #5635
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2022-11-10 17:19:14 +08:00
parent 7506237420
commit a636d426d9
3 changed files with 5 additions and 4 deletions

View File

@ -167,6 +167,7 @@ func (nd *nydusd) args() ([]string, error) {
logLevel = "debug" logLevel = "debug"
} }
args := []string{ args := []string{
"virtiofs", "--hybrid-mode",
"--log-level", logLevel, "--log-level", logLevel,
"--apisock", nd.apiSockPath, "--apisock", nd.apiSockPath,
"--sock", nd.sockPath, "--sock", nd.sockPath,

View File

@ -99,13 +99,13 @@ func TestNydusdArgs(t *testing.T) {
apiSockPath: "/var/lib/api.sock", apiSockPath: "/var/lib/api.sock",
debug: true, debug: true,
} }
expected := "--log-level debug --apisock /var/lib/api.sock --sock /var/lib/vhost-user.sock" expected := "virtiofs --hybrid-mode --log-level debug --apisock /var/lib/api.sock --sock /var/lib/vhost-user.sock"
args, err := nd.args() args, err := nd.args()
assert.NoError(err) assert.NoError(err)
assert.Equal(expected, strings.Join(args, " ")) assert.Equal(expected, strings.Join(args, " "))
nd.debug = false nd.debug = false
expected = "--log-level info --apisock /var/lib/api.sock --sock /var/lib/vhost-user.sock" expected = "virtiofs --hybrid-mode --log-level info --apisock /var/lib/api.sock --sock /var/lib/vhost-user.sock"
args, err = nd.args() args, err = nd.args()
assert.NoError(err) assert.NoError(err)
assert.Equal(expected, strings.Join(args, " ")) assert.Equal(expected, strings.Join(args, " "))

View File

@ -249,12 +249,12 @@ externals:
nydus: nydus:
description: "Nydus image acceleration service" description: "Nydus image acceleration service"
url: "https://github.com/dragonflyoss/image-service" url: "https://github.com/dragonflyoss/image-service"
version: "v2.1.0-alpha.4" version: "v2.1.1"
nydus-snapshotter: nydus-snapshotter:
description: "Snapshotter for Nydus image acceleration service" description: "Snapshotter for Nydus image acceleration service"
url: "https://github.com/containerd/nydus-snapshotter" url: "https://github.com/containerd/nydus-snapshotter"
version: "v0.2.3" version: "v0.3.3"
ovmf: ovmf:
description: "Firmware, implementation of UEFI for virtual machines." description: "Firmware, implementation of UEFI for virtual machines."