From 95a9f66f30a6026f4ac46059e4cbcd65f1a48881 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 31 Aug 2023 13:32:06 +0100 Subject: [PATCH] ci/b2c: skip install.tar extraction if the tarball is not present This is the case when retrying after a B2C_TIMEOUT for instance. Fixes: 85a8f03211090bc9a23a ("ci: delete install.tar after extracting it to avoid re-uploading it") Part-of: --- .gitlab-ci/test/gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index 84000b2..2a8f6919 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -337,7 +337,7 @@ clang-format: [ -d "$CI_COMMON_SCRIPTS" ] || exit 1 - B2C_TEST_SCRIPT="bash -c 'tar xf ${INSTALL_TARBALL_NAME} && rm ${INSTALL_TARBALL_NAME}; ./install/common/init-stage2.sh'" + B2C_TEST_SCRIPT="bash -c 'if [ -f ${INSTALL_TARBALL_NAME} ]; then tar xf ${INSTALL_TARBALL_NAME} && rm ${INSTALL_TARBALL_NAME}; fi; ./install/common/init-stage2.sh'" # The Valve CI gateway receives jobs in a YAML format. Create a # job description from the CI environment. -- 2.7.4