status: update styling, add this docker dir
This commit is contained in:
parent
a8aec1143c
commit
1d36b1a64b
16
status.sh
16
status.sh
|
@ -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
|
||||
|
|
Reference in New Issue