-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Description
The image ghcr.io/tektoncd-catalog/git-clone:v1.1.0 does not include the git-lfs package.
Because of this, cloning repositories that contain large files (>100MB) fails silently - the Tekton git-clone task step completes successfully, but the large files are not actually downloaded. This leads to incomplete repositories and unexpected pipeline behavior.
Steps to Reproduce
- Create a repository with files tracked by Git LFS (e.g., a file larger than 100MB).
- Run a Tekton pipeline with the
git-clonetask that uses the imageghcr.io/tektoncd-catalog/git-clone:v1.1.0. - Observe that the pipeline step reports success.
- Check the cloned workspace: the large file is missing or replaced by a pointer file.
Expected Behavior
The repository should be cloned fully, including all large files managed by Git LFS.
Actual Behavior
Large files are not pulled from the repository. Only LFS pointer files are present.
Proposed Solution
Include the git-lfs package in the git-clone image so that cloning repositories with large files works as expected.
Additional Context
- Image version:
ghcr.io/tektoncd-catalog/git-clone:v1.1.0 - Once
git-lfsis installed manually, the problem disappears and large files are cloned correctly. - In older images, such as
ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.29.0, thegit-lfspackage was present and this issue did not occur.
Metadata
Metadata
Assignees
Labels
No labels