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

Commit

Permalink
debug error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Jan 12, 2024
1 parent 7b1fd7d commit 2396250
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions create-space-drain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ prefix=${3:-logstack}
# cf app "${prefix}-space-drain" > /dev/null 2>&1 && echo "Drain already exists." && exit 0

echo "test... downloading..."
curl -L -o /github/home/.cf/plugins/drain-plugin https://github.com/cloudfoundry/cf-drain-cli/releases/download/v2.0.0/cf-drain-cli-linux --insecure &&
curl -L -o /github/home/.cf/plugins/drain-plugin https://github.com/cloudfoundry/cf-drain-cli/releases/download/v2.0.0/cf-drain-cli-linux --insecure
echo "test... finish download..."
echo "test ... linux version"
cat /etc/lsb-release
# echo "test ... linux version"
# cat /etc/lsb-release
pwd
cd /github/home/.cf/plugins/
ls -l
Expand All @@ -48,8 +48,8 @@ ldd drain-plugin
echo "test... Installing..."
chmod 755 drain-plugin
ls -l
cf install-plugin -f drain-plugin &&
rm -f drain-plugin &&
cf install-plugin -f drain-plugin
rm -f drain-plugin
mkdir -p /root/.cf/ && touch /root/.cf/config.json &&
echo "test cf-drain-cli plugin installed successfully."

Expand Down

0 comments on commit 2396250

Please sign in to comment.