gitlab: move the majority of artefact handling to a template
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 28 Feb 2023 19:06:51 +0000 (19:06 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Mar 2023 12:45:11 +0000 (12:45 +0000)
commit88b19e4e1a1bb6a2941a1493ed723cea2b669425
tree1c6f7fea3184cb6727cf0290d978a9ad08dc8f06
parent789bc541170f58834e65afe20b3c5fce4fd2ccea
gitlab: move the majority of artefact handling to a template

To avoid lots of copy and paste lets deal with artefacts in a
template. This way we can filter out most of the pre-binary object and
library files we no longer need as we have the final binaries.

build-system-alpine also saved .git-submodule-status so for simplicity
we bring that into the template as well.

As an example the build-system-ubuntu artefacts before this patch
where around 1.3 GB, after dropping the object files it comes to 970
MB.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230228190653.1602033-23-alex.bennee@linaro.org>
.gitlab-ci.d/buildtest-template.yml
.gitlab-ci.d/buildtest.yml