OSVauco/agents/tests/test_local.sh
Chris Christiansen 05030edf61 fix: Set executable bit on shell and python scripts
Per the task in `docs/TODO.md`, this change runs `git update-index --chmod=+x` on all relevant `.sh` and `.py` files in the repository.

This prevents intermittent 'Permission denied' errors when scripts are run in CI/CD environments or after being edited via the GitHub web interface, which can strip file permissions.
2026-05-26 13:23:18 +00:00

14 lines
422 B
Bash
Executable File

#!/bin/bash
# test_local.sh — Run ADK agent locally before deploying to cloud
set -euo pipefail
echo "=== OSVauco-NMTMD-GCOS :: Local Agent Test ==="
gcloud auth application-default print-access-token >/dev/null 2>&1 || {
echo "ERROR: No ADC. Run: gcloud auth application-default login"; exit 1; }
echo "Starting ADK dev server at http://localhost:8080 ..."
echo "Press Ctrl+C to stop."
adk web agents/core-logic/