chore: upgrade nodejs for html5 14.19.1 to 14
.21.1
This commit is contained in:
parent
b2d2bd9650
commit
4fcb451299
@ -1,4 +1,5 @@
|
|||||||
# set up stages
|
# set up stages
|
||||||
|
#
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: fetch
|
GIT_STRATEGY: fetch
|
||||||
@ -11,7 +12,7 @@ stages:
|
|||||||
|
|
||||||
# define which docker image to use for builds
|
# define which docker image to use for builds
|
||||||
default:
|
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.
|
# 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
|
# it then checks an API endpoint on the package server to find out for which of
|
||||||
|
@ -59,7 +59,7 @@ source /etc/lsb-release
|
|||||||
|
|
||||||
# Set up specific version of node
|
# Set up specific version of node
|
||||||
if [ "$DISTRIB_CODENAME" == "focal" ]; then
|
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
|
if [[ ! -d /usr/share/node-v${node_version}-linux-x64 ]]; then
|
||||||
cd /usr/share
|
cd /usr/share
|
||||||
tar xfz "node-v${node_version}-linux-x64.tar.gz"
|
tar xfz "node-v${node_version}-linux-x64.tar.gz"
|
||||||
|
@ -93,11 +93,11 @@ cp bbb-html5-frontend@.service staging/usr/lib/systemd/system
|
|||||||
|
|
||||||
mkdir -p staging/usr/share
|
mkdir -p staging/usr/share
|
||||||
|
|
||||||
if [ ! -f node-v14.19.1-linux-x64.tar.gz ]; then
|
if [ ! -f node-v14.21.1-linux-x64.tar.gz ]; then
|
||||||
wget https://nodejs.org/dist/v14.19.1/node-v14.19.1-linux-x64.tar.gz
|
wget https://nodejs.org/dist/v14.21.1/node-v14.21.1-linux-x64.tar.gz
|
||||||
fi
|
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
|
# replace v=VERSION with build number in head and css files
|
||||||
if [ -f staging/usr/share/meteor/bundle/programs/web.browser/head.html ]; then
|
if [ -f staging/usr/share/meteor/bundle/programs/web.browser/head.html ]; then
|
||||||
|
@ -49,7 +49,7 @@ fi
|
|||||||
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
|
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
|
||||||
export MONGO_URL=mongodb://127.0.1.1/meteor
|
export MONGO_URL=mongodb://127.0.1.1/meteor
|
||||||
export NODE_ENV=production
|
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 SERVER_WEBSOCKET_COMPRESSION=0
|
||||||
export BIND_IP=127.0.0.1
|
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
|
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
|
||||||
|
@ -49,7 +49,7 @@ fi
|
|||||||
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
|
export MONGO_OPLOG_URL=mongodb://127.0.1.1/local
|
||||||
export MONGO_URL=mongodb://127.0.1.1/meteor
|
export MONGO_URL=mongodb://127.0.1.1/meteor
|
||||||
export NODE_ENV=production
|
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 SERVER_WEBSOCKET_COMPRESSION='{"level":5, "maxWindowBits":13, "memLevel":7, "requestMaxWindowBits":13}'
|
||||||
export BIND_IP=127.0.0.1
|
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
|
PORT=$PORT /usr/share/$NODE_VERSION/bin/node --max-old-space-size=2048 --max_semi_space_size=128 main.js
|
||||||
|
Loading…
Reference in New Issue
Block a user