Fix shellcheck

This commit is contained in:
Alexey Milovidov 2023-08-06 05:17:39 +02:00
parent c9b9bedc4e
commit f0a632f1f1

View File

@ -119,9 +119,9 @@ done
# Initialize export of system logs to ClickHouse Cloud
if [ -n "${CLICKHOUSE_CI_LOGS_HOST}" ]
then
EXTRA_COLUMNS_EXPRESSION="$PULL_REQUEST_NUMBER AS pull_request_number, '$COMMIT_SHA' AS commit_sha, '$CHECK_START_TIME' AS check_start_time, '$CHECK_NAME' AS check_name, '$INSTANCE_TYPE' AS instance_type"
export EXTRA_COLUMNS_EXPRESSION="$PULL_REQUEST_NUMBER AS pull_request_number, '$COMMIT_SHA' AS commit_sha, '$CHECK_START_TIME' AS check_start_time, '$CHECK_NAME' AS check_name, '$INSTANCE_TYPE' AS instance_type"
# TODO: Check if the password will appear in the logs.
CONNECTION_PARAMETERS="--secure --user ci --host '${CLICKHOUSE_CI_LOGS_HOST}' --password '${CLICKHOUSE_CI_LOGS_PASSWORD}'"
export CONNECTION_PARAMETERS="--secure --user ci --host '${CLICKHOUSE_CI_LOGS_HOST}' --password '${CLICKHOUSE_CI_LOGS_PASSWORD}'"
/repository/utils/export-logs-in-ci/setup.sh
fi