Skip to content

docs: add GCP Cloud Run deployment guide #1167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Mantisus
Copy link
Collaborator

Description

  • Add GCP Cloud Run deployment guide

Issues

@Mantisus Mantisus requested a review from Copilot April 22, 2025 00:51
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new deployment guide for GCP Cloud Run along with example code and necessary dependency updates.

  • Updates the sidebar to link to the new Cloud Run guide.
  • Adds "litestar" as a dependency in pyproject.toml.
  • Provides a new example in Python for deploying on GCP Cloud Run.

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
website/sidebars.js Updated sidebar to include Cloud Run deployment.
pyproject.toml Added dependency "litestar" for the Cloud Run example.
docs/deployment/code_examples/google/cloud_run_example.py Added Cloud Run example using Litestar, Crawlee, and Uvicorn.
Files not reviewed (1)
  • docs/deployment/google_cloud_run.mdx: Language not supported

Mantisus and others added 2 commits April 22, 2025 03:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Mantisus Mantisus requested a review from vdusek April 22, 2025 00:57
@Mantisus Mantisus self-assigned this Apr 22, 2025
Copy link
Collaborator

@vdusek vdusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add links to the relevant GCP products we're covering in the guide?

I believe we're referring to:

Also, I suggest adjust the page titles and metadata as follows:

---
id: gcp-cloud-run
title: Cloud Run
description: Prepare your crawler to run in Cloud Run on Google Cloud Platform.
---
---
id: gcp-cloud-run-functions
title: Cloud Run functions
description: Prepare your crawler to run in Cloud Run functions on Google Cloud Platform.
---

This would result in this structure in the navigation:

- Deploy to Google Cloud
  - Cloud Run functions
  - Cloud Run

@Mantisus Mantisus requested a review from vdusek April 23, 2025 14:24
Copy link
Collaborator

@vdusek vdusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please add a brief introduction at the beginning of the pages with the explanation of what service we are going to use and what its purpose is?


:::

## Deploying to GCP
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Cloud Run we have "Deploying to Google Cloud Platform" title, could we unify them please?

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.

Add a guide for deployment to Google cloud
2 participants