From 7de99e99416ebd98ae1c38584bbba2c6213ebcfc Mon Sep 17 00:00:00 2001 From: Yadong Ding Date: Tue, 10 Oct 2023 09:24:21 +0800 Subject: [PATCH] fix: remove useless args backend-type etc. ref: dragonflyoss/image-service#970 Signed-off-by: Yadong Ding --- script/integration/nydus/test.sh | 6 +----- script/integration/one-time.sh | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/script/integration/nydus/test.sh b/script/integration/nydus/test.sh index 0a89d864..5bbd9a91 100755 --- a/script/integration/nydus/test.sh +++ b/script/integration/nydus/test.sh @@ -13,12 +13,8 @@ sudo ./accelctl task create --sync localhost/library/$OCI_IMAGE_NAME:latest # Verify filesystem consistency for converted image sudo /usr/bin/nydusify check \ - --nydus-image /usr/bin/nydus-image \ - --nydusd /usr/bin/nydusd \ --source localhost/library/$OCI_IMAGE_NAME:latest \ - --target localhost/library/$OCI_IMAGE_NAME:latest-nydus \ - --backend-type registry \ - --backend-config "{\"scheme\":\"http\",\"host\":\"localhost\",\"repo\":\"library/$OCI_IMAGE_NAME\",\"auth\":\"YWRtaW46SGFyYm9yMTIzNDU=\"}" + --target localhost/library/$OCI_IMAGE_NAME:latest-nydus # Gracefully exit acceld sudo pkill -SIGINT acceld diff --git a/script/integration/one-time.sh b/script/integration/one-time.sh index ac2cd8ce..bb862440 100755 --- a/script/integration/one-time.sh +++ b/script/integration/one-time.sh @@ -9,9 +9,5 @@ sudo ./accelctl convert --config ./misc/config/config.nydus.yaml localhost/libra # Verify filesystem consistency for converted image sudo /usr/bin/nydusify check \ - --nydus-image /usr/bin/nydus-image \ - --nydusd /usr/bin/nydusd \ --source localhost/library/$OCI_IMAGE_NAME:latest \ - --target localhost/library/$OCI_IMAGE_NAME:latest-nydus \ - --backend-type registry \ - --backend-config "{\"scheme\":\"http\",\"host\":\"localhost\",\"repo\":\"library/$OCI_IMAGE_NAME\",\"auth\":\"YWRtaW46SGFyYm9yMTIzNDU=\"}" + --target localhost/library/$OCI_IMAGE_NAME:latest-nydus \ No newline at end of file