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

docs: Automated CherryPick Update for release-v4.4 #4205

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

sealos-ci-robot
Copy link
Member

@sealos-ci-robot sealos-ci-robot commented Oct 30, 2023

🤖 Generated by Copilot at a84b9d6

Summary

🔥🔧🔄

Improved the management of MountImage instances in the installation process and removed unused code. Refactored the processor and v1beta1 packages to avoid conflicts and inconsistencies when applying the cluster configuration.

Sing, O Muse, of the skillful coder who refined
The MountImage logic in the v1beta1 package
And in the processor package, where he designed
A better way to handle the cluster's image stack.

Walkthrough

  • Sort and deduplicate cluster.Status.Mounts before updating it with new MountImage instances (link, link)
  • Remove and append MountImage instances to cluster.Status.Mounts after updating their environment variables (link)
  • Modify FindImage function to return the index of the MountImage instance in addition to the pointer (link, link)
  • Remove SetMountImage function from pkg/types/v1beta1/utils.go as it is no longer needed (link)

Automated changes by create-pull-request GitHub action

Signed-off-by: cuisongliu <cuisongliu@qq.com>
@sweep-ai
Copy link

sweep-ai bot commented Oct 30, 2023

Apply Sweep Rules to your PR?

  • Apply: Leftover TODOs in the code should be handled.
  • Apply: All new business logic should have corresponding unit tests in the tests/ directory.
  • Apply: Any clearly inefficient or repeated code should be optimized or refactored.

@cuisongliu cuisongliu added this to the v4.3 milestone Oct 30, 2023
@codecov
Copy link

codecov bot commented Oct 30, 2023

We're currently processing your upload. This comment will be updated when the results are available.

@cuisongliu cuisongliu merged commit 286c181 into release-v4.4 Oct 30, 2023
124 checks passed
@cuisongliu cuisongliu deleted the cherry-pick-release-v4.4-4161 branch October 30, 2023 09:49
@sealos-ci-robot
Copy link
Member Author

/cherry-pick release-v4.3

@sealos-ci-robot
Copy link
Member Author

🤖 says: Error cherry-picking.

Auto-merging pkg/apply/processor/install.go
CONFLICT (content): Merge conflict in pkg/apply/processor/install.go
Auto-merging pkg/types/v1beta1/cluster_args.go
CONFLICT (content): Merge conflict in pkg/types/v1beta1/cluster_args.go
error: could not apply 286c181... refactor(main): unmount override container (#4161) (#4205)
hint: After resolving the conflicts, mark them with
hint: "git add/rm ", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

@sealos-ci-robot
Copy link
Member Author

🤖 says: ‼️ cherry pick action failed.
See: https://github.com/labring/sealos/actions/runs/6691031517

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.

2 participants