Revert "gitlab-ci: reuse container_post_build when building the test images"

ccache is installed as ephemeral. Hence, the build will fail if used
by the post_build script after removing it.

This reverts commit 40ab6d77c0.

Signed-off-by: Andres Gomez <agomez@igalia.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6391>
This commit is contained in:
Andres Gomez 2020-08-19 17:18:43 +03:00 committed by Marge Bot
parent 7e3a788bd3
commit c1e6957033
2 changed files with 6 additions and 2 deletions

View File

@ -69,7 +69,9 @@ apt-get install -y --no-remove \
############### Uninstall the build software
ccache --show-stats
apt-get purge -y \
$STABLE_EPHEMERAL
. .gitlab-ci/container/container_post_build.sh
apt-get autoremove -y --purge

View File

@ -129,7 +129,9 @@ wine \
############### Uninstall the build software
ccache --show-stats
apt-get purge -y \
$STABLE_EPHEMERAL
. .gitlab-ci/container/container_post_build.sh
apt-get autoremove -y --purge