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

WIP: Attempt to speed up CI #34358

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

Conversation

chaptersix
Copy link

@chaptersix chaptersix commented Jan 11, 2025

Description
This PR aims at reducing the execution time of the setup-with-retry Github action.
Resolve: #30706

  • This action is a wrapper that loads form the cache, add 2 retry steps for any other action that uses the action, and runs env.BUILD if defined.
  • The slowness of the builds when cached appears to be due to
    • Pulling from the container image cache
    • the install of the uv package manager causing a cache miss
  • Existing Image is ~ 3.8GB with the largest layer being 1.5 GB

Solution :

  1. Removing dependencies
  2. creating more layers
  3. update image tag have pr-123 was triggered by a PR?

Verification

  1. All tests pass without modification
  2. After this PR merges and the new openpilot_base image is published, build times fall.

Dockerfile.openpilot_base Outdated Show resolved Hide resolved
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.

Speedup CI setup to <20s
1 participant