Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π€ Generated by Copilot at 2f00654
Summary
ποΈππ οΈ
This pull request enhances the sealos cloud installation and the cross-platform build process. It adds the
TARGETARCH
variable to themake build
command in.github/workflows/controllers.yml
to ensure binary compatibility. It also improves theinstall.sh
script inscripts/cloud/install.sh
by adding local installation support, updating the image version, and adding more prompts, checks, and optimizations.Walkthrough
TARGETARCH
environment variable tomake build
command for amd64 and arm64 architectures (link, link)CLOUD_VERSION
variable to uselatest
tag instead of fixed version (link)local_install
variable to indicate single node or multiple node installation (link, link, link)pre_prompt
andpull_image
prompts to inform user of dependencies and image pulling progress (link, link)patching_ingress
prompt (link)grep avx /proc/cpuinfo
command and setmongodb_version
accordingly (link)sealos pull
command to avoid timeouts or errors (link)--masters
and--nodes
flags only if variables are not empty and use default values for subnets if variables are empty (link, link)command -v
andsource
commands (link, link, link)get_prompt
andsealos apply
commands in subshell and inform user of Kubernetes cluster installation (link)openebs-backup
storage class exists and create it if not (link)