Skip to content

Commit

Permalink
merge from cudos-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kstoykov committed May 20, 2022
1 parent a415db2 commit 4777797
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools-bash/constructor/src/incs/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ if [ ! -x "$(command -v docker-compose)" ]; then
fi

freeSpaceInKiB=$(df -P "$PARAM_SOURCE_DIR" | tail -1 | awk '{print $4}')
freeSpaceRequirementInKiB=5000000
freeSpaceRequirementInKiB=500000000
if (( freeSpaceInKiB < freeSpaceRequirementInKiB )); then
echo -e "${STYLE_RED}Error:${STYLE_DEFAULT} Free space is less than $freeSpaceRequirementInKiB KiB (Available = $freeSpaceInKiB KiB)";
exit 1;
Expand Down
2 changes: 1 addition & 1 deletion tools-bash/constructor/src/incs/var.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ STYLE_RED='\033[1;31m'
STYLE_GREEN='\033[1;32m'
STYLE_DEFAULT='\033[0m'

REPO_BRANCH="cudos-dev"
REPO_BRANCH="v0.8.0"

if [ "$1" = "init" ]; then
INITIALIZING="true";
Expand Down
2 changes: 1 addition & 1 deletion tools-bash/launcher/src/incs/validate-instances.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ do
fi

freeSpaceInKiB=$(ssh -o "StrictHostKeyChecking no" ${user}@${ip} -p ${port} "df -P \"$PARAM_SOURCE_DIR\" | tail -1 | awk '{print \$4}'")
freeSpaceRequirementInKiB=5000000
freeSpaceRequirementInKiB=500000000
if (( freeSpaceInKiB < freeSpaceRequirementInKiB )); then
echo -e "${STYLE_RED}Error:${STYLE_DEFAULT} The instance $ip:$port has less than $freeSpaceRequirementInKiB KiB free space available (Available = $freeSpaceInKiB KiB)";
exit 1;
Expand Down
2 changes: 1 addition & 1 deletion tools-bash/launcher/src/incs/var.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ STYLE_RED='\033[1;31m'
STYLE_GREEN='\033[1;32m'
STYLE_DEFAULT='\033[0m'

REPO_BRANCH="cudos-dev"
REPO_BRANCH="v0.8.0"

if [ ! -f "$WORKING_DIR/config/.env" ]; then
echo -e "${STYLE_RED}Error:${STYLE_DEFAULT} The $WORKING_DIR/config/.env file is missing";
Expand Down
2 changes: 1 addition & 1 deletion tools-bash/relayer/src/modules/repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cd $PARAM_SOURCE_DIR

echo -ne "Cloning the repos...";
branch="cudos-dev"
branch="v0.8.0"
git clone -q --branch $branch https://github.com/CudoVentures/cudos-builders.git CudosBuilders
echo -e "${STYLE_GREEN}OK${STYLE_DEFAULT}";

Expand Down
2 changes: 1 addition & 1 deletion tools-bash/upgrade/src/modules/repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo -e "${STYLE_GREEN}OK${STYLE_DEFAULT}";


echo -ne "Cloning repos...";
branch="cudos-dev"
branch="v0.8.0"
cd "$PARAM_SOURCE_DIR"
git clone -q --branch "$branch" https://github.com/CudoVentures/cudos-node.git CudosNode &> /dev/null
if [ "$?" != 0 ]; then
Expand Down

0 comments on commit 4777797

Please sign in to comment.