1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | from airflow import DAG
from airflow.operators.dummy_operator import DummyOperator
from airflow.utils.dates import days_ago
import pendulum
default_args = {
'owner': 'data.engineers@viooh.com',
'start_date': pendulum.today('UTC').add(days=-1),
}
with DAG(
dag_id='test_gha_cn_deployment_dag',
default_args=default_args,
# this doesn't run automatically
schedule_interval=None,
catchup=False,
tags=['test']
) as dag:
# dummy task for testing
test_task = DummyOperator(
task_id='dummy_task'
)
|