More info

This commit is contained in:
Alexey Milovidov 2023-08-08 21:02:13 +02:00
parent ed34f3c46f
commit 2b59c1778c

View File

@ -421,8 +421,9 @@ def main():
)
url = f"https://{clickhouse_ci_logs_host}/?query={query}"
file_path = os.path.join(build_profile_path, "profile.json")
file_size = os.path.getsize(file_path)
print(f"::notice ::Log Uploading profile data, path: {file_path}, query: {query}")
print(f"::notice ::Log Uploading profile data, path: {file_path}, size: {file_size}, query: {query}")
with open(file_path, "rb") as file:
requests.post(url, data=file, auth=("ci", maybe_clickhouse_ci_logs_password))