Skip to content
Snippets Groups Projects
Commit fd764f83 authored by Maria Petrova-El Sayed's avatar Maria Petrova-El Sayed
Browse files

Update deployment.sh -> cp -r

parent 1a94094b
No related branches found
No related tags found
No related merge requests found
Pipeline #92652 canceled
......@@ -31,10 +31,10 @@ 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
cp dags/* $AIRFLOW_DIR/dags
cp -r dags/* $AIRFLOW_DIR/dags
cp -r plugins/* $AIRFLOW_DIR/plugins
cp config/* $AIRFLOW_DIR/config
cp templates/* $AIRFLOW_DIR/templates
cp -r templates/* $AIRFLOW_DIR/templates
# Setup environment variables and install requirements
echo -e "AIRFLOW_UID=$(id -u)" > $GIT_REPO/dockers/.env
export AIRFLOW_UID=$(id -u)
......@@ -58,4 +58,4 @@ docker-compose -f $GIT_REPO/dockers/docker-compose.yaml --project-directory $AIR
# nohup docker-compose logs -f >/app/mnt/docker.log & # or similar to capture docker log TODO (seems to cause gitlab CI to hang)
cd $OLD_DIR
\ No newline at end of file
cd $OLD_DIR
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment