Skip to content
Snippets Groups Projects
Commit f3f08894 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Updates Nc to latest 21.

parent cc736668
No related branches found
No related tags found
No related merge requests found
......@@ -44,12 +44,12 @@ if [ "${APP}" = "nextcloud" ]; then
export NC_WEB_IMAGE_TAG=22.1.1-web-2021-09-08
elif [ "${VERSION}" = "beta" ]; then
export NC_VERSION=21.0.7.0
export NC_IMAGE_TAG=21.0.7-2022-01-24
export NC_WEB_IMAGE_TAG=21.0.7-web-2022-01-24
export NC_IMAGE_TAG=21.0.7-2022-02-02
export NC_WEB_IMAGE_TAG=21.0.7-web-2022-02-02
else
export NC_VERSION=20.0.14.2
export NC_IMAGE_TAG=20.0.14-2022-01-10
export NC_WEB_IMAGE_TAG=20.0.14-web-2022-01-10
export NC_VERSION=21.0.7.0
export NC_IMAGE_TAG=21.0.7-2022-02-02
export NC_WEB_IMAGE_TAG=21.0.7-web-2022-02-02
fi
fi
......
#!/bin/bash -eu
cd /root/domains
for nuage in `kubectl get ing -l app.kubernetes.io/name=nextcloud -A --no-headers -o custom-columns=":metadata.name" | sed s/-web//g | grep -v "beta\|test-meteo"`; do
export NS=`echo $nuage | cut -d"-" -f2-`
export SUBDOMAIN=`echo $nuage | cut -d"-" -f1`
echo Upating $SUBDOMAIN $NS ...
export APP=${SUBDOMAIN}-${NS}
cd $NS/$SUBDOMAIN
libre update --batch
cd -
done
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