echo EVERGREEN_PREREQ_TARGET=${EVERGREEN_PREREQ_TARGET}
echo EVERGREEN_DB_PREREQ_TARGET=${EVERGREEN_DB_PREREQ_TARGET}
- export NODEJS_REPO='https://github.com/joyent/node.git'
- export NODEJS_VERSION='v0.10.35'
- echo "NODEJS_REPO=$NODEJS_REPO"
+ export NODEJS_VERSION='v6.10.1'
+ export NODEJS_BINDIR="node-$NODEJS_VERSION-linux-x64"
+ export NODEJS_TARBIN="$NODEJS_BINDIR.tar.xz"
+ export NODEJS_BINARY="https://nodejs.org/dist/$NODEJS_VERSION/$NODEJS_TARBIN"
+ echo "NODEJS_BINARY=$NODEJS_BINARY"
echo "NODEJS_VERSION=$NODEJS_VERSION"
echo End of intializing installer =~-._
# Run it as a standalone operation for now.
function test_and_build_eg_browser_client {
echo _.-~= Running Evergreen browser client build/test
- cd /tmp
- git clone $NODEJS_REPO
- cd node
- git checkout -b $NODEJS_VERSION $NODEJS_VERSION
- ./configure && make -j2 && make install
+ cd /home/opensrf
+ wget -N $NODEJS_BINARY
+ tar xf $NODEJS_TARBIN
+ echo Return Value = $?
+ export PATH=$PATH:/home/opensrf/$NODEJS_TARBIN/bin
echo Return Value = $?
npm update
echo Return Value = $?