From c3f59af8eda432fffdbcfcec74fcf33d0986a2c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20B=C3=B6ttcher?= <c.boettcher@fz-juelich.de>
Date: Tue, 26 Jul 2022 11:03:06 +0200
Subject: [PATCH] update datacat integration

---
 requirements.txt      | 2 +-
 scripts/deployment.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index d0b08be..d03021a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,4 +5,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 4517eca..a156eeb 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/* && 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
-- 
GitLab