mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
CI: packaging
This commit is contained in:
parent
52ae6b48c2
commit
e0c023b8bd
@ -135,6 +135,24 @@ def main():
|
|||||||
)
|
)
|
||||||
res = results[-1].is_ok()
|
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:
|
if res and JobStages.BUILD in stages:
|
||||||
Shell.check("sccache --show-stats")
|
Shell.check("sccache --show-stats")
|
||||||
results.append(
|
results.append(
|
||||||
|
@ -21,7 +21,7 @@ while [[ "$#" -gt 0 ]]; do
|
|||||||
--fast-test) FAST_TEST=1 ;;
|
--fast-test) FAST_TEST=1 ;;
|
||||||
--s3-storage) EXPORT_S3_STORAGE_POLICIES=1 ;;
|
--s3-storage) EXPORT_S3_STORAGE_POLICIES=1 ;;
|
||||||
--no-azure) NO_AZURE=1 ;;
|
--no-azure) NO_AZURE=1 ;;
|
||||||
*) echo "Unknown option: $1" ; exit 1 ;;
|
*) echo "Unknown option: $1" ;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user