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.
This commit is contained in:
Jordan Petridis 2020-04-10 20:42:57 +03:00
parent 42830e91f6
commit 2871b293e1
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -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"