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

feat: use docker in frontend GHA to parallelize work #31490

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Dec 17, 2024

Trying to do a proof of concept of using docker containers to 1. build the image first and 2. parallelize steps leveraging the image build.

So far, we save work but pushing/pulling the artifact seem to eat up some time. Less work overall but maybe a bit long depending. Lean images will be key here, and our images are pretty large given all the dependancies.

Notes:

  • docker build takes about 4 minutes
  • upload/download across workflows takes bout 2-3 minutes of overhead adding to linear time
  • can run everything in parallel
  • looking at --shard for jest, requires merging coverage files after done...

@github-actions github-actions bot added doc Namespace | Anything related to documentation github_actions Pull requests that update GitHub Actions code labels Dec 17, 2024
@mistercrunch mistercrunch force-pushed the faster_frontend_builds branch from c310511 to 042e732 Compare December 17, 2024 01:52
@github-actions github-actions bot added preset-io and removed doc Namespace | Anything related to documentation labels Dec 17, 2024
@mistercrunch mistercrunch force-pushed the faster_frontend_builds branch from b6b3a99 to 6f9bd98 Compare December 17, 2024 19:49
@mistercrunch mistercrunch force-pushed the faster_frontend_builds branch from ad8b086 to 06f044c Compare December 19, 2024 07:30
@mistercrunch mistercrunch force-pushed the faster_frontend_builds branch from 904ec1e to 49d8fa9 Compare December 21, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code preset-io review:draft size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants