Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix ci setup repo error (blockscout#10277)
Browse files Browse the repository at this point in the history
* try to trim BUILDER_IP env

* Revert "try to trim BUILDER_IP env"

This reverts commit 9a95ce9.

* trim BEST_BUILDER env and disable debug message
  • Loading branch information
alik-agaev authored Jun 19, 2024
1 parent aa7f970 commit 18c41a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/select-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,11 @@ for IP in $IP_LIST; do
BEST_BUILDER=$IP
fi
fi
else
echo "Host $IP is unreachable, skipping."
fi
done

if [ -n "$BEST_BUILDER" ]; then
echo "$BEST_BUILDER"
echo "$BEST_BUILDER" | tr -d '[:space:]'
else
echo "No reachable hosts found."
fi

0 comments on commit 18c41a0

Please sign in to comment.