status: update styling, add this docker dir

This commit is contained in:
pedro 2024-03-08 13:28:43 +01:00
parent a8aec1143c
commit 1d36b1a64b
1 changed files with 13 additions and 3 deletions

View File

@ -28,9 +28,19 @@ main() {
| cut -d'_' -f3 \
| sort -u
)"
printf -- "meta:\n\n"
_dir_info .
d_name="docker"
printf -- "- dir: %-17s | branch: %-8s | commit: %s\n" "${d_name}" "${branch_info}" "${commit_info}"
printf -- " - info: the repo that has all code for deployments, such as this status service\n"
_dir_info ./ssikit_trustchain
printf -- "%-36s | branch: %-8s | commit: %s\n" "${d_name}" "${branch_info}" "${commit_info}"
printf -- " note: outdated ssikit_trustchain version could be present on any instance. Hence, this is only relevant for new or fresh builds\n\n"
printf -- "- dir: %-17s | branch: %-8s | commit: %s\n" "${d_name}" "${branch_info}" "${commit_info}"
printf -- " - note: outdated ssikit_trustchain version could be present on any instance. Hence, this is only relevant for new or fresh builds\n\n"
printf -- "idhub instances:\n\n"
for i in ${instances}; do
dirs="$(find . -maxdepth 1 -type d \
| grep -E 'pilot|instance' \
@ -39,7 +49,7 @@ main() {
echo "- ${i}"
for d in ${dirs}; do
_dir_info "${d}"
printf -- " - %-35s | dir: %-30s | branch: %-8s | commit: %s\n" "${DOMAIN:-unknown domain}" "${d_name}" "${branch_info}" "${commit_info}"
printf -- " - %-32s | dir: %-30s | branch: %-8s | commit: %s\n" "${DOMAIN:-unknown domain}" "${d_name}" "${branch_info}" "${commit_info}"
unset DOMAIN
done
done