cloud-run

Solid

Deploy container apps to Google Cloud Run — ko or Dockerfile images to Artifact Registry, keyless CI via Workload Identity Federation, Secret Manager wiring. Use when shipping a service, web app, or ADK agent to GCP.

DevOps & Infrastructure 4 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Cloud Run Deployment Standard Canonical path from a container image to a running GCP service: **Cloud Run** is the default deploy target for web apps, APIs, and ADK agents — serverless containers, scale-to-zero, per-request billing. The image comes from the [containerize skill](../containerize/SKILL.md) (`ko` for Go, Dockerfile for Python); this skill covers registry, identity, deploy, and CD. ## 1. Deployment Ladder 1. **`gcloud run deploy` (default)**: one command, ideal for a single service iterated from the CLI. 1. **Declarative manifest**: [service.yaml](references/service.yaml) applied with `gcloud run services replace` — reviewable in PRs once settings accumulate (scaling, secrets, resources). 1. **Full IaC**: `google_cloud_run_v2_service` in the [terraform-stack skill](../terraform-stack/SKILL.md) — when the service is one resource among many (domains, IAM, schedulers). ## 2. One-Time Project Setup ```bash gcloud services enable run.googleapis.com artifactregistry.googleapis.com iamcredentials.googleapis.com gcloud artifacts repositories create <slug> --repository-format=docker --location=<region> gcloud iam service-accounts create <slug>-runtime # runtime identity, least privilege ``` - **Runtime identity**: always deploy with a dedicated service account; grant it only what the app reads (e.g. `roles/secretmanager.secretAccessor` on specific secrets) — never run on the default compute SA. - **CI identity (keyless)**: create a Workload Identity Federation po...

Details

Author
fmind
Repository
fmind/dotfiles
Created
4 months ago
Last Updated
yesterday
Language
Go
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Listed

cloud-run

Deploy headless robotics / sim / demo containers to Google Cloud Run: the build → Artifact Registry → Cloud Run path plus the gotchas that bite sim workloads (no UDP multicast for gz-transport/DDS, CPU allocated only while a request is open, session affinity for per-visitor instances, request timeout / concurrency for long-lived WebSockets, VPC subnet sizing). Use when: 'deploy to Cloud Run', 'gcloud run deploy', 'Cloud Build', 'Artifact Registry', 'host the sim in the cloud', 'Cloud Run WebSocket / Foxglove bridge times out', 'session affinity', '--no-cpu-throttling', 'GZ_RELAY / GZ_IP on Cloud Run', deploy auth from CI with a GCP service-account key. Owns the Cloud Run deploy mechanics that live-demo and environments point at. Not for: the demo orchestrator, session gateway, or mission-control page (live-demo); GPU-cloud/RunPod or uv-vs-Docker choice (environments); general non-robotics gcloud/GCP basics (upstream Google docs).

8 Updated today
robium-ai
DevOps & Infrastructure Listed

gcp-cloud-run-github-actions

GitHub Actions workflows for deploying containerized services to Google Cloud Run — auth, image caching, multi-job pipelines, VPC/Cloud SQL, post-deploy checks. Use when building CI/CD pipelines for Cloud Run.

11 Updated 2 days ago
ajyadav013
DevOps & Infrastructure Listed

cloud-architecture-gcp

GCP service-level architecture knowledge — compute (Cloud Run/GKE/Cloud Functions/GCE), data (Cloud SQL/Spanner/Firestore/Bigtable), messaging (Pub/Sub/Cloud Tasks/Workflows), analytics (BigQuery), edge (Cloud CDN/Load Balancing/API Gateway), storage + secrets (GCS/Secret Manager/Artifact Registry), and Vertex AI. Cost models, quotas, failure modes, and cold-start gotchas. Activate when the active cloud is GCP and the work involves designing, scaling, costing, or diagnosing GCP architecture (Cloud Run cold starts, Cloud SQL connection limits, Spanner hot spots, egress, Pub/Sub backlog).

2 Updated today
eric-sabe