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

standardize batch builds for archd images #2682

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

jaxesn
Copy link
Member

@jaxesn jaxesn commented Nov 21, 2023

Issue #, if available:

Description of changes:

We had two projects, harbor and emissary, which we had broken out into a batch build by image platform due to how long they took to build on a single host. The reason they took so long is when building images that do more than just COPY can take quiet away when running for the arch that does not match the host, due to the virtualization through qemu.

So far I had just hand made the batch buildspecs for these two projects. We just added the upgrader project which started to segfault in CI due to qemu when building the amd image on our arm host. I think we could downgrade qemu to 6.x from 7.x, 6.x appears to be more stable, however probably the safest thing to do is run these image builds on a matching host arch.

We ran into this same thing in eks-d where we build the minimal images in prow and ended up doing the same thing.

This PR adds the automation needed to make generating the build specs by image platform easier.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 21, 2023
@jaxesn jaxesn changed the title lets see standardize batch builds for archd images Nov 22, 2023
@eks-distro-bot eks-distro-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 22, 2023
@jaxesn jaxesn force-pushed the jgw/testing-qemu branch 10 times, most recently from 1551bbf to fd0a566 Compare November 22, 2023 22:38
@jaxesn
Copy link
Member Author

jaxesn commented Nov 22, 2023

/approve

Copy link
Member

@abhay-krishna abhay-krishna left a comment

Choose a reason for hiding this comment

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

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhay-krishna, jaxesn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [abhay-krishna,jaxesn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 7922f9d into aws:main Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants