mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Fix jepsen runs in PRs
This commit is contained in:
parent
ece96f54e9
commit
ad2b926248
@ -25,6 +25,7 @@ from stopwatch import Stopwatch
|
||||
from tee_popen import TeePopen
|
||||
from upload_result_helper import upload_results
|
||||
from version_helper import get_version_from_repo
|
||||
from build_check import get_release_or_pr
|
||||
|
||||
JEPSEN_GROUP_NAME = "jepsen_group"
|
||||
|
||||
@ -210,12 +211,7 @@ if __name__ == "__main__":
|
||||
|
||||
build_name = get_build_name_for_check(check_name)
|
||||
|
||||
if pr_info.number == 0:
|
||||
version = get_version_from_repo()
|
||||
release_or_pr = f"{version.major}.{version.minor}"
|
||||
else:
|
||||
# PR number for anything else
|
||||
release_or_pr = str(pr_info.number)
|
||||
release_or_pr, _ = get_release_or_pr(pr_info, get_version_from_repo())
|
||||
|
||||
# This check run separately from other checks because it requires exclusive
|
||||
# run (see .github/workflows/jepsen.yml) So we cannot add explicit
|
||||
|
@ -13,19 +13,19 @@
|
||||
<disks>
|
||||
<log_local>
|
||||
<type>local</type>
|
||||
<path>/var/lib/clickhouse/coordination/logs/</path>
|
||||
<path>/home/robot-clickhouse/db/coordination/logs/</path>
|
||||
</log_local>
|
||||
<latest_log_local>
|
||||
<type>local</type>
|
||||
<path>/var/lib/clickhouse/coordination/latest_log/</path>
|
||||
<path>/home/robot-clickhouse/db/coordination/latest_log/</path>
|
||||
</latest_log_local>
|
||||
<snapshot_local>
|
||||
<type>local</type>
|
||||
<path>/var/lib/clickhouse/coordination/snapshots/</path>
|
||||
<path>/home/robot-clickhouse/db/coordination/snapshots/</path>
|
||||
</snapshot_local>
|
||||
<latest_snapshot_local>
|
||||
<type>local</type>
|
||||
<path>/var/lib/clickhouse/coordination/latest_snapshot/</path>
|
||||
<path>/home/robot-clickhouse/db/coordination/latest_snapshot/</path>
|
||||
</latest_snapshot_local>
|
||||
</disks>
|
||||
</storage_configuration>
|
||||
|
Loading…
Reference in New Issue
Block a user