Skip to content

Instantly share code, notes, and snippets.

@kawsark
Created December 6, 2019 21:31
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