diff --git a/ci/jobs/build_clickhouse.py b/ci/jobs/build_clickhouse.py index 06d8bc1c179..42cecf2e288 100644 --- a/ci/jobs/build_clickhouse.py +++ b/ci/jobs/build_clickhouse.py @@ -135,6 +135,24 @@ def main(): ) res = results[-1].is_ok() + if res and JobStages.UNSHALLOW in stages: + results.append( + Result.create_from_command_execution( + name="Repo Unshallow", + command="git fetch --depth 10000 --filter=tree:0", + with_log=True, + ) + ) + if results[-1].is_ok(): + try: + version = CHVersion.get_version() + print(f"Got version from repo [{version}]") + except Exception as e: + results[-1].set_failed().set_info( + "Failed to retrieve version from repo: ex [{e}]" + ) + res = results[-1].is_ok() + if res and JobStages.BUILD in stages: Shell.check("sccache --show-stats") results.append( diff --git a/tests/config/install.sh b/tests/config/install.sh index ba25f8bc425..54004ef3071 100755 --- a/tests/config/install.sh +++ b/tests/config/install.sh @@ -21,7 +21,7 @@ while [[ "$#" -gt 0 ]]; do --fast-test) FAST_TEST=1 ;; --s3-storage) EXPORT_S3_STORAGE_POLICIES=1 ;; --no-azure) NO_AZURE=1 ;; - *) echo "Unknown option: $1" ; exit 1 ;; + *) echo "Unknown option: $1" ;; esac shift done