This is a clone of issue OCPBUGS-15606. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-15497. The following is the description of the original issue:
—
I am using a BuildConfig with git source and the Docker strategy. The git repo contains a large zip file via LFS and that zip file is not getting downloaded. Instead just the ascii metadata is getting downloaded. I've created a simple reproducer (https://github.com/selrahal/buildconfig-git-lfs) on my personal github. If you clone the repo
git clone git@github.com:selrahal/buildconfig-git-lfs.git
and apply the bc.yaml file with
oc apply -f bc.yaml
Then start the build with
oc start-build test-git-lfs
You will see the build fails at the unzip step in the docker file
STEP 3/7: RUN unzip migrationtoolkit-mta-cli-5.3.0-offline.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive.
I've attached the full build logs to this issue.
- blocks
-
OCPBUGS-15645 Can't use git lfs in BuildConfig git source with strategy Docker
- Closed
- clones
-
OCPBUGS-15606 Can't use git lfs in BuildConfig git source with strategy Docker
- Closed
- is blocked by
-
OCPBUGS-15606 Can't use git lfs in BuildConfig git source with strategy Docker
- Closed
- is cloned by
-
OCPBUGS-15645 Can't use git lfs in BuildConfig git source with strategy Docker
- Closed
- is related to
-
OCPBUGS-19358 Error occurs during a build with a buildconfig from a git repo that has Nexus LFS files inside
- Closed
- links to