From e93bc86c938b789ed963acdb2a5d7eee236efc84 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 19 Sep 2025 15:34:27 +1000 Subject: [PATCH] ci: Add back AppImage compression to fix 413 Request Entity Too Large - AppImage is now being created successfully (105MB) - But 105MB exceeds GitLab artifact upload limits - Re-add gzip -9 compression before upload - Compressed AppImage should be ~50-70MB (under limits) - Upload citron.AppImage.gz instead of uncompressed AppImage - Include clear usage instructions for users SUCCESS: AppImage creation is working perfectly with CachyOS! --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6169d361f..413cf2a66 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,9 +76,16 @@ build-linux: - 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" + - echo "Compressing AppImage for upload..." + - gzip -9 citron.AppImage + - ls -la citron.AppImage.gz + - echo "Compressed AppImage size:" + - du -h citron.AppImage.gz + - echo "Note: AppImage has been compressed for artifact upload due to size limits" + - echo "To use: Download citron.AppImage.gz, then run 'gunzip citron.AppImage.gz && chmod +x citron.AppImage'" artifacts: paths: - - citron.AppImage + - citron.AppImage.gz expire_in: 1 week when: always only: