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

👷 Switch to podman and introduce better caching #416

Merged
merged 18 commits into from
Aug 25, 2024

Conversation

aaronleopold
Copy link
Collaborator

@aaronleopold aaronleopold commented Aug 23, 2024

This PR swaps docker CI builds to use podman and adds cache mounts to improve overall build times

@aaronleopold
Copy link
Collaborator Author

I've refactored the docker workflow to use the podman engine instead and added some cache mounts. Note that before swapping to podman, the cache mounts caused a hang in arm64 for whatever reason.

I've gotten a 44s total build time for a consecutive build, each layer hit the cache, but that is very likely an overly eager and unrealistic scenario. The next test will be ensuring the compiled deps stay cached when actual code changes

@aaronleopold aaronleopold changed the title [DRAFT] 👷 Docker caching 👷 Switch to podman and introduce better caching Aug 25, 2024
@aaronleopold
Copy link
Collaborator Author

I've gotten successful builds multiple runs now, so I think this PR should be good to merge

@aaronleopold aaronleopold marked this pull request as ready for review August 25, 2024 18:00
@aaronleopold aaronleopold merged commit 6a16235 into develop Aug 25, 2024
5 of 6 checks passed
@aaronleopold aaronleopold deleted the al/docker-experimenting branch August 25, 2024 18:00
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.

1 participant