Skip to content

Commit

Permalink
support cf ic
Browse files Browse the repository at this point in the history
  • Loading branch information
bsanaei committed Jan 26, 2016
1 parent 8368730 commit aba641c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,8 @@ export LOG_DIR=$ARCHIVE_DIR
#############################
log_and_echo "$INFO" "Installing Cloud Foundry CLI"
pushd $EXT_DIR >/dev/null
#gunzip cf-linux-amd64.tgz &> /dev/null
#tar -xvf cf-linux-amd64.tar &> /dev/null
curl -o cf-linux-amd64.tgz -v -L "https://cli.run.pivotal.io/stable?release=linux64-binary&version=6.13.0&source=github-rel"
-gunzip cf-linux-amd64.tgz &> /dev/null
-tar -xvf cf-linux-amd64.tar &> /dev/null
cf help &> /dev/null
RESULT=$?
if [ $RESULT -ne 0 ]; then
Expand All @@ -338,8 +337,9 @@ if [ $RESULT -ne 0 ]; then
${EXT_DIR}/utilities/sendMessage.sh -l bad -m "Failed to install Cloud Foundry CLI. $(get_error_info)"
exit $RESULT
fi
CF_VER=$(cf -v)
popd >/dev/null
log_and_echo "$LABEL" "Successfully installed Cloud Foundry CLI"
log_and_echo "$LABEL" "Successfully installed Cloud Foundry CLI ${DOCKER_VER}"

#####################################
# Install IBM Container Service CLI #
Expand Down
Binary file modified cf-linux-amd64.tgz
Binary file not shown.

0 comments on commit aba641c

Please sign in to comment.