Conversation
At the moment, we're running out of disk space when building packages in Docker containers. This is because our CI VMs have only 14 GB of storage. To help deal with this problem, let's add an option to the run_dockers.bsh script to prune images after using them so we can free some of that disk space and let the remaining jobs complete.
When building on any CentOS version, we end up building a lot of additional items, and this is especially true of CentOS 6, where we must build Ruby. These intermediate build products run us out of disk space in CI, so let's clean up the RPM build areas and recreate them before building Git LFS itself.
When building on any CentOS version, we end up building a lot of additional items, and this is especially true of CentOS 6, where we must build Ruby. These intermediate build products run us out of disk space in CI, so let's remove the RPMs that we installed to build Ruby once we're done with them.
chrisd8088
approved these changes
Apr 22, 2020
Member
chrisd8088
left a comment
There was a problem hiding this comment.
👍 These all seem like reasonable cleanups; thank you!
chrisd8088
added a commit
to chrisd8088/git-lfs
that referenced
this pull request
Sep 13, 2023
The --prune command-line option was added to the docker/run_dockers.bsh script in commit 4a2e96b of PR git-lfs#4104, and the --arch command-line options was added in commit 569b5ce of PR git-lfs#4728. Earlier, the REPO_HOSTNAME environment variable was removed from all the corresponding Dockerfiles in the git-lfs/build-dockers repository in commit git-lfs/build-dockers@d4c2fe6. We therefore update the docker/run_dockers.bsh script now to remove the unused REPO_HOSTNAME environment variable and document the new --prune and --arch command-line options.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At the moment, we're running out of disk space when building packages in Docker containers. This is because our CI VMs have only 14 GB of storage. To help deal with this problem, let's add an option to the run_dockers.bsh script to prune images after using them so we can free some of that disk space and let the remaining jobs complete.