Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 949 Bytes

File metadata and controls

38 lines (28 loc) · 949 Bytes

Cloud Run Deployment

Build, push, and deploy the Cloud Agent image to Google Cloud Run. These steps target the internal innate-agent GCP project and its private Artifact Registry.

Build the Docker image

docker build \
  --platform=linux/amd64 \
  -t us-central1-docker.pkg.dev/innate-agent/innate-agent-websocket-server/agent-ws-server-image:v1.1.6 \
  .

Push the Docker image to Google Artifact Registry

docker push us-central1-docker.pkg.dev/innate-agent/innate-agent-websocket-server/agent-ws-server-image:v1.1.6

Deploy the Cloud Run service

gcloud run deploy agent-ws-server \
  --image us-central1-docker.pkg.dev/innate-agent/innate-agent-websocket-server/agent-ws-server-image:v1.1.6 \
  --platform managed \
  --region us-central1 \
  --port 8765

Test the Cloud Run service

Use the check_ws_server.py script to test the Cloud Run service.

python3 check_ws_server.py