Skip to content

Commit

Permalink
minor fixes to shutdown scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alephonea committed Jun 16, 2023
1 parent ea2c877 commit 774a2d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/systest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions yt/docker/yt_nightly/shutdown_cluster.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 774a2d6

Please sign in to comment.