diff --git a/README.md b/README.md index 498aa95..2d26f25 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,5 @@ Gardening the Cooperative Cloud configurations. ### Scripts -- **clone_all.py**: clone all coop-cloud/... repositories into a local clones folder +- **clone_all.py**: clone all `coop-cloud/...` repositories into a local `clones/...` folder +- **list_services.sh**: show all `services:...` in all `compose.yml` files under `clones/...` diff --git a/list_services.sh b/list_services.sh new file mode 100755 index 0000000..cf5b565 --- /dev/null +++ b/list_services.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +for f in clones/*/compose.yml; + do echo "${f}" && \ + yq read --printMode p "$f" 'services.*' && \ + echo; + done