docs: add GCP Cloud Run deployment guide by Mantisus · Pull Request #1167 · apify/crawlee-python · GitHub
Skip to content

docs: add GCP Cloud Run deployment guide - #1167

Merged
vdusek merged 8 commits into
apify:masterfrom
Mantisus:gcp-cloud-run
Apr 24, 2025
Merged

vdusek merged 8 commits into
apify:masterfrom
Mantisus:gcp-cloud-run

Conversation

@Mantisus

Copy link
Copy Markdown
Collaborator

Description

  • Add GCP Cloud Run deployment guide

Issues

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread docs/deployment/code_examples/google/cloud_run_example.py Outdated
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

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

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

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

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?

Comment thread docs/deployment/google_cloud_run.mdx Outdated

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@vdusek
vdusek merged commit 3121f44 into apify:master Apr 24, 2025
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

3 participants