CI: stop uploading the build dir to the cache
This tarball is not consumed anymore, but I forgot to remove that code
which was uploading it.
Fixes: 9f07207 (CI: make the build safer)
Change-Id: Iba210028bd1c24417417b07ea23ae8d24b7693bb
diff --git a/ci/build.sh b/ci/build.sh
index 35d3981..96acdeb 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -99,26 +99,5 @@
PATH="$PATH:$(pwd)/host/bin/" pytest -vv ${ZUUL_PROJECT_SRC_DIR}/tests/czechlight-cfg-fs/migrations.py
-if [[ "${ZUUL_JOB_NAME}" =~ clearfog ]]; then
- if [[ ${TRIGGERED_VIA_DEP} != 1 ]]; then
- # store a cached tarball as an artifact
- ARTIFACT=br2-work-dir-${BR2_EXTERNAL_COMMIT}.tar.zst
- # everything but local.mk which we might have adjusted in job prologue, so let's not overwrite that
- tar --totals -c \
- --exclude='images/rootfs.*' \
- --exclude='images/sdcard.*' \
- --exclude='images/usb-flash.*' \
- .br* \
- build \
- .config \
- host \
- images \
- Makefile \
- per-package \
- target \
- | zstd -T0 > ~/zuul-output/artifacts/${ARTIFACT}
- fi
-fi
-
# TODO: USB image as well? (`fallocate -d` to make it sparse)
# TODO: make legal-info