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

Pre-extract the boxed plugin bundle #386

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

ZoogieZork
Copy link
Contributor

Description

Addresses two issues:

  • Improves boxed plugin startup time.
  • Lessens chance of free disk space errors, such as "Consider setting TMPDIR to a directory with more free space".

This is part of the longer-term effort to support distributions based on Musl libc (such as Alpine) by moving the glibc-based bundle into it's own directory. The bundle build process is now its own Dockerfile so we can re-use it (via docker-bake.hcl) to build both Glibc and Musl variants.

Motivation and Context

Extracting the plugin bundle into each container added to the startup time of each boxed plugin and required an additional 400+ MB of free space.

How Has This Been Tested?

TODO

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation change

Checklist

  • My code follows conforms to the coding standards.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Addresses two issues:

* Improves boxed plugin startup time.
* Lessens chance of free disk space errors, such as "Consider setting
  TMPDIR to a directory with more free space".

This is part of the longer-term effort to support distributions based on
Musl libc (such as Alpine) by moving the glibc-based bundle into it's
own directory. The bundle build process is now its own Dockerfile so we
can re-use it (via docker-bake.hcl) to build both Glibc and Musl
variants.
@ZoogieZork ZoogieZork force-pushed the zoogiezork/extract-box branch from 4fb34e5 to 562de29 Compare December 11, 2024 18:21
Fixes engine startup issue where it was trying to auto-register the
directory as a plugin.
@ZoogieZork ZoogieZork marked this pull request as ready for review December 11, 2024 19:52
@ZoogieZork ZoogieZork requested a review from a team as a code owner December 11, 2024 19:52
@ZoogieZork ZoogieZork merged commit fe99f65 into main Dec 11, 2024
6 checks passed
@ZoogieZork ZoogieZork deleted the zoogiezork/extract-box branch December 11, 2024 20:41
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