Add services listing script
This commit is contained in:
parent
9855b54766
commit
4b3db2f67e
@ -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/...`
|
||||
|
7
list_services.sh
Executable file
7
list_services.sh
Executable file
@ -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
|
Reference in New Issue
Block a user