From 0ee688b5afe0f5eb1e83cf73a4424710d2392751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Pal=C3=A9ologue?= Date: Wed, 15 Nov 2023 10:11:46 +0000 Subject: [PATCH] Workaround running installer in CI --- install_with_auto_mode.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install_with_auto_mode.sh b/install_with_auto_mode.sh index 947e649..808c87b 100755 --- a/install_with_auto_mode.sh +++ b/install_with_auto_mode.sh @@ -13,6 +13,10 @@ fi if [ -n "$CI" ] && [ "$CI" = 1 ]; then INSTALL_MODE_FLAG=("--mode" "unattended") fi +# For ROS 2 CI, we can check if we're in a Docker container. +if [ -f /.dockerenv ]; then + INSTALL_MODE_FLAG=("--mode" "unattended") +fi # Unless they specifically agree to the license. if [ -n "$I_AGREE_TO_PEPPER_MESHES_LICENSE" ] && [ "$I_AGREE_TO_PEPPER_MESHES_LICENSE" = 1 ]; then