Skip to main content

conveyor project validate-dags

Validates the DAGs of a project

Synopsis

Validates the DAGs of a project using either a Conveyor or a user-defined image. The DAGs are mounted using the following path: /opt/airflow/dags/$PROJECT_NAME/$DAG_FILES, which is important if you build a custom verifier. More details about DAG validation can be found in the docs: https://docs.conveyordata.com/background-information/how-it-works-on-conveyor/airflow#airflow-dag-validation

conveyor project validate-dags [flags]

Options

      --dag-env-var list                          Set environment variable used for DAG validation or generation
--dag-validation-command string Set this if you use a custom DAG validation image and want to change the command that is run (default "dag_validation")
--dag-validation-image string Set this if you want to use a custom DAG validation image
-h, --help help for validate-dags
--project-dependencies-environment string Overwrite default project dependencies environment

Options inherited from parent commands

      --debug                        Show debug output
--no-browser NO_BROWSER=true Do not automatically open a browser at login instead print the url to the command line. You can also use the environment variable NO_BROWSER=true.
-o, --output string Change the output. Valid options are table or json (default "table")
--quiet QUIET=true Quiet down the output. You can also use the environment variable QUIET=true.

See also