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
The full dpone[full,accel] package belongs in the KPO runtime image, not in the scheduler image.
Remote pack cache
Remote airflow-pack.json artifacts can be published to object storage and
mirrored into a bounded local scheduler cache.
Bootstrap one generation:
dpone-airflow-pack-sync \
--once \
--index-uri s3://do-dwh/dpone-artifacts/prod/airflow-dags-dev/latest/pack-index.json \
--reader-connection-id s3_dpone_artifacts_reader \
--cache-dir /opt/airflow/dags/.dpone-cache/airflow
Refresh without restarting Airflow pods:
dpone-airflow-pack-sync \
--watch \
--interval-seconds 60 \
--jitter-seconds 15 \
--index-uri s3://do-dwh/dpone-artifacts/prod/airflow-dags-dev/latest/pack-index.json \
--reader-connection-id s3_dpone_artifacts_reader \
--cache-dir /opt/airflow/dags/.dpone-cache/airflow
The sync loop is fail-open. On S3, connection, index, or hash errors it writes a
warning status and preserves the previous current generation. DAG parse stays
local and cache-only.
Inspect the current cache status:
dpone-airflow-pack-cache-status \
--cache-dir /opt/airflow/dags/.dpone-cache/airflow
Airflow execution policy
airflow-pack.json can carry a scheduler-side execution policy:
{
"airflow": {
"execution": {
"task_executor": "KubernetesExecutor",
"deferrable": true,
"on_finish_action": "delete_succeeded_pod"
}
}
}
The lightweight provider maps it to KubernetesPodOperator kwargs
(executor, deferrable, on_finish_action) and treats those fields as
pack-owned. DAG-local overrides may still set DAG-owned values such as
retries, pool, get_logs, or in_cluster.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dpone_airflow_pack-0.66.2.tar.gz.
File metadata
- Download URL: dpone_airflow_pack-0.66.2.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10371958e21ecd1a2efb6a334d4f9dd51452f51f6cc0b0385769c39ce8e09e01
|
|
| MD5 |
3044ee289af8f8e093d6d56bdf3bd135
|
|
| BLAKE2b-256 |
dc73c8c5302130d0b9dfb988cd71413658dcb53b9f1f8eabcfb0f51fdcf045be
|
File details
Details for the file dpone_airflow_pack-0.66.2-py3-none-any.whl.
File metadata
- Download URL: dpone_airflow_pack-0.66.2-py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b98b45f58dc139d56d732e10783bf425424a828fd19f0488c8cf93c5350ed0
|
|
| MD5 |
920ab7339e27d43d34607bced6460cec
|
|
| BLAKE2b-256 |
4f5351ecea548cb2615404c49195e0e4865f0e5b253df8bf542ab5cf1bd93a94
|