Skip to content

Commit

Permalink
Merge pull request #147 from allthingsclowd/slow-travis-github
Browse files Browse the repository at this point in the history
Slow travis GitHub
  • Loading branch information
allthingsclowd authored Sep 26, 2018
2 parents 6d82b13 + 2b09a03 commit 5dffb9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install_SecretID_Factory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ sudo killall VaultServiceIDFactory &>/dev/null
# Added loop below to overcome Travis-CI download issue
RETRYDOWNLOAD="1"

while [ ${RETRYDOWNLOAD} -lt 5 ] && [ ! -f /usr/local/bin/VaultServiceIDFactory ]
while [ ${RETRYDOWNLOAD} -lt 10 ] && [ ! -f /usr/local/bin/VaultServiceIDFactory ]
do
pushd /usr/local/bin
echo 'Vault SecretID Service Download - Take ${RETRYDOWNLOAD}'
Expand All @@ -89,7 +89,7 @@ do
| grep "browser_download_url" \
| cut -d : -f 2,3 \
| tr -d \" | wget -i - '
sudo chmod +x VaultServiceIDFactory

popd
RETRYDOWNLOAD=$[${RETRYDOWNLOAD}+1]
sleep 5
Expand All @@ -100,7 +100,7 @@ done
exit 1
}

#sudo /usr/local/bin/VaultServiceIDFactory -vault="http://${IP}:8200" &> ${LOG} &
sudo chmod +x /usr/local/bin/VaultServiceIDFactory
sudo /usr/local/bin/VaultServiceIDFactory -vault="${VAULT_ADDR}" &> ${LOG} &

sleep 5
Expand Down

0 comments on commit 5dffb9d

Please sign in to comment.