Skip to content

Container Build Caching#509

Merged
sjmonson merged 4 commits intomainfrom
feat/container_build_caching
Dec 11, 2025
Merged

Container Build Caching#509
sjmonson merged 4 commits intomainfrom
feat/container_build_caching

Conversation

@sjmonson
Copy link
Collaborator

@sjmonson sjmonson commented Dec 8, 2025

Summary

Store dnf and uv caches in a GitHub Action cache.

Details

Adds mount caches for dnf and uv to container image and stores their output into a action cache. Layer caching would probably be more efficient but requires a container repository for storing the intermediate layers.

Test Plan

Rerun the container build job and observe that build takes less time and skips download steps.


  • "I certify that all code in this PR is my own, except as noted below."

Use of AI

  • Includes AI-assisted code completion
  • Includes code generated by an AI application
  • Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes ## WRITTEN BY AI ##)

@sjmonson sjmonson force-pushed the feat/container_build_caching branch 4 times, most recently from 9b62f6c to 1bc1a35 Compare December 8, 2025 21:30
@sjmonson sjmonson marked this pull request as ready for review December 8, 2025 21:36
Copy link
Collaborator

@jaredoconnell jaredoconnell left a comment

Choose a reason for hiding this comment

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

The change to use GUIDELLM_BUILD_EXTRAS alone is helpful. I didn't see any problems with the workflow changes.

@sjmonson sjmonson force-pushed the feat/container_build_caching branch from 1bc1a35 to 2a5312b Compare December 10, 2025 14:18
Signed-off-by: Samuel Monson <smonson@redhat.com>
Signed-off-by: Samuel Monson <smonson@redhat.com>
Signed-off-by: Samuel Monson <smonson@redhat.com>
Signed-off-by: Samuel Monson <smonson@redhat.com>
@sjmonson sjmonson force-pushed the feat/container_build_caching branch from 657629c to 4c0e2da Compare December 11, 2025 16:23
@sjmonson sjmonson merged commit 5f25b9b into main Dec 11, 2025
10 of 14 checks passed
@sjmonson sjmonson deleted the feat/container_build_caching branch December 11, 2025 16:24
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.

3 participants