Skip to content

Instantly share code, notes, and snippets.

@kawsark
Created December 6, 2019 21:31
Show Gist options
  • Save kawsark/74a87420dd9a3a1d9a0c7d4276d30aa9 to your computer and use it in GitHub Desktop.
Save kawsark/74a87420dd9a3a1d9a0c7d4276d30aa9 to your computer and use it in GitHub Desktop.
Simple EnvConsul application
#!/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