GoogleCloudPlatform / GoogleCloudPlatform/cloud-builders-community
Cloud build with source repositories - mirror github repo containing git lfs files
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 848
- PR merge metrics
- No merged PRs in 30d
Description
I have a GitHub repo with Dockerfile mirrored to google source repositories. I also have a trigger such that for every new commit, my repo is built in cloud build according to my Dockerfile.
One of the files I'm using in the Dockerfile is stored in git lfs. my build failes and provides
error: open of version failed: No such file or directory
Is there any way to make cloud build work with git lfs?
Contributor guide
Research direction
Start with the Dockerfile, the GitHub-to-Source Repositories mirror, and the Cloud Build trigger described in the report. Reproduce the build using a Git LFS-backed file and trace the reported “open of version failed” error; done means the mirrored repository builds successfully through Cloud Build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile, git, github, go, google-cloud
- Domain
- build-system, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100