The behavior and format of this command are the same for both Astro and Astro Private Cloud.
- Identify major and minor version changes of the Python packages in your upgrade version.
- Identify dag import errors that will appear after you upgrade.
Usage
Options
Examples
-
Run all tests before upgrading to the latest version of Astro Runtime:
-
Test an Astro project file against a the Astro Runtime distribution of a Airflow 2.6.3:
-
Include deprecation warnings in lint tests (exports to
ruff-lint-results.txt): -
Test only dependency version changes against the Astro Runtime distribution for Airflow 2.6.3:
-
Test a custom image for an upgrade to a custom versioned distribution of Astro Runtime:
If you were upgrading from
quay.io/example-organization/new-example-organization-image:1.0.5, for example, the Astro CLI creates a new Dockerfile located inupgrade-test-1.0.5--1.0.7/Dockerfilethat contains the image you specified and tests against it.