diff --git a/requirements.txt b/requirements.txt index d0b08be1b6301433865d9c782fa87d403f20991a..d03021ad89ad44d4898718669ad5e7bde56f9dcf 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 4517eca9af9ce60a07147db42cd39f208c7db1ef..a156eeb699723f65b75d3bb24c9d3ddad0b5e9cf 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