Skip to content

centos: don't build Git LFS during setup#30

Merged
bk2204 merged 1 commit intogit-lfs:masterfrom
bk2204:faster-build
Nov 26, 2019
Merged

centos: don't build Git LFS during setup#30
bk2204 merged 1 commit intogit-lfs:masterfrom
bk2204:faster-build

Conversation

@bk2204
Copy link
Member

@bk2204 bk2204 commented Nov 25, 2019

We build with the Docker containers primarily on Actions these days, where the containers are created new each time. Building Git LFS during the setup stage means that we must run the entire build and testsuite for a container which will only be used once, which is very expensive.

Remove the code which builds during the setup stage of the Docker containers to make the process faster.

We build with the Docker containers primarily on Actions these days,
where the containers are created new each time.  Building Git LFS during
the setup stage means that we must run the entire build and testsuite
for a container which will only be used once, which is very expensive.

Remove the code which builds during the setup stage of the Docker
containers to make the process faster.
@bk2204 bk2204 requested a review from a team November 25, 2019 21:40
Copy link
Member

@chrisd8088 chrisd8088 left a comment

Choose a reason for hiding this comment

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

👍

@bk2204 bk2204 merged commit d31c7ec into git-lfs:master Nov 26, 2019
@bk2204 bk2204 deleted the faster-build branch November 26, 2019 22:03
chrisd8088 added a commit to chrisd8088/build-dockers that referenced this pull request Dec 26, 2022
In commit 330be9d of PR git-lfs#30 we
removed the directives from the CentOS Dockerfiles which compiled a
version of Git LFS using a stable release version during the container
image setup/build stage, as was originally done to save compilation
time later when the containers were run.  This was no longer valuable
as it increased the overall runtime in GitHub Actions, where we build
containers but only use them once, so we removed the directives.

However, we did not remove the supporting references to the
DOCKER_LFS_BUILD_VERSION environment variable which could be used
to set the specific version of the "bootstrapped" Git LFS build,
so we remove them now along with the relevant documentation.
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.

2 participants