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

Cache UCC Docker container #136

Open
jordandsullivan opened this issue Dec 11, 2024 · 0 comments
Open

Cache UCC Docker container #136

jordandsullivan opened this issue Dec 11, 2024 · 0 comments
Labels
feature New feature or request infrastructure Non-quantum things to improve the robustness of our package, e.g. CI/CD

Comments

@jordandsullivan
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently we have a GitHub Actions workflow for benchmarking which builds the Docker image from scratch every run. This takes time, usually a few minutes.

Describe the solution you'd like
It would be nice to be able to persist a Docker image for a certain period of time, so easiest would be caching layers using GitHub Actions Cache.

Describe alternatives you've considered
If we wanted something more persistent, we could register the UCC container using GitHub Container Registry, Docker Hub, or Amazon ECR (I do not recommend this last one for the reasons explained in #129

Or if philosophically there is some reason folks think we should rebuild every time, we could simply wait the extra time, but I think especially when debugging things unrelated to new versions of the packages installed in the container, it's not necessary to rebuild every single time.
Additional context

@jordandsullivan jordandsullivan added feature New feature or request infrastructure Non-quantum things to improve the robustness of our package, e.g. CI/CD labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request infrastructure Non-quantum things to improve the robustness of our package, e.g. CI/CD
Projects
None yet
Development

No branches or pull requests

1 participant