Commit c8862cac authored by Julian Gründner's avatar Julian Gründner

feat: add correct update scripts for deployment

parent 0d399bfa
Pipeline #5510 passed with stages
in 56 seconds
#!/bin/bash
source .env
VERSION=$1
QP_HOME_DIR=$2
while getopts v:d: option
do
case "${option}"
in
v) VERSION=${OPTARG};;
d) QP_HOME_DIR=${OPTARG};;
esac
done
if [ -n "$VERSION" ]; then
......@@ -21,7 +29,7 @@ elif [ -n "$QP_HOME_DIR" ]; then
else
printf "\n no version and no install dir given => not doing anything"
exit()
exit
fi
......
#!/bin/bash
source .env
VERSION=$1
QP_HOME_DIR=$2
while getopts v:d: option
do
case "${option}"
in
v) VERSION=${OPTARG};;
d) QP_HOME_DIR=${OPTARG};;
esac
done
if [ -n "$VERSION" ]; then
......@@ -23,7 +30,7 @@ elif [ -n "$QP_HOME_DIR" ]; then
else
printf "\n no version and no install dir given => not doing anything"
exit()
exit
fi
......
#!/bin/bash
source .env
VERSION=$1
QP_HOME_DIR=$2
while getopts v:d: option
do
case "${option}"
in
v) VERSION=${OPTARG};;
d) QP_HOME_DIR=${OPTARG};;
esac
done
if [ -n "$VERSION" ]; then
wget -N "https://gitlab.miracum.org/miracum/uc2/datashield/ds_develop/tree/$VERSION/deploy/queue/docker-compose.yml"
......@@ -20,7 +27,7 @@ elif [ -n "$QP_HOME_DIR" ]; then
else
printf "\n no version and no install dir given => not doing anything"
exit()
exit
fi
......
......@@ -3,8 +3,11 @@
cd ds_opal
./start.sh
cd ../ds_poll_monitor_server
./start.sh
cd ../ds_poll/deploy
docker-compose up -d
cd ../../ds_queue/deploy
docker-compose up -d
cd ../ds_rstudio
cd ../../ds_rstudio
./start.sh
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment