orchestra: pre-release WIP snapshot (orchestra-06g4jx6msqep7n0d5jww9ep5x4-d6e6951e)

This commit is contained in:
2026-08-28 21:44:50 +04:00
parent 1d8c3e1f6b
commit 419e17fce2
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
readonly VERSION=1.0.0
# emit <format> <template> [args...]: the single output path. # emit <format> <template> [args...]: the single output path.
# format: text or json print; none suppresses (--quiet). Explicit argument, # format: text or json print; none suppresses (--quiet). Explicit argument,
# never read from an enclosing variable. # never read from an enclosing variable.
@@ -18,6 +20,7 @@ main() {
emit text 'Healthcheck script for Orchestra E2E tests.\n' emit text 'Healthcheck script for Orchestra E2E tests.\n'
emit text 'Exits 0 with a success message if all checks pass.\n' emit text 'Exits 0 with a success message if all checks pass.\n'
emit text ' --quiet Suppress the success message; still exits 0.\n' emit text ' --quiet Suppress the success message; still exits 0.\n'
emit text 'Version: %s\n' "$VERSION"
exit 0 exit 0
elif [ "$arg" = --quiet ]; then elif [ "$arg" = --quiet ]; then
quiet=1 quiet=1
+1 -1
View File
@@ -3,7 +3,7 @@
HC="$(dirname "$0")/orchestra_e2e_healthcheck.sh" HC="$(dirname "$0")/orchestra_e2e_healthcheck.sh"
OK='OK - all healthchecks passed' OK='OK - all healthchecks passed'
USAGE="$(printf 'Usage: orchestra_e2e_healthcheck.sh [--quiet]\n\nHealthcheck script for Orchestra E2E tests.\nExits 0 with a success message if all checks pass.\n --quiet Suppress the success message; still exits 0.')" USAGE="$(printf 'Usage: orchestra_e2e_healthcheck.sh [--quiet]\n\nHealthcheck script for Orchestra E2E tests.\nExits 0 with a success message if all checks pass.\n --quiet Suppress the success message; still exits 0.\nVersion: 1.0.0')"
fails=0 fails=0
check() { # check <expected-stdout> <label> [args...] check() { # check <expected-stdout> <label> [args...]