ci_template: don't use prebuilt binaries for test jobs
authorJordan Petridis <jordan@centricular.com>
Tue, 21 Apr 2020 08:54:04 +0000 (11:54 +0300)
committerJordan Petridis <jordan@centricular.com>
Wed, 22 Apr 2020 06:23:18 +0000 (09:23 +0300)
commitb36d813f5b2c4588886641afbf6a7c7f9774fffe
tree7335695ada4e06c46836d1c88cfb3761af6f759e
parent0c315875be667e4d51040738f794b0e30653706e
ci_template: don't use prebuilt binaries for test jobs

Previously we were optimizing for cpu time, so we where building
gst-build once and then exporting that to be used by the test jobs.
However this meant that we where uploading 200mb (previously 600mb)
zipped of artifacts and then re-downloading them for each test job.
This caused big costs in terms of cloud egress since the runners
aren't hosted on the same cloud as the storage/artifacts instance.

Instead we are going to be rebuilding gst-build for each test
job from now, it also doesn't take more time than the network
i/o would of downloading the artifacts, so the impact of rebuilding
shouldn't be noticebly.

We are also using pinned git refs the modules we rebuild from
the manifest, so the binaries should be reproducible for the most
part (minus things like .pyc files).

Close #68

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/280>
.gitlab-ci.yml
gitlab/ci_template.yml