diff --git a/etc/docker/dev/rucio_entrypoint.sh b/etc/docker/dev/rucio_entrypoint.sh index dacf9e49af4..0337d8eb02f 100755 --- a/etc/docker/dev/rucio_entrypoint.sh +++ b/etc/docker/dev/rucio_entrypoint.sh @@ -19,7 +19,7 @@ if [ -z "$RUCIO_HOME" ]; then RUCIO_HOME=/opt/rucio fi -mkdir -p $RUCIO_HOME +mkdir -p "$RUCIO_HOME" generate_rucio_cfg(){ local override=$1 diff --git a/etc/docker/test/extra/rucio_syntax.cfg b/etc/docker/test/extra/rucio_syntax.cfg deleted file mode 100644 index 7e514f83517..00000000000 --- a/etc/docker/test/extra/rucio_syntax.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[database] -default = sqlite:////tmp/rucio.db \ No newline at end of file diff --git a/etc/docker/test/matrix.yml b/etc/docker/test/matrix.yml index 92cd20e3a64..718a5036de5 100644 --- a/etc/docker/test/matrix.yml +++ b/etc/docker/test/matrix.yml @@ -29,8 +29,12 @@ suites: - id: syntax SYNTAX_REPORT: 1 RUN_HTTPD: false + RDBMS: + - sqlite - id: docs RUN_HTTPD: false + RDBMS: + - sqlite - id: client_syntax RUN_HTTPD: false - id: client diff --git a/etc/docker/test/matrix_nightly.yml b/etc/docker/test/matrix_nightly.yml index 1bbd6f3c41c..59b1380df25 100644 --- a/etc/docker/test/matrix_nightly.yml +++ b/etc/docker/test/matrix_nightly.yml @@ -14,8 +14,12 @@ suites: - id: syntax SYNTAX_REPORT: 1 RUN_HTTPD: false + RDBMS: + - sqlite - id: docs RUN_HTTPD: false + RDBMS: + - sqlite - id: client_syntax RUN_HTTPD: false - id: client diff --git a/tools/merge_rucio_configs.py b/tools/merge_rucio_configs.py index def2776eab9..d6dfbe8aa23 100644 --- a/tools/merge_rucio_configs.py +++ b/tools/merge_rucio_configs.py @@ -130,6 +130,7 @@ def merge_configs(source_file_paths, dest_file_path, use_env=True, logger=loggin logger(logging.INFO, "Merged {} configuration values from ENV".format(config_len(env_config))) if dest_file_path: + logger(logging.INFO, "Writing {}".format(dest_file_path)) with open(dest_file_path, 'w') as dest_file: parser.write(dest_file) else: diff --git a/tools/test/test.sh b/tools/test/test.sh index 798ad0075fe..f14b80bf277 100755 --- a/tools/test/test.sh +++ b/tools/test/test.sh @@ -27,11 +27,6 @@ if [ "$SUITE" == "client" ] || [ "$SUITE" == "client_syntax" ]; then cd $SOURCE_PATH cp etc/docker/test/extra/rucio_client.cfg etc/rucio.cfg -elif [ "$SUITE" == "syntax" ] || [ "$SUITE" == "docs" ]; then - python3 $SOURCE_PATH/tools/merge_rucio_configs.py --use-env \ - -s "$CFG_PATH"/rucio_autotests_common.cfg "$CFG_PATH"/rucio_syntax.cfg \ - -d "$SOURCE_PATH"/etc/rucio.cfg - elif [ "$SUITE" == "votest" ]; then VOTEST_HELPER=$RUCIO_HOME/tools/test/votest_helper.py VOTEST_CONFIG_FILE=$RUCIO_HOME/etc/docker/test/matrix_policy_package_tests.yml