Skip to content

Commit

Permalink
open-metadata#14028: fix the sed command issue in ingestion dep script (
Browse files Browse the repository at this point in the history
open-metadata#14029)

* fix the sed command issue in ingestion dep script

* remove sql_alchemy_conn from airflow.cfg and use env variable

* try execute ingestion dep script without source
  • Loading branch information
allenkallz authored and Shiyang Xiao committed Dec 12, 2023
1 parent 2a04627 commit 432d66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingestion/ingestion_dependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ AIRFLOW_ADMIN_PASSWORD=${AIRFLOW_ADMIN_PASSWORD:-admin}

OPENMETADATA_SERVER=${OPENMETADATA_SERVER:-"http://openmetadata-server:8585"}

sed -i "s#\(sql_alchemy_conn = \).*#\1${DB_CONN}#" /opt/airflow/airflow.cfg
export AIRFLOW__DATABASE__SQL_ALCHEMY_CONN="${DB_CONN}"

airflow db init

Expand Down

0 comments on commit 432d66b

Please sign in to comment.