mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gitlab/cerbero: Do not add tmp files to cerbero-deps tarball
This is where the WINEPREFIX is now in Cerbero. This used to be share/wine, but was moved to var/tmp/wine for clarity. It was causing two problems: 1. The size of these generated files are ~1GB, which were ~500MB after tar.gz, and they were completely useless since they can just be regenerated by Wine the next time it's run. Let's not waste egress bandwidth. 2. Random build failures because wineserver and associated processes would not always exit before we started tarring up the prefix, then write to the directory on exit while tar was reading the directory causing `tar -czf` to fail: ``` $ tar -C ${CERBERO_HOME} -czf $CERBERO_DEPS build-tools build-tools.cache dist/${ARCH} ${ARCH}.cache tar: build-tools/share/wine: file changed as we read it Uploading artifacts... manifest.xml: found 1 matching files cerbero-build/logs: found 461 matching files cerbero-build/cerbero-deps.log: found 1 matching files cerbero-deps.tar.gz: found 1 matching files Uploading artifacts to coordinator... ok id=1807197 responseStatus=201 Created token=4_qFUP8z ERROR: Job failed: exit code 1 ```
This commit is contained in:
parent
fbd1eb9283
commit
7d31018ce9
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ build msys2 :
|
||||||
- test "x${CERBERO_OVERRIDDEN_DIST_DIR}" != "x"
|
- test "x${CERBERO_OVERRIDDEN_DIST_DIR}" != "x"
|
||||||
&& mkdir -p ${CERBERO_HOME}/dist/${ARCH}
|
&& mkdir -p ${CERBERO_HOME}/dist/${ARCH}
|
||||||
&& rsync -aH ${CERBERO_OVERRIDDEN_DIST_DIR}/ ${CERBERO_HOME}/dist/${ARCH}
|
&& rsync -aH ${CERBERO_OVERRIDDEN_DIST_DIR}/ ${CERBERO_HOME}/dist/${ARCH}
|
||||||
- tar -C ${CERBERO_HOME} -czf $CERBERO_DEPS
|
- tar -C ${CERBERO_HOME} --exclude=var/tmp -czf $CERBERO_DEPS
|
||||||
build-tools build-tools.cache
|
build-tools build-tools.cache
|
||||||
dist/${ARCH} ${ARCH}.cache
|
dist/${ARCH} ${ARCH}.cache
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue