Skip to content

feat: migrate examples to Cloud Run#599

Open
rowan-m wants to merge 9 commits intomainfrom
cloud-run-config
Open

feat: migrate examples to Cloud Run#599
rowan-m wants to merge 9 commits intomainfrom
cloud-run-config

Conversation

@rowan-m
Copy link
Contributor

@rowan-m rowan-m commented Mar 21, 2026

Migrates the library examples from App Engine to Google Cloud Run, utilizing Docker for containerization and GitHub Actions for automated CI/CD.

Changes:

  • Examples now read reCAPTCHA keys from environment variables.
  • Docker image built with PHP 8.5 and Apache.
  • Deployment workflow triggers on push to main.

This commit migrates the library examples from App Engine to Google Cloud Run.

Key changes:
- Refactored example PHP scripts to use environment variables for reCAPTCHA keys.
- Added a Dockerfile and .dockerignore for containerization.
- Added a GitHub Actions workflow for automated deployment to Cloud Run.
- Removed the obsolete app.yaml configuration.
@coveralls
Copy link

coveralls commented Mar 21, 2026

Coverage Status

coverage: 100.0%. remained the same
when pulling 092eefb on cloud-run-config
into e2fd067 on main.

@github-actions
Copy link

🚀 PR Preview deployed to: https://recaptcha-examples-pr-599-33uhdlpqiq-uc.a.run.app

rowan-m added 2 commits March 22, 2026 16:41
Configures Firebase Hosting to route traffic to Cloud Run, enabling stable production URLs and unique PR preview subdomains.
@github-actions
Copy link

🚀 PR Preview deployed to: https://recaptcha-examples-pr-599-33uhdlpqiq-uc.a.run.app

@github-actions
Copy link

github-actions bot commented Mar 23, 2026

Visit the preview URL for this PR (updated for commit 4770bd1):

https://recaptcha-demo-php--pr-599-s6mwn5w0.web.app

(expires Mon, 30 Mar 2026 11:52:26 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 17d5416ea7c739397a263e3f252b67b6285c1b62

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.

2 participants