Skip to content

Commit

Permalink
fix: remove useless args backend-type etc.
Browse files Browse the repository at this point in the history
ref: dragonflyoss/nydus#970

Signed-off-by: Yadong Ding <ding_yadong@foxmail.com>
  • Loading branch information
Desiki-high committed Oct 10, 2023
1 parent ad25ac7 commit 8c3c3cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions script/integration/nydus/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 1 addition & 5 deletions script/integration/one-time.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c3c3cf

Please sign in to comment.