17 lines
609 B
Bash
Executable File
17 lines
609 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
repo_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
expected_omnisocket_commit="de3f5c96779dbe1571c10feb22fc7f2331b6b222"
|
|
|
|
python3 "$repo_dir/tg3_omnisocket_transport/test_session_gate.py"
|
|
python3 "$repo_dir/tg3_local_teleop/test_session_gate.py"
|
|
|
|
actual_omnisocket_commit="$(git -C "$repo_dir/OmniSocketGo" rev-parse HEAD)"
|
|
if [[ "$actual_omnisocket_commit" != "$expected_omnisocket_commit" ]]; then
|
|
echo "OmniSocketGo commit mismatch: $actual_omnisocket_commit" >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "Offline checks passed; OmniSocketGo is pinned to $actual_omnisocket_commit"
|