diff --git a/requirements.txt b/requirements.txt index 920dac0317880a6b5ed231faaeca8d7aba6e7df1..cb40ab776ed5a9aa04d12e6d3851f0e5dfbf682d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,4 @@ apache-airflow-providers-ssh apache-airflow-providers-http apache-airflow-providers-sftp --index-url https://gitlab.jsc.fz-juelich.de/api/v4/projects/4405/packages/pypi/simple -airflow-datacat-integration>=0.1.3 +airflow-datacat-integration>=0.1.4 diff --git a/scripts/deployment.sh b/scripts/deployment.sh index 4517eca9af9ce60a07147db42cd39f208c7db1ef..78bf11ac89e4b9f79522cc5f408c731a48cb0c39 100755 --- a/scripts/deployment.sh +++ b/scripts/deployment.sh @@ -40,7 +40,7 @@ echo "Proceeding as user $(whoami)" # Make the necessary folders for the airflow artefacts and copy the corresponging content mkdir -p ./dags ./logs ./plugins ./config ./templates cd $GIT_REPO -git clone $DAG_GIT_URL $AIRFLOW_DIR/dags +rm -rf $AIRFLOW_DIR/dags/* && rm -rf $AIRFLOW_DIR/dags/.git && git clone $DAG_GIT_URL $AIRFLOW_DIR/dags cp -r plugins/* $AIRFLOW_DIR/plugins cp config/* $AIRFLOW_DIR/config/ cp -r templates/* $AIRFLOW_DIR/templates