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

Update the build workflow for Docker images so that images per service are build concurrently #2165

Open
nicomiguelino opened this issue Dec 18, 2024 · 1 comment
Assignees

Comments

@nicomiguelino
Copy link
Contributor

nicomiguelino commented Dec 18, 2024

Overview

  • Builds are currently divided by platform (Pi 1, 2, 3, 4 & x86).
  • The build process can further be optimized by splitting image builds (per service) into separate jobs (via matrices), where service $$\epsilon$$ {server, celery, redis, websocket, nginx, viewer, wifi-connect}.
  • This means that there will be a total of 5 x 7 = 35 concurrent image build jobs running, in theory.
  • GitHub Actions has a 256-job limit, as stated in this documentation.
@nicomiguelino nicomiguelino self-assigned this Dec 18, 2024
@github-project-automation github-project-automation bot moved this to To do in Anthias Dec 18, 2024
@vpetersson
Copy link
Contributor

Yes, but i think we would gain a lot more by just optimizing caching. We could do both of these in parallel of course, but it should be highly cacheable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants