New: promote the image that ran in UAT, by commit →

Ship to Cloud Run
from one file.

One runway.yaml for your servicesjobsschedulesworkflowssecretsbranch previewscanariesreleases

runway builds your code, creates what it needs (identity, grants, secrets, buckets, schedules, workflows, domains), rolls it out, waits until it is healthy and manages traffic and releases. No state file. No cluster. Every run reads the live project and changes only what differs.

$ brew install echaouchna/tap/runway
~/hello — runway

      
✓ hello-prod healthy in 38s
preview: feature-login
10% canary
0file to describe it all
0state files, 0 clusters
0commands, one mental model
0idempotent: re-run any time
Cloud RunCloud BuildArtifact RegistrySecret ManagerCloud SchedulerWorkflowsIAMIdentity-Aware ProxyCloud StorageLoad BalancingCertificate ManagerCloud DNSCloud SQLDirect VPC egressOpenTelemetryResource Manager tags
How it works

Describe it once. Re-run forever.

Scroll through a deploy. Each step reads the live project first and changes only what differs, in dependency order, so an interrupted run simply resumes.

runway.yaml
version: 1
app: hello
provider:
  project: my-gcp-project
  region: europe-west1
  enable_apis: true
  create_build_resources: true
secrets:
  api-key: { adders: [group:devs@example.com] }
service:
  source: .            # Dockerfile or buildpacks
  service_account: "hello-run@${project}.iam.gserviceaccount.com"
  identity:
    create: true
    roles: [{ role: roles/storage.objectUser, bucket: my-data }]
  secrets: { API_KEY: { secret: "${secrets.api-key}" } }
  health_check: { path: /healthz }
  iap: { members: [group:devs@example.com] }
stages:
  dev: {}
  prod: { service: { min_instances: 1 } }
  1. 01

    APIs

    Enables what the file needs (Cloud Run, Cloud Build, Secret Manager…), or runway doctor lists them.

  2. 02

    Build resources

    The image repository, the source bucket (30-day cleanup) and a build account with exactly the roles it needs.

  3. 03

    Secrets

    Created empty, fillable by the people you list. The deploy stops with the exact gcloud command until they have a value.

  4. 04

    Identity & grants

    A runtime account per app, service or job, with roles on exactly one bucket, dataset, secret or project. Removed access is revoked.

  5. 05

    Build

    Cloud Build, content-addressed: the same source and base images are never built twice.

  6. 06

    Roll out & wait

    Pinned digest, probes, scaling. runway waits until the revision is healthy, and shows why when it is not.

  7. 07

    Traffic & access

    Public, private, IAP or restricted ingress; previews, canaries and promotions without revision churn.

Features

Everything a Cloud Run app needs, nothing to glue.

Services, jobs, schedules and workflows, the build, least-privilege identity, secrets, storage, networking, domains, traffic and releases: one configuration, one command.

Plans you can trust

runway plan diffs config, image, traffic and grants against the live project, field by field, and says plainly when something is only known at deploy time.

Builds that skip themselves

Dockerfile or buildpacks on Cloud Build. Same source and base images: no rebuild.

A URL per branch

--preview $BRANCH: its own URL, no traffic. Merged branches are pruned.

Secrets without the dance

Created empty, filled by the right people, pinned at deploy. Values never appear in plans.

Least privilege by default

Private by default, IAP when you want it, one role on one resource, revoked when removed.

Services, jobs, schedules

Several services, Cloud Run jobs and Cloud Scheduler in one file. A schedule runs a job, calls a service or starts a workflow. --only apps/web in a monorepo.

A doctor that tells you exactly what to do

runway doctor checks credentials, APIs, permissions and every repository, and for each gap names who lacks what, where, the role that grants it, and the command.

Observability built in

otel_collector: {} adds Google's OpenTelemetry Collector. runway logs --follow.

Domains, networks, databases

Load balancer and managed certificates, DNS records, direct VPC egress, Cloud SQL, sandboxes.

Workflows that know your stack

Deploy Google Cloud Workflows from your repository. runway puts in the URLs of your services and the names of your jobs, grants each workflow access to exactly what it calls, and can start it on a schedule.

Learn it in the terminal

runway explain: every key, with examples, your values per stage, and a search that understands what you want to do.

Traffic

Previews, canaries and rollbacks, one command each.

Every revision keeps its URL. Move traffic in steps, watch, and promote or roll back without rebuilding.

$ runway deploy --stage prod --preview feature/login
hello-prod-00012stable
100%
hello-prod-00013feature-login
0%

A revision with its own URL, no traffic: share https://feature-login---hello-prod-…run.app for review.

Releases & promotion

Release exactly what you tested.

dev builds. UAT promotes what dev serves. On a git tag, prod promotes the image UAT ran for that exact commit, publishes it to your release registry and tags it: same digest, no rebuild, no guess.

dev

Builds

from main, commit a1b2c3

src-5ce4…
uat

Promotes

promote: {from: dev}

1.2.0-RC2
prod

Releases

promote: {from: uat, commit: checkout}

1.2.0
Evidence, not guesses. What a stage serves is read from its one revision with all the traffic, with the commit and release that revision records.
Your registry, your paths. Publish to LOCATION-docker.pkg.dev/PROJECT/REPO/team/agent:1.2.0, as a dedicated push account.
Safe to re-run. A version is never moved to another image; a re-run keeps what the stage already serves.
Demo

See it run, in under a minute.

The offline diagram, a first deploy, an exact plan, a URL per branch, a canary and pruning. Pause any time and copy what you see. Cloud output uses sample names; waits are shortened.

~/hello
CI/CD

The same command in your pipeline.

Workload Identity Federation, a container image, JSON output, stable exit codes, and a lease so two pipelines never step on each other.

  • Branches get a preview URL, merged ones are pruned
  • Tags release, with the version checked against your changelog
  • An older commit is refused unless you mean it (--allow-older)
  • Impersonate a deployer; push images as another account
.gitlab-ci.yml
preview:
  script: runway deploy --preview "$CI_COMMIT_REF_NAME"
  rules: [{ if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH }]

release:
  script: runway deploy --stage prod --tag
  rules: [{ if: $CI_COMMIT_TAG }]

prune:
  script: runway preview prune --yes
  rules: [{ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH }]
Compare

Where runway fits

Keep Terraform for shared platform resources and GitOps for Kubernetes. runway takes the part that changes every day: the Cloud Run application.

CI scripts + TerraformGitOps (Argo CD)runway
What the app team maintainsCI YAML + HCL, often in several reposCI + manifests + controller CRDsone runway.yaml
Extra infrastructurestate buckets, a Terraform pipelinea cluster and controllersnone
Branch previews, canariesbuild it yourselfKubernetes-centricbuilt in
Promotion by commitscripts around image tagsimage updater + conventionsbuilt in, with evidence
Secretscreated by Terraform, filled by handa secrets operatorcreated, granted, checked before deploy
Driftnext applyhealed continuouslynext plan or deploy

Cleared for take-off.

Write a runway.yaml, run runway deploy, and get back to your code.