From bc7fe7eb6819f19d458e4c71368c5aa74ed957d4 Mon Sep 17 00:00:00 2001 From: Christian Boettcher <c.boettcher@fz-juelich.de> Date: Wed, 4 May 2022 14:42:44 +0200 Subject: [PATCH] doesnt work as intended --- scripts/deployment.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/deployment.sh b/scripts/deployment.sh index d1ecd07..5f0930a 100755 --- a/scripts/deployment.sh +++ b/scripts/deployment.sh @@ -32,14 +32,8 @@ AIRFLOW_DIR=`pwd` echo "Project dir is set to: $AIRFLOW_DIR" echo "Proceeding as user $(whoami)" -# stop all airflow containers while setting up the new ones -docker-compose -f $GIT_REPO/dockers/docker-compose.yaml --project-directory $AIRFLOW_DIR down airflow-webserver -docker-compose -f $GIT_REPO/dockers/docker-compose.yaml --project-directory $AIRFLOW_DIR down airflow-scheduler -docker-compose -f $GIT_REPO/dockers/docker-compose.yaml --project-directory $AIRFLOW_DIR down airflow-triggerer -docker-compose -f $GIT_REPO/dockers/docker-compose.yaml --project-directory $AIRFLOW_DIR down airflow-worker - # clean out the target directory to ensure only new stuff is there -rm -rf $AIRFLOW_DIR/* +# rm -rf $AIRFLOW_DIR/* # Make the necessary folders for the airflow artefacts and copy the corresponging content mkdir -p ./dags ./logs ./plugins ./config ./templates -- GitLab