Skip to content

Deploy library-demo to Cloud Run via GitHub Actions#5

Open
afischer wants to merge 2 commits into
masterfrom
deploy/library-demo-cloud-run
Open

Deploy library-demo to Cloud Run via GitHub Actions#5
afischer wants to merge 2 commits into
masterfrom
deploy/library-demo-cloud-run

Conversation

@afischer

@afischer afischer commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a GitHub Actions deploy workflow modeled on newsdev/library
  • Builds a Docker image and pushes to us-docker.pkg.dev/nytint-prd/gcr.io/library-demo
  • Deploys the library-demo Cloud Run service to staging, then production
  • Configures public ingress (--allow-unauthenticated) on the *.newsdev.nytimes.com serverless load balancer

Target URLs:

Companion PR

Prerequisites

This workflow will not authenticate until:

  1. The everything PR is merged and Terraform applied (WIF bindings + service account)
  2. This repository is transferred to the newsdev GitHub org (WIF only trusts newsdev/* repos)
  3. GitHub staging and production environments are configured on this repo
  4. The library-demo_DRIVE_ID secret is populated in GCP Secret Manager (stg + prd)

Test plan

afischer and others added 2 commits June 8, 2026 13:18
Deploy staging and production on push to master, following the newsdev/library
Cloud Run pattern with public ingress at library-demo.newsdev.nytimes.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
The demo app falls back to in-memory cache when Redis is not configured.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant