From 09dc412e5d087a636910ae759933825da8e9c49b Mon Sep 17 00:00:00 2001 From: Fabricio C Zuardi Date: Thu, 1 Feb 2024 16:19:51 -0300 Subject: [PATCH] debug logs on the entrypoint shell script --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index e1bb261..1bf8f70 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,6 +13,7 @@ printf ":-)\n\n$(date)\n" > /app/results/smile.txt # create config.yaml file from env var echo "$CONFIG_YAML_CONTENT" > /app/config.yaml +cat /app/config.yaml # create ~/.aws/* config files just _setup @@ -20,6 +21,8 @@ just _setup # space separated list of remote names remotes=$(dasel -f /app/config.yaml -r yaml -s '.remotes.all().key()' | tr '\n' ' ') +echo "Remotes: $remotes" + # tries a list-buckets on each remote for remote in $remotes; do echo "$remote:" >> /app/results/smile.txt