Skip to main content

Lightweight Airflow scheduler-side pack provider for dpone GitOps workloads

Project description

dpone-airflow-pack

dpone-airflow-pack is the lightweight Airflow scheduler/webserver provider for dpone GitOps packs.

It only reads a static airflow-pack.json and builds visible Airflow/Kubernetes tasks. It does not import the full dpone runtime and intentionally contains no source/sink/native transfer dependencies such as ClickHouse, MSSQL, pyodbc, pandas, polars, or ConnectorX.

Recommended Airflow DAG import:

from dpone_airflow_pack import build_dpone_gitops_task_group_from_pack

For remote immutable packs, keep DAG parsing cache-only:

dpone-airflow-pack-sync \
  --once \
  --index-uri s3://bucket/dpone-artifacts/prod/repo/latest/pack-index.json \
  --reader-connection-id s3_dpone_artifacts_reader \
  --cache-dir /opt/airflow/dags/.dpone-cache/airflow

dpone-airflow-pack-cache-status \
  --cache-dir /opt/airflow/dags/.dpone-cache/airflow \
  --json

Use load_dpone_airflow_pack_with_provenance("cached://<workload_id>") when a DAG wrapper needs to expose which cache generation and pack checksum were used during parse. A KubernetesExecutor runtime worker is not required to mount the scheduler or DAG processor cache.

For DAGs that should run a whole GitOps domain or a named workflow group, keep the grouping in the domain catalog and resolve it through the lightweight provider:

workflow_groups:
  daily:
    workload_ids:
      - dim_customer
      - fact_order
from dpone_airflow_pack import workload_ids_from_gitops_domain

workload_ids = workload_ids_from_gitops_domain(
    repo_root,
    "sales",
    group="daily",
)

The resolver only reads YAML files and validates that every group member exists in the same domain catalog.

The full dpone[full,accel] package belongs in the KPO runtime image, not in the scheduler image.

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

dpone_airflow_pack-0.68.15.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dpone_airflow_pack-0.68.15-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file dpone_airflow_pack-0.68.15.tar.gz.

File metadata

  • Download URL: dpone_airflow_pack-0.68.15.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dpone_airflow_pack-0.68.15.tar.gz
Algorithm Hash digest
SHA256 fdc14042afbda536d0477dc234f6fbdf7946e5bf704f93597f02335cac948d06
MD5 68934b8caa5d9db1d8441a7cb3f68b84
BLAKE2b-256 bd0be6d2e1b4508d502b6b0d3bba695fb7cdf26115b56ea84d8c6e737d32130b

See more details on using hashes here.

File details

Details for the file dpone_airflow_pack-0.68.15-py3-none-any.whl.

File metadata

File hashes

Hashes for dpone_airflow_pack-0.68.15-py3-none-any.whl
Algorithm Hash digest
SHA256 4fc7a8089e270a6c2eaf6ed86a33c80a5537b1da742a9edc52f7929707aa062a
MD5 9471348687014ef308af1b5d02a6df21
BLAKE2b-256 358c1b735fe4f6b06639b2e52e1451d6f12dbe5a6489c56dc3521c7194e1729d

See more details on using hashes here.

Supported by

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