Merge pull request #32766 from ClickHouse/fix_build_performance

Fix build performance
This commit is contained in:
alesapin 2021-12-14 19:30:00 +03:00 committed by GitHub
commit 6b5d09be57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ if __name__ == "__main__":
logging.info("cache was not fetched, will create empty dir")
os.makedirs(ccache_path)
if build_config['package_type'] == "performance":
if build_config['package_type'] == "performance" and pr_info.number != 0:
# because perf tests store some information about git commits
subprocess.check_call(f"cd {repo_path} && git fetch origin master:master", shell=True)