From 774a2d63034fa22d0e21b03e0572c6caebbf7e82 Mon Sep 17 00:00:00 2001 From: orlovorlov Date: Fri, 16 Jun 2023 13:20:20 +0300 Subject: [PATCH] minor fixes to shutdown scripts --- .github/workflows/systest.yaml | 2 +- yt/docker/yt_nightly/shutdown_cluster.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/systest.yaml b/.github/workflows/systest.yaml index c6bccb90b17e..dceb14018585 100644 --- a/.github/workflows/systest.yaml +++ b/.github/workflows/systest.yaml @@ -71,7 +71,7 @@ jobs: shell: bash run: | export HOME=/root - bash yt/docker/yt_nightly/shutdown_cluster.sh --namespace $(cat /root/ns) + bash yt/docker/yt_nightly/shutdown_cluster.sh --ytsaurus-source-path $(pwd) --namespace $(cat /root/ns) stop-vm: name: Stop VM diff --git a/yt/docker/yt_nightly/shutdown_cluster.sh b/yt/docker/yt_nightly/shutdown_cluster.sh index bc2574bb1734..288c083ee07e 100755 --- a/yt/docker/yt_nightly/shutdown_cluster.sh +++ b/yt/docker/yt_nightly/shutdown_cluster.sh @@ -1,10 +1,15 @@ #!/bin/bash +ytsaurus_source_path="." namespace="" while [[ $# -gt 0 ]]; do key="$1" case $key in + --ytsaurus-source-path) + ytsaurus_source_path=$(realpath "$2") + shift 2 + ;; --namespace) namespace="$2" shift 2