Skip to content

feat: remove linux/amd64 platform hardcoding#3620

Open
kevink-sq wants to merge 2 commits intocashapp:masterfrom
kevink-sq:kevink/remove-amd64-hardcoding
Open

feat: remove linux/amd64 platform hardcoding#3620
kevink-sq wants to merge 2 commits intocashapp:masterfrom
kevink-sq:kevink/remove-amd64-hardcoding

Conversation

@kevink-sq
Copy link
Collaborator

Description

Looking to introduce an arm64 build of vttestserver so need to remove the platform config as it prevents the arm image from starting up. Docker by default should look up the platform automatically on the host.

Testing Strategy

Will follow up with testing internally since this is a test package.

Communication Plan

Consulted vitess team: slack

  • I have reviewed this PR with relevant experts and/or impacted teams.
  • I have added tests to have confidence my changes work as expected.
  • I have a rollout plan that minimizes risks and includes monitoring for potential issues.

Thank you for contributing to Misk! 🎉

Copy link
Collaborator

@adrw adrw left a comment

Choose a reason for hiding this comment

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

LG

.createContainerCmd(vitessImage)
.withName(containerName)
.withHostConfig(hostConfig)
.withPlatform("linux/amd64")
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens if this is removed? Does it fall back to some default ie. the platform that it's currently run on?

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.

2 participants