principleMinor
Can we consider usage of git lfs for artifacts equally mature strategy to an artifactory?
Viewed 0 times
canequallyartifactslfsconsiderusagegitforstrategymature
Problem
- Git lfs is just support for large files in Git -> good for example for a video file sample if you need it, right?
- But, if you have large artifacts like a trained model or an uber-jar or some other artifact, what is the benefit to version this binary in git?
Solution
What is Git-LFS?
Git Large File Storage (LFS) prevents that large files need to be stored in git itself.
https://git-lfs.github.com/
Git Large File Storage (LFS) replaces large files such as audio
samples, videos, datasets, and graphics with text pointers inside Git,
while storing the file contents on a remote server like GitHub.com or
GitHub Enterprise.
What is artifactory?
Artifactory stores artifacts, e.g. docker images, jars, wars
Artifactory vs. Git-lfs
Artifactory is used to store artifacts while git-lfs is used to prevent that large files are stored in git. If one will store large files in git and one would like to clone this repository it will take a decade before it is cloned.
Git Large File Storage (LFS) prevents that large files need to be stored in git itself.
https://git-lfs.github.com/
Git Large File Storage (LFS) replaces large files such as audio
samples, videos, datasets, and graphics with text pointers inside Git,
while storing the file contents on a remote server like GitHub.com or
GitHub Enterprise.
What is artifactory?
Artifactory stores artifacts, e.g. docker images, jars, wars
Artifactory vs. Git-lfs
Artifactory is used to store artifacts while git-lfs is used to prevent that large files are stored in git. If one will store large files in git and one would like to clone this repository it will take a decade before it is cloned.
Context
StackExchange DevOps Q#2018, answer score: 1
Revisions (0)
No revisions yet.