dagster-contrib-gcp
Test
make test
Build
make build
Overview
This package provides integrations with Google Cloud Platform (GCP) services. It currently includes the following integrations:
Cloud Run
Cloud Run run launcher
Adds support for launching Dagster runs on Google Cloud Run. Usage is as follows:
- Create a Cloud Run Job from your Dagster code location image to act as the run worker. If you require multiple environments/code locations, you can create multiple Cloud Run Jobs.
- Add
dagster-contrib-gcpto your Dagster webserver/daemon environment. - Add the following configuration to your Dagster instance YAML:
run_launcher:
module: dagster_contrib_gcp.cloud_run.run_launcher
class: CloudRunRunLauncher
config:
project:
env: GOOGLE_CLOUD_PROJECT
region:
env: GOOGLE_CLOUD_REGION
job_name_by_code_location:
my-code-location-1: my-cloud-run-job-1
# Optional Configuration
my-code-location-2:
name: my-cloud-run-job-2
project_id:
secret_name: SOME_GCP_SECRET
region:
env: A_DIFFERENT_GOOGLE_CLOUD_REGION
Code Location Configuration
The following configurations are supported per code-location:
# No customizations
my-code-location-1: my-cloud-run-job-1
# Environment Variable or Secrets Manager references
my-code-location-1:
name: my-cloud-run-job-1
project_id:
secret_name: A_GCP_SECRET_NAME
region:
env: SOME_ENVIRONMENT_VARIABLE
# Explicit in-line declaration
my-code-location-1:
name: my-cloud-run-job-1
project_id: gcp_123
region: us-central1
# Multi-container support - which container to override on run
my-code-location-1:
name: my-cloud-run-job-1
project_id: gcp_123
region: us-central1
container_name: my-dagster-container-name
Additional steps may be required for configuring IAM permissions, etc. In particular:
- Ensure that the webserver/daemon environment has the necessary permissions to execute the Cloud Run jobs
- Ensure the webserver/daemon can access Secret Manager (if using code location configuration with Secret Manager)
- Ensure that the Cloud Run run worker jobs have the necessary permissions to execute your Dagster runs See the Cloud Run documentation for more information.
Metadata
Release files for dagster-contrib-gcp 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dagster_contrib_gcp-0.0.10.tar.gz | 6.1 kB | Without provenance | Details for dagster_contrib_gcp-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dagster_contrib_gcp-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for dagster_contrib_gcp-0.0.10-py3-none-any.whl |
Total release size: 12.6 kB
Release files / dagster_contrib_gcp-0.0.10.tar.gz
| Download URL | dagster_contrib_gcp-0.0.10.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9517d01a3dec92856e411132abee7c268d1e5af893c10e4a73c23eead9fb65c2
|
|
BLAKE2b-256 checksum How to use checksums |
129d3712551f372e57b80d5209e274f729e592c0ebe5dd6428cfc21dc2f2d6bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dagster_contrib_gcp-0.0.10-py3-none-any.whl
| Download URL | dagster_contrib_gcp-0.0.10-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb71af6bb482f8b0e34af4d930ec87fd7f5554290aa08e94eac7ac5c7cacfdd7
|
|
BLAKE2b-256 checksum How to use checksums |
38e130b671f587d6db1f2a724969042505bb0655d4edf65ae706b1e2e613dfc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for dagster-contrib-gcp 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.