Skip to content

Demo DAGs that show how to run dbt Core in Airflow using Cosmos

License

Notifications You must be signed in to change notification settings

astronomer/cosmos-demo

Repository files navigation

cosmos-demo

This repo contains a dbt project and a set of Airflow DAGs showing how to run dbt in Airflow using Cosmos.

To run this, you'll need:

Setup

  1. Clone this repo
  2. Run astro dev start to start the Airflow instance

The DAGs

The DAGs in this repo are meant to illustrate how to run dbt in Airflow using Cosmos. They use dbt's jaffle_shop example project.

The DAGs fall into three categories:

  • Basic: these are the simplest examples of Cosmos
  • Profiles: these show how to customize your dbt profiles using Cosmos
  • Filtering: these show how to use Cosmos to filter which models are run