node 6.x is EOL'ed upgrade to latest stable (#8702)

master
Harshavardhana 5 years ago committed by Nitish Tiwari
parent c476b27a65
commit d4a390028a
  1. 5
      buildscripts/gateway-tests.sh
  2. 4
      mint/preinstall.sh

@ -46,10 +46,7 @@ function main()
gw_pid="$(start_minio_gateway_s3)" gw_pid="$(start_minio_gateway_s3)"
SERVER_ENDPOINT=127.0.0.1:24240 ENABLE_HTTPS=0 ACCESS_KEY=minio \ SERVER_ENDPOINT=127.0.0.1:24240 ENABLE_HTTPS=0 ACCESS_KEY=minio \
SECRET_KEY=minio123 MINT_MODE="full" /mint/entrypoint.sh \ SECRET_KEY=minio123 MINT_MODE="full" /mint/entrypoint.sh
aws-sdk-go aws-sdk-java aws-sdk-php aws-sdk-ruby awscli \
healthcheck mc minio-dotnet minio-go minio-java minio-py \
s3cmd security
rv=$? rv=$?
kill "$sr_pid" kill "$sr_pid"

@ -19,7 +19,7 @@ export APT="apt --quiet --yes"
export WGET="wget --quiet --no-check-certificate" export WGET="wget --quiet --no-check-certificate"
# install nodejs source list # install nodejs source list
if ! $WGET --output-document=- https://deb.nodesource.com/setup_6.x | bash -; then if ! $WGET --output-document=- https://deb.nodesource.com/setup_13.x | bash -; then
echo "unable to set nodejs repository" echo "unable to set nodejs repository"
exit 1 exit 1
fi fi
@ -32,7 +32,7 @@ rm -f packages-microsoft-prod.deb
$APT update $APT update
# download and install golang # download and install golang
GO_VERSION="1.13" GO_VERSION="1.13.5"
GO_INSTALL_PATH="/usr/local" GO_INSTALL_PATH="/usr/local"
download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz"
if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then

Loading…
Cancel
Save