chore: upgrade nodejs for html5 14.19.1 to 14

.21.1
This commit is contained in:
Anton Georgiev 2022-12-20 21:02:19 +00:00
parent b2d2bd9650
commit 4fcb451299
5 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
# set up stages
#
variables:
GIT_STRATEGY: fetch
@ -11,7 +12,7 @@ stages:
# define which docker image to use for builds
default:
image: gitlab.senfcall.de:5050/senfcall-public/docker-bbb-build:v2022-03-30
image: gitlab.senfcall.de:5050/senfcall-public/docker-bbb-build:v2022-12-08-meteor-290
# This stage uses git to find out since when each package has been unmodified.
# it then checks an API endpoint on the package server to find out for which of

View File

@ -59,7 +59,7 @@ source /etc/lsb-release
# Set up specific version of node
if [ "$DISTRIB_CODENAME" == "focal" ]; then
node_version="14.19.1"
node_version="14.21.1"
if [[ ! -d /usr/share/node-v${node_version}-linux-x64 ]]; then
cd /usr/share
tar xfz "node-v${node_version}-linux-x64.tar.gz"

View File

@ -93,11 +93,11 @@ cp bbb-html5-frontend@.service staging/usr/lib/systemd/system
mkdir -p staging/usr/share
if [ ! -f node-v14.19.1-linux-x64.tar.gz ]; then
wget https://nodejs.org/dist/v14.19.1/node-v14.19.1-linux-x64.tar.gz
if [ ! -f node-v14.21.1-linux-x64.tar.gz ]; then
wget https://nodejs.org/dist/v14.21.1/node-v14.21.1-linux-x64.tar.gz
fi
cp node-v14.19.1-linux-x64.tar.gz staging/usr/share
cp node-v14.21.1-linux-x64.tar.gz staging/usr/share
# replace v=VERSION with build number in head and css files
if [ -f staging/usr/share/meteor/bundle/programs/web.browser/head.html ]; then

View File

@ -49,7 +49,7 @@ fi
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
export MONGO_URL=mongodb://127.0.1.1/meteor
export NODE_ENV=production
export NODE_VERSION=node-v14.19.1-linux-x64
export NODE_VERSION=node-v14.21.1-linux-x64
export SERVER_WEBSOCKET_COMPRESSION=0
export BIND_IP=127.0.0.1
PORT=$PORT /usr/share/$NODE_VERSION/bin/node --max-old-space-size=2048 --max_semi_space_size=128 main.js NODEJS_BACKEND_INSTANCE_ID=$INSTANCE_ID

View File

@ -49,7 +49,7 @@ fi
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
export MONGO_URL=mongodb://127.0.1.1/meteor
export NODE_ENV=production
export NODE_VERSION=node-v14.19.1-linux-x64
export NODE_VERSION=node-v14.21.1-linux-x64
export SERVER_WEBSOCKET_COMPRESSION='{"level":5, "maxWindowBits":13, "memLevel":7, "requestMaxWindowBits":13}'
export BIND_IP=127.0.0.1
PORT=$PORT /usr/share/$NODE_VERSION/bin/node --max-old-space-size=2048 --max_semi_space_size=128 main.js