[ARVADOS] updated: 2.1.0-2147-g7f4fb8513

Git user git at public.arvados.org
Thu Mar 24 17:56:54 UTC 2022


Summary of changes:
 tools/salt-install/provision.sh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

       via  7f4fb8513dd8cb2c22abb160642444be4cc7b290 (commit)
      from  d294969f9be42b8f5d4d50a5e8395580915def15 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7f4fb8513dd8cb2c22abb160642444be4cc7b290
Author: Javier Bértoli <jbertoli at curii.com>
Date:   Thu Mar 24 14:56:33 2022 -0300

    18638: Address review comments
    
    Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at curii.com>

diff --git a/tools/salt-install/provision.sh b/tools/salt-install/provision.sh
index f9fbc8b68..1c55972c5 100755
--- a/tools/salt-install/provision.sh
+++ b/tools/salt-install/provision.sh
@@ -417,11 +417,13 @@ for f in $(ls "${SOURCE_PILLARS_DIR}"/*); do
   "${f}" > "${P_DIR}"/$(basename "${f}")
 done
 
-if [ "x${TEST}" = "xyes" ]; then
-  if [ ! -d "${SOURCE_TESTS_DIR}" ]; then
-    echo "You requested to run tests, but ${SOURCE_TESTS_DIR} does not exist or is not a directory. Exiting."
-    exit 1
+if [ ! -d "${SOURCE_TESTS_DIR}" ]; then
+  echo "WARNING: The tests' directory was not copied to \"${SOURCE_TESTS_DIR}\"."
+  if [ "x${TEST}" = "xyes" ]; then
+    echo "WARNING: Disabling tests for this installation."
   fi
+  TEST="no"
+else
   mkdir -p ${T_DIR}
   # Replace cluster and domain name in the test files
   for f in $(ls "${SOURCE_TESTS_DIR}"/*); do

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list