安装依赖放置在第一个任务中,便于日志查看

This commit is contained in:
shenjian@fangjia.com
2023-03-14 14:10:34 +08:00
parent ea796a823b
commit 3e23948677
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -6,4 +6,5 @@ log = logging.getLogger(__name__)
def install():
log.info("begin install requirements")
os.system("pip install -r /opt/airflow/dags/repo/dags/requirements.txt -i https://repo.fangjia.com/repository/pypi-public/simple/")
os.system("pip install -I goojia_utils -i https://repo.fangjia.com/repository/pypi-public/simple/")
log.info("finish install requirements")
+1 -2
View File
@@ -1,4 +1,3 @@
elasticsearch==7.11.0
transbigdata==0.4.15
pykalman==0.9.5
goojia_utils
pykalman==0.9.5