Skip to main content

astro dev parse

info

The behavior and format of this command are the same for both Astro and Software.

Parse the DAGs in a locally hosted Astro project to quickly check them for errors. Parse tests are defined in the .astro/test_dag_integrity_default.py file of your Astro project. For more information about testing DAGs locally, read Test your Astro project locally.

Usage

astro dev parse

Options

OptionDescriptionPossible Values
--build-secretsRun docker build --secret to mount a secret value to your Docker image.id=<your-secret-id>, src=<path-to-secret> . See Docker documentation.
-e, --envThe filepath to your environment variables. (The default is .env)Any valid filepath within your Astro project
-i, --image-nameThe name of a pre-built custom Docker image to use with your project. The image must be available from a Docker registry hosted on your local machineA valid name for a pre-built Docker image based on Astro Runtime

Examples

# Parse DAGs
astro dev parse

# Specify alternative environment variables
astro dev parse --env=myAlternativeEnvFile.env

Was this page helpful?