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

Optimize CI setup to <20s #34123

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 28, 2024

  1. Optimize CI setup to <20s

    Related to commaai#30706
    
    Optimize the `setup-with-retry` stage in CI jobs to finish in less than 20 seconds.
    
    * **Dockerfile.openpilot_base**
      - Split the installation of Python dependencies into smaller layers to improve download concurrency.
      - Add comments to explain the changes made.
    
    * **.github/workflows/setup-with-retry/action.yaml**
      - Reduce the sleep time between retries to 5 seconds.
      - Add a step to cache Python dependencies using GitHub Actions cache.
    
    * **.github/workflows/setup/action.yaml**
      - Add a step to restore the Python dependencies cache.
      - Add a step to save the Python dependencies cache.
    vishwamartur committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    f76ecce View commit details
    Browse the repository at this point in the history