cerbero ci: Wipe in before_script because gitlab doesn't

Noticed in this job, which failed because we rebuilt on top of an
existing builddir:

https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/4772728

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/358>
This commit is contained in:
Nirbheek Chauhan 2020-10-01 10:00:49 +05:30
parent 3dddfacfbf
commit b8e112ed74

View file

@ -108,6 +108,10 @@ cerbero_before_script() {
cat localconf.cbc
time ./cerbero-uninstalled --self-update manifest.xml
# GitLab runner does not always wipe the image after each job, so do that
# to ensure we always have a clean builddir
time $CERBERO $CERBERO_ARGS wipe --keep-sources --build-tools --force
}
cerbero_script() {