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

Remove large binaries from the deployed container #577

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

ajhall
Copy link
Member

@ajhall ajhall commented Mar 21, 2024

Depends on https://github.com/Yubico/yubico-binaries/pull/144

The developers.yubico.com site builds into a huge Docker image that contains about 15 GB of binaries. This causes some issues in our Kubernetes clusters and generally just isn't a good use of resources, so we'd like to shrink the container image.
https://yubico.atlassian.net/browse/INFRA-5045

Fastly has been configured to route requests directly to a GCS bucket instead of from the developers pod.
https://github.com/Yubico/infra-fastly/pull/166

That means that we don't need the binaries in this container anymore. The https://github.com/Yubico/yubico-binaries repo is still cloned during the build process, but the Git LFS objects aren't fetched. The LFS pointer files are used as placeholders so the release page generation scripts will still work the same as before.

@ajhall ajhall requested a review from a team March 22, 2024 20:17
@ajhall ajhall marked this pull request as ready for review March 22, 2024 20:17
@ajhall ajhall changed the title Move large binaries to Google Cloud Storage Remove large binaries from the deployed container Mar 27, 2024
@ajhall ajhall force-pushed the separate-releases branch 2 times, most recently from b2dd486 to 949e35e Compare March 29, 2024 16:16
@ajhall ajhall merged commit 3373457 into master Apr 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants