Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
debug logs on the entrypoint shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
fczuardi committed Feb 1, 2024
1 parent 6e67ea1 commit 09dc412
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ 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

# 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
Expand Down

0 comments on commit 09dc412

Please sign in to comment.