Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some issue about the subcommand mount of nydusify #1319

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

lihuahua123
Copy link
Contributor

Relevant Issue (if applicable)

this is the solution of issue #1306

Details

we fix the bug, the nydusify mount subcommand will not need the --backend-type and --backend-config options when the blobs of target image are all stored in the registry,

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have added tests to cover my changes.

@lihuahua123 lihuahua123 requested a review from a team as a code owner June 12, 2023 17:31
@lihuahua123 lihuahua123 requested review from liubogithub, changweige and adamqqqplay and removed request for a team June 12, 2023 17:31
@anolis-bot
Copy link
Collaborator

@lihuahua123 , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78129

@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Merging #1319 (ed0b74a) into master (b4c76cf) will decrease coverage by 0.23%.
The diff coverage is n/a.

❗ Current head ed0b74a differs from pull request most recent head bde4aef. Consider uploading reports for the commit bde4aef to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1319      +/-   ##
==========================================
- Coverage   45.90%   45.68%   -0.23%     
==========================================
  Files         123      123              
  Lines       37033    37254     +221     
  Branches    37033    37254     +221     
==========================================
+ Hits        16999    17018      +19     
- Misses      19139    19337     +198     
- Partials      895      899       +4     

see 11 files with indirect coverage changes

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78142

@imeoer
Copy link
Collaborator

imeoer commented Jun 13, 2023

@lihuahua123 Please don't submit a new one on next time, just use git rebase -i $commit^ to edit the commit and then force push by git push -f $branch.

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

Copy link
Member

@adamqqqplay adamqqqplay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work!
The commit message now looks a bit unclear. I think it would be better to update the commit message to reflect the resolved issue and prepend the colon with the module your modification touches.

@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78370

@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78373

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78384

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78393

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@lihuahua123
Copy link
Contributor Author

@imeoer ,the code has been refactored, is there some place needed to be modified?

contrib/nydusify/cmd/nydusify.go Outdated Show resolved Hide resolved
contrib/nydusify/cmd/nydusify.go Outdated Show resolved Hide resolved
contrib/nydusify/cmd/nydusify.go Outdated Show resolved Hide resolved
contrib/nydusify/cmd/nydusify.go Outdated Show resolved Hide resolved
contrib/nydusify/pkg/checker/rule/filesystem.go Outdated Show resolved Hide resolved
contrib/nydusify/pkg/checker/rule/filesystem.go Outdated Show resolved Hide resolved
contrib/nydusify/pkg/viewer/viewer.go Outdated Show resolved Hide resolved
contrib/nydusify/pkg/viewer/viewer.go Show resolved Hide resolved
@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78670

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

contrib/nydusify/pkg/viewer/viewer.go Outdated Show resolved Hide resolved
contrib/nydusify/pkg/viewer/viewer.go Outdated Show resolved Hide resolved
    - The `nydusify mount` subcomend don't require `--backend-type` and `--backend-config` options when the backend is registry.
    - The methord to resolve it is we can get the `--backend-type` and `--backend-config` options  from the docker configuration.
    - Also, we have refractor the code of checker module in order to reuse the code

Signed-off-by: lihuahua123 <771725652@qq.com>
@anolis-bot
Copy link
Collaborator

@lihuahua123 , the code has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/78798

@anolis-bot
Copy link
Collaborator

@lihuahua123 , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS
run container with rafs and compile linux✅ SUCCESS

Congratulations, your test job passed!

@imeoer imeoer merged commit 66761f2 into dragonflyoss:master Jun 16, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants