From 0c5b63aba18bf51725c98d44412c92c6059208ef Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com> Date: Thu, 6 Feb 2020 22:26:06 +0300 Subject: [PATCH] Update entrypoint.sh --- docker/test/performance-comparison/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/test/performance-comparison/entrypoint.sh b/docker/test/performance-comparison/entrypoint.sh index 4e06637bb7..1fc3961d0f 100755 --- a/docker/test/performance-comparison/entrypoint.sh +++ b/docker/test/performance-comparison/entrypoint.sh @@ -10,6 +10,7 @@ cd workspace # We will compare to the most recent testing tag in master branch, let's find it. rm -rf ch ||: git clone --branch master --single-branch --depth 50 --bare https://github.com/ClickHouse/ClickHouse ch +(cd ch && git fetch origin $SHA_TO_TEST:to-test) # fetch it so that we can show the commit message ref_tag=$(cd ch && git describe --match='v*-testing' --abbrev=0 --first-parent master) echo Reference tag is $ref_tag # We use annotated tags which have their own shas, so we have to further -- GitLab