Skip to main content

A dbt pipeline converter to Argo Workflows

Project description

dbt-argo

PyPI - Version

A simple Python package to parse dbt dependencies to create an Argo Workflow job. It can also submit Argo files directly to the server.

Motivations

Simplify CI steps to create Argo workflow for dbt projects.

Limitations

  • This version only support Google Cloud Storage as backend to store dbt artifacts to be used by Argo as artifacts.
  • This version only support CronWorkflow and Workflow generation

Usage

By default, it assumes the dbt_project.yml file is located at the root folder, if not the DBT_PROJECT_DIR can be defined to locate the project path.

Usage: dbt-argo [OPTIONS] COMMAND [ARGS]...

  Test

Options:
  --help  Show this message and exit.

Commands:
  cp      copy local folder to GCS Bucket
  create  Create a dbt Argo Workflow
  cron    Manage cron workflow
  submit  dbt-argo deploy {FILE}

Inspirations

  • Hera for Argo Python CLI + pydantic validation objects
  • couler for easy cluster submission (like kubectl apply -f ...)
  • dbt > 1.5 for easy manifest parsing directly in python scripts
  • Argo CLI for cli options
  • kubectl for simple CLI application
  • cloudpathlib to deal with cloud file like pathlib

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_argo-0.2.0a4.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

dbt_argo-0.2.0a4-py3-none-any.whl (20.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page