I have an usecase, we are implementing the automation with Gitlab, AWS S3 & Codepipeline, Code & Airflow. In a nutshell when there is a new version of the dag is available in the DAG BAG, i need to pro-grammatically stop the currently running Airflow DAG.
Gurus, could you please shed some light on this : Programmatically how can i stop/ kill the currently running DAG in Airflow ?