Skip to content

Conversation

@WilliamZhang2205
Copy link
Contributor

Makes the CI have cache

  • Workflow for jetson took 20 minutes, made me quite unhappy

Implementation

  • Used "docker/setup-buildx-action@v3" for set up of cache in each job
  • Made each image have its own cache with: "cache-from: type=gha,scope=dev-amd64" and cache-to: type=gha,mode=max,scope=dev-amd64" (implemented with the various scope name matching the job name).

Tests Ran

  • Ran first workflow without cache, takes approximately 20 min for jetson and 4 min for dev and base
  • Reran workflow and takes 30s each

Copy link
Collaborator

@Alb33rt Alb33rt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Loved these changes. This is the exact type of stuff we love to see from the team. Merge from main before squashing into main.

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.

4 participants