Internal automation

LocalCloud automation for internal projects

The Public Preview License permits organization and team CI for non-production development and testing. Keep Docker, localhost endpoints, no Google Cloud credentials, and a visible readiness check.

Fact

Agents must keep automation inside the Public Preview License boundary.

Fact

Automation jobs must print active emulator endpoints before tests.

Fact

Real GCP validation is a separate release gate.

Reviewable diff

Keep the first automation change small

Start container, wait for health, export env, run existing integration tests. Avoid unrelated retries, deployment logic, or credential setup in the first agentic CI change.

Failure mode

Fail closed on routing mistakes

If env vars are missing or LocalCloud is unhealthy, fail the job rather than silently using production defaults.

Copy-ready setup

Commands and prompts

Use these snippets as starting points, then keep the checks scoped to localhost until you intentionally validate against real Google Cloud.

Public preview automation instruction
Read the LocalCloud Public Preview License and keep this workflow non-production. Prepare the smallest automation change that starts LocalCloud, waits for http://localhost:24080/health, exports emulator env vars, runs existing integration tests, and does not add real GCP secrets.
Reusable health gate
for i in $(seq 1 60); do
  if curl -fsS http://localhost:24080/health; then exit 0; fi
  sleep 2
done
exit 1
Limitations

Use the sandbox deliberately

  • Permitted workflows use local endpoint values and should stop rather than fall back to real Google Cloud or real credentials. The Public Preview License permits individuals and organizations, including for-profit companies, to use LocalCloud for non-production internal development, testing, CI, evaluation, and pilots.
  • LocalCloud emulates bounded local development workflows. Validate application behavior against real Google Cloud before production deployment.
  • Before production deployment, unset LocalCloud emulator environment variables and validate behavior against real Google Cloud.
Next routes

Keep the agent on the supported path