Skip to main content

To deploy projects dags to airflow dag directory

Project description

Installation

pip install airflow-dag-deployer

Deploy dags with commandline

Dags can be deployed as zip archive or independent python file prefixed by project name.

Deploying dags as a zip archive

deploydag --project=<project_name> --source=<dags_dir> --destination=<airflow_home> --method=zip

Deploying dags as a file

deploydag --project=<project_name> --source=<dags_dir> --destination=<airflow_home> --method=file

Deploying dags with config file for different environments

Set up of different deployment environment (dev/test/prod)

Have a deploydag.json (or any filename with json setting) file like this:

{
  "dev": {
    "project": "testproject",
    "source": "dags",
    "destination": "airflowhome",
    "method": "zip"
  }
}

Run command like this:

deploydag --config=deploydag.json --env=dev

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

airflow-dag-deployer-0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

airflow_dag_deployer-0.5-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file airflow-dag-deployer-0.5.tar.gz.

File metadata

  • Download URL: airflow-dag-deployer-0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for airflow-dag-deployer-0.5.tar.gz
Algorithm Hash digest
SHA256 61d01470151551192675831e54eb81e062db128f940ad42991465f25564b5bbe
MD5 fbb5abcccde9868354fca6ee06f6db55
BLAKE2b-256 b5cd97156713f534b924720a37d4aed12a0ff63dd9d1d044c339e75e7dc39cbc

See more details on using hashes here.

File details

Details for the file airflow_dag_deployer-0.5-py3-none-any.whl.

File metadata

  • Download URL: airflow_dag_deployer-0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for airflow_dag_deployer-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e6cea06f928bd470dd5bd493a75e584a7139a13469ec474ff7b723b5d4d41d1a
MD5 ab4b6fc0867390d2278b88a66ca70daf
BLAKE2b-256 095d01b54c668df4eeac5131869f49f5c585ecc94e201d3586d25df8f8881e20

See more details on using hashes here.

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