Git Large File Storage with Google Cloud Storage

丶灬走出姿态 提交于 2019-12-10 22:18:44

问题


I am part of the project, where we use git repository hosted on google cloud source repository. Right now we use google cloud storage to store raw and processed data.

Everyone involved in the project downloads the data and places it locally in the ./data folder, which is .gitignore-ed.

I would prefer to use git LFS instead, but it is required that if the data has to be stored somewhere externally, it may only be GCS.

Is it possible to configure git LFS, Google Cloud Source Repository and Google Cloud Storage, with git LFS using pointers to GCS data files (instead of some other external server), while keeping full security provided by Google, with account authentication, SSH etc.?


回答1:


I don't know of a git LFS implementation for GCS, but there are a few for S3, and GCS works fine with many applications designed for use with S3. It might be worth trying out one of the S3 implementations of git LFS to see if they work with GCS. If not, they could probably be modified to work reasonably quickly.



来源:https://stackoverflow.com/questions/47865110/git-large-file-storage-with-google-cloud-storage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!