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

[DOC]: replace ClusterImage to sealer image #2104

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

Stevent-fei
Copy link
Collaborator

@Stevent-fei Stevent-fei commented Mar 14, 2023

Describe what this PR does / why we need it

replace ClusterImage to sealer image.

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

pushOpts.Image = args[0]
return engine.Push(pushOpts)

if login {
Copy link
Member

Choose a reason for hiding this comment

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

i dont agree add check whether user is login in here . what if user push to registry that is not require authentication.

@@ -34,18 +38,29 @@ var exampleForPushCmd = `
func NewPushCmd() *cobra.Command {
pushCmd := &cobra.Command{
Use: "push",
Short: "push ClusterImage to remote registry",
Short: "push sealer image to remote registry",
Copy link
Member

Choose a reason for hiding this comment

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

good code describes . so , could we walkthrough all sealer cmd description to replace ClusterImage to sealer image.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 39.58% and project coverage change: +0.11 🎉

Comparison is base (ca522b1) 18.68% compared to head (644c021) 18.79%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2104      +/-   ##
==========================================
+ Coverage   18.68%   18.79%   +0.11%     
==========================================
  Files          95       96       +1     
  Lines        8874     8921      +47     
==========================================
+ Hits         1658     1677      +19     
- Misses       6995     7017      +22     
- Partials      221      227       +6     
Impacted Files Coverage Δ
pkg/config/config.go 27.95% <0.00%> (ø)
pkg/clusterfile/decoder.go 48.20% <25.92%> (-3.59%) ⬇️
cmd/sealer/cmd/utils/application.go 60.00% <60.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Stevent-fei Stevent-fei changed the title Optimize: add login judgment before push Optimize: replace ClusterImage to sealer image Mar 14, 2023
@Stevent-fei Stevent-fei force-pushed the fix_push_bug branch 2 times, most recently from 453259b to 17bfb88 Compare March 14, 2023 07:31
@Stevent-fei
Copy link
Collaborator Author

/test build

@kakaZhou719 kakaZhou719 changed the title Optimize: replace ClusterImage to sealer image [DOC]: replace ClusterImage to sealer image Mar 14, 2023
@kakaZhou719
Copy link
Member

@Stevent-fei , could we check the entire cmd directory? not only image dir.

@kakaZhou719
Copy link
Member

image
pls update those at the same time@Stevent-fei

Copy link
Member

@kakaZhou719 kakaZhou719 left a comment

Choose a reason for hiding this comment

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

LGTM

@kakaZhou719 kakaZhou719 merged commit 54ab93b into sealerio:main Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants