From 72353c757c200eec6bf6e3e21d6b7cfb48f1c08a Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 19 Sep 2025 14:16:17 +1000 Subject: [PATCH] ci: Optimize artifacts to fix 413 Request Entity Too Large error - Remove build/bin/citron from artifacts, keep only citron.AppImage - AppImage contains the complete application and all dependencies - Combined artifacts (109MB AppImage + citron binary) exceeded GitLab limits - Single AppImage artifact should be under the size limit - Add size reporting for better monitoring of artifact sizes Success: AppImage creation is now working with CachyOS! --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9bebb201a..a17aa16bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,9 +76,12 @@ build-linux: - echo "Running AppImage build..." - ./AppImage-build-local.sh || echo "AppImage build failed, continuing..." - ls -la *.AppImage || echo "No AppImage files found" + - echo "AppImage size information:" + - du -h *.AppImage || echo "No AppImage to measure" + - echo "Total artifact size:" + - du -sh citron.AppImage build/bin/citron 2>/dev/null || echo "Cannot measure artifact sizes" artifacts: paths: - - build/bin/citron - citron.AppImage expire_in: 1 week when: always