Skip to content

Commit

Permalink
chore(scripts/dev.localmode-env.sh): minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Oct 18, 2024
1 parent fd4beb6 commit cf2c180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/scripts/dev.localmode-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export PROXY=$proxyHost:$proxyPort

curl http://${PROXY}/hosts | head -n 1 | grep '\["'
if [ $? -ne 0 -o "${useStop}" = "1" ]; then
srcUrl=https://raw.githubusercontent.com/ytsaurus/ytsaurus/main/yt/docker/local/run_local_cluster.sh
srcUrl=https://raw.githubusercontent.com/ytsaurus/ytsaurus/85b79ee968a7d36258daa705929404ac4bfdc0c4/yt/docker/local/run_local_cluster.sh
echo Error: Cannot get list of hosts. Please make sure your proxy is available.
echo -e "\nYou can use ${srcUrl} to run your local cluster:"
read -p "Do you want to download the file? [yN]: " getAndRun
Expand All @@ -29,7 +29,7 @@ if [ $? -ne 0 -o "${useStop}" = "1" ]; then

echo -e "\n\nrun_local_cluster.sh is downloaded, to run your cluster use command:"

command="./run_local_cluster.sh --yt-version dev --docker-hostname $(hostname) --fqdn localhost --node-count 2 --ui-app-installation ${APP_INSTALLATION:-''}"
command="./run_local_cluster.sh --yt-version stable --docker-hostname $(hostname) --fqdn localhost --node-count 2 --ui-app-installation ${APP_INSTALLATION:-''}"

if [ "$SKIP_PULL" != "" ]; then
command="$command --ui-skip-pull true --yt-skip-pull true"
Expand Down

0 comments on commit cf2c180

Please sign in to comment.