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.
14 lines
422 B
Bash
Executable File
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/
|