File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 6464Tasks with custom logic are relegated to individual Python files.
6565"""
6666
67+
6768AIRFLOW_HOME = "/opt/airflow"
6869INDEX_GENCON = BashOperator (
6970 task_id = "index_gencon" ,
70- bash_command = "/dags/cob_datapipeline/scripts/ingest_gencon.sh " ,
71+ bash_command = AIRFLOW_HOME + "/dags/cob_datapipeline/scripts/ingest_gencon.sh " ,
7172 retries = 1 ,
7273 env = {
7374 "AWS_ACCESS_KEY_ID" : AIRFLOW_S3 .login ,
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ export PATH="$AIRFLOW_USER_HOME/.rbenv/shims:$AIRFLOW_USER_HOME/.rbenv/bin:$PATH
1414export SOLR_URL=" ${SOLR_WEB_URL// \/\/ /// $SOLR_AUTH_USER : $SOLR_AUTH_PASSWORD @ } "
1515export GENCON_INDEX_PATH=" $PWD /gencon_index"
1616
17- echo " >>> My Dreictory: $PWD "
18-
1917# Get the raw CSV files from S3
2018aws s3 sync $GENCON_CSV_S3 $GENCON_TEMP_PATH --include " *.csv"
2119
You can’t perform that action at this time.
0 commit comments