gitlab-ci: reuse container_post_build when building the test images
authorAndres Gomez <agomez@igalia.com>
Mon, 17 Aug 2020 09:49:52 +0000 (12:49 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 08:56:45 +0000 (08:56 +0000)
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6343>

.gitlab-ci/container/x86_test-gl.sh
.gitlab-ci/container/x86_test-vk.sh

index aaed8ec14592fa964ce210c2b3a8fc08b9af38d7..e1d80ad70679df10e411410ac7ef4ef1ad76df61 100644 (file)
@@ -69,9 +69,7 @@ apt-get install -y --no-remove \
 
 ############### Uninstall the build software
 
 
 ############### Uninstall the build software
 
-ccache --show-stats
-
 apt-get purge -y \
       $STABLE_EPHEMERAL
 
 apt-get purge -y \
       $STABLE_EPHEMERAL
 
-apt-get autoremove -y --purge
+. .gitlab-ci/container/container_post_build.sh
index c32280710154ef0c68287ba128949d8110a0af99..c1d31b2d5cd37b1888b5ac358f9b675cd8a23d08 100644 (file)
@@ -129,9 +129,7 @@ wine \
 
 ############### Uninstall the build software
 
 
 ############### Uninstall the build software
 
-ccache --show-stats
-
 apt-get purge -y \
       $STABLE_EPHEMERAL
 
 apt-get purge -y \
       $STABLE_EPHEMERAL
 
-apt-get autoremove -y --purge
+. .gitlab-ci/container/container_post_build.sh