Skip to content
Snippets Groups Projects
Commit bc7fe7eb authored by Christian Boettcher's avatar Christian Boettcher
Browse files

doesnt work as intended

parent d55262e2
Branches
Tags
No related merge requests found
Pipeline #99493 passed
...@@ -32,14 +32,8 @@ AIRFLOW_DIR=`pwd` ...@@ -32,14 +32,8 @@ AIRFLOW_DIR=`pwd`
echo "Project dir is set to: $AIRFLOW_DIR" echo "Project dir is set to: $AIRFLOW_DIR"
echo "Proceeding as user $(whoami)" 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 # 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 # Make the necessary folders for the airflow artefacts and copy the corresponging content
mkdir -p ./dags ./logs ./plugins ./config ./templates mkdir -p ./dags ./logs ./plugins ./config ./templates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment