Skip to content

Commit

Permalink
OA: added kubernetes executor in migration DAG
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Apr 18, 2024
1 parent 25a121a commit 8bd2528
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dags/migrations/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from airflow.models import DAG
from airflow.models.param import Param
from airflow_provider_alembic.operators.alembic import AlembicOperator
from executor_config import kubernetes_executor_config

with DAG(
"migrations",
Expand All @@ -17,4 +18,5 @@
command="{{ params.command }}",
revision="{{ params.revision }}",
script_location=f"{os.environ['AIRFLOW_HOME']}/dags/migrations/",
executor_config=kubernetes_executor_config,
)

0 comments on commit 8bd2528

Please sign in to comment.