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

support heterogeneous cluster deployment #2035

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

kakaZhou719
Copy link
Member

@kakaZhou719 kakaZhou719 commented Feb 15, 2023

Describe what this PR does / why we need it

  1. make image engine interface more consistency: pull , inspect.
  2. use id instead of the name to Identify the sealer image when run installation.
  3. add some UT test case.

Does this pull request fix one issue?

Fixes #2040

Describe how you did it

Describe how to verify it

Special notes for reviews

@github-actions github-actions bot added ImageBuilding related to all staff with image building test labels Feb 15, 2023
@kakaZhou719 kakaZhou719 changed the title support heterogeneous cluster deployments [wip]support heterogeneous cluster deployment Feb 15, 2023
@kakaZhou719 kakaZhou719 force-pushed the make-image-spec-more-consistent branch from 0437e21 to 585bf1f Compare February 15, 2023 08:53
@kakaZhou719 kakaZhou719 changed the title [wip]support heterogeneous cluster deployment support heterogeneous cluster deployment Feb 16, 2023
return fmt.Errorf("failed to pull image: %s", pullOpts.Image)
}

logrus.Infof("%s", imageID)
Copy link
Collaborator

Choose a reason for hiding this comment

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

optimize the log output or delete it

// See the License for the specific language governing permissions and
// limitations under the License.

package buildah
Copy link
Collaborator

Choose a reason for hiding this comment

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

What are the considerations behind this file modification?

Copy link
Member Author

Choose a reason for hiding this comment

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

this file contains image extension-related information used by sealer inspect, so i move those functions to inspect.go

kakzhou719 added 2 commits February 21, 2023 13:00
@kakaZhou719 kakaZhou719 force-pushed the make-image-spec-more-consistent branch from 585bf1f to 6a18354 Compare February 21, 2023 05:01
Copy link
Collaborator

@starnop starnop left a comment

Choose a reason for hiding this comment

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

LGTM

@starnop starnop merged commit af34af6 into sealerio:main Feb 21, 2023
@kakaZhou719 kakaZhou719 deleted the make-image-spec-more-consistent branch June 28, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ImageBuilding related to all staff with image building test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sealer support to run multi arch image
2 participants