Skip to content
Snippets Groups Projects
Verified Commit 2c24c821 authored by Martin Weise's avatar Martin Weise
Browse files

Changed the link

parent e67c607e
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
# preset # preset
VERSION="1.8.1" APP_VERSION="1.8.1"
DOC_VERSION="1.8"
MIN_CPU=8 MIN_CPU=8
MIN_RAM=4 MIN_RAM=4
MIN_MAP_COUNT=262144 MIN_MAP_COUNT=262144
...@@ -63,8 +64,8 @@ else ...@@ -63,8 +64,8 @@ else
fi fi
# environment # environment
echo "[🚀] Gathering environment for version ${VERSION} ..." echo "[🚀] Gathering environment for version ${APP_VERSION} ..."
curl -ksSL -o ./dist.tar.gz "https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${VERSION}/dist.tar.gz" curl -ksSL -o ./dist.tar.gz "https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${APP_VERSION}/dist.tar.gz"
tar xzfv ./dist.tar.gz tar xzfv ./dist.tar.gz
if [[ $DOWNLOAD_ONLY -eq 1 ]]; then if [[ $DOWNLOAD_ONLY -eq 1 ]]; then
...@@ -72,7 +73,7 @@ if [[ $DOWNLOAD_ONLY -eq 1 ]]; then ...@@ -72,7 +73,7 @@ if [[ $DOWNLOAD_ONLY -eq 1 ]]; then
exit 0 exit 0
fi fi
echo "[📦] Pulling images for version ${VERSION} ..." echo "[📦] Pulling images for version ${APP_VERSION} ..."
docker compose pull docker compose pull
echo "[🎉] Success!" echo "[🎉] Success!"
...@@ -86,4 +87,4 @@ echo "Then start the local deployment with:" ...@@ -86,4 +87,4 @@ echo "Then start the local deployment with:"
echo "" echo ""
echo " docker compose up -d" echo " docker compose up -d"
echo "" echo ""
echo "Read about next steps online: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${VERSION}/installation/#next-steps" echo "Read about next steps online: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/${DOC_VERSION}/installation/#next-steps"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment