mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- Introduce lib/shell helpers and keep etc/* scripts thin via compatibility shims - Move Kerberos validation to scripts/validation/check_kerberos.sh and update callers - Add deterministic shellspec unit tests under tests/shellspec/ and wire Maven to run them - Add minimal Spring Boot authority module with startup + /health endpoint and Maven wiring - Document the new layout in docs/layout.md Co-authored-by: Junie <junie@jetbrains.com>
15 lines
401 B
Bash
Executable File
15 lines
401 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Compatibility shim: Kerberos validation scripts live under `scripts/validation/`.
|
|
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
|
|
check_script="$SCRIPT_DIR/../scripts/validation/check_kerberos.sh"
|
|
if [[ -x "$check_script" ]]; then
|
|
exec "$check_script" "$@"
|
|
fi
|
|
|
|
echo "ERROR: validation script not found or not executable: $check_script" >&2
|
|
exit 1
|