Skip to content

Commit

Permalink
STABILITY TOOL: support next ydbd version (ydb-platform#14039)
Browse files Browse the repository at this point in the history
  • Loading branch information
naspirato authored Jan 30, 2025
1 parent 43d4c47 commit a0d0ddd
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions ydb/tests/stability/tool/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,18 +308,7 @@ def deploy_ydb(self):
node = list(self.kikimr_cluster.nodes.values())[0]
node.ssh_command("/Berkanavt/kikimr/bin/kikimr admin console validator disable bootstrap", raise_on_error=True)

for node in self.kikimr_cluster.nodes.values():
node.ssh_command(["sudo", "mkdir", "-p", STRESS_BINARIES_DEPLOY_PATH], raise_on_error=False)
for artifact in self.artifacts:
node.copy_file_or_dir(
artifact,
os.path.join(
STRESS_BINARIES_DEPLOY_PATH,
os.path.basename(
artifact
)
)
)
self.deploy_tools()

def deploy_tools(self):
for node in self.kikimr_cluster.nodes.values():
Expand Down Expand Up @@ -363,6 +352,12 @@ def parse_args():
type=path_type,
help="Path to ydbd",
)
parser.add_argument(
"--next_ydbd_path",
required=False,
type=path_type,
help="Path to next ydbd version",
)
parser.add_argument(
"--ssh_user",
required=False,
Expand Down Expand Up @@ -406,6 +401,7 @@ def main():
ssh_username=ssh_username,
cluster_path=args.cluster_path,
ydbd_path=args.ydbd_path,
ydbd_next_path=args.next_ydbd_path,
)

for action in args.actions:
Expand Down

0 comments on commit a0d0ddd

Please sign in to comment.