drt deploy cloud-run-job
Scaffold a containerized Cloud Run Job and Cloud Scheduler trigger.
Usage
drt deploy cloud-run-job [OPTIONS]
Options
| Option | Type | Default | Description |
|---|---|---|---|
--schedule, -s | TEXT | Required 5-field cron schedule, e.g. "40 3 * * *". | |
--select | TEXT | * | One sync selector passed to drt run. |
--extras | TEXT | Override the inferred drt-core extras (comma-separated). | |
--drt-version | TEXT | Pin the image to drt-core==VERSION (e.g. 1.2.1) for reproducible builds. Without it the image installs the latest drt-core, like deploy github-actions. | |
--output-dir, -o | PATH | deploy/cloud-run-job | Directory for Dockerfile, job.yaml, and scheduler.sh. |
--dry-run | BOOLEAN | Print all scaffold files instead of writing them. | |
--force | BOOLEAN | Overwrite existing scaffold files. | |
--allow-inline-secrets | BOOLEAN | Build the image even though project YAML contains literal credentials (they would be baked into an image layer). Prefer *_env references. |