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: 85a8f03211
("ci: delete install.tar after extracting it to avoid re-uploading it")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24970>
This commit is contained in:

committed by
Marge Bot

parent
728f6c0b70
commit
95a9f66f30
@@ -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.
|
||||
|
Reference in New Issue
Block a user