Created
December 6, 2019 21:31
-
-
Save kawsark/74a87420dd9a3a1d9a0c7d4276d30aa9 to your computer and use it in GitHub Desktop.
Simple EnvConsul application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "~~~~~~~ Application wrapper invoked, starting loop" | |
i=0 | |
while [ "$i" -lt 100 ] | |
do | |
echo "Loop # $i" | |
echo "Checking for GOOGLE_APPLICATION_CREDENTIALS" | |
echo $GOOGLE_APPLICATION_CREDENTIALS | |
# echo "Checking for GCP_KEY_VIEWER_PRIVATE_KEY_DATA" | |
# echo $GCP_KEY_VIEWER_PRIVATE_KEY_DATA | |
echo "Going to sleep for 120s" | |
sleep 120 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment