From 2871b293e1f693c6a8379119ba3632b68b4abdfa Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 10 Apr 2020 20:42:57 +0300 Subject: [PATCH] ci_template: reduce the size of exported artifacts in gst-build jobs This is initial work looking over the deps subprojects and cleaning up the low hanging fruits. Saves about 90mb compressed. --- gitlab/ci_template.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml index 40f6d7b924..71dbadfa1e 100644 --- a/gitlab/ci_template.yml +++ b/gitlab/ci_template.yml @@ -138,6 +138,21 @@ gst indent: # Clean the .git repos since we won't need them anymore - rm -rf subprojects/*/.git/ - rm -rf build/subprojects/*/.git/ + # Clean the big files that are not useful to us to reduce the artifact size + - rm -rf subprojects/FFmpeg/tests + - rm -rf subprojects/FFmpeg/doc + - rm -rf subprojects/openh264/res + - rm -rf subprojects/libxml2-2.9.7/result + - rm -rf subprojects/libxml2-2.9.7/doc + - rm -rf subprojects/libxml2-2.9.7/test + - rm -rf subprojects/libpsl/fuzz + - rm -rf subprojects/glib/gio/tests + - rm -rf subprojects/glib/glib/tests + - rm -rf subprojects/glib/gobject/tests + - rm -rf subprojects/glib/docs/tests + - rm -rf subprojects/glib/tests + - rm -rf subprojects/glib/po + - rm -rf subprojects/glib/docs artifacts: expire_in: "7 days" when: "always"