ci: upgrade to node 8 and Bazel 0.8 (#20807)

Closes #19648

PR Close #20807
This commit is contained in:
Alex Eagle
2017-12-05 11:36:08 -08:00
committed by Igor Minar
parent 80eeba272a
commit d824cc26a0
9 changed files with 16 additions and 18 deletions

View File

@ -34,10 +34,10 @@ fi
# CUSTOM GLOBALS #
#######################
setEnvVar NODE_VERSION 6.9.5
setEnvVar NODE_VERSION 8.9.1
setEnvVar YARN_VERSION 1.0.2
setEnvVar CHROMIUM_VERSION 499098 # Chrome 62 linux stable, see https://www.chromium.org/developers/calendar
setEnvVar BAZEL_VERSION 0.5.4
setEnvVar BAZEL_VERSION 0.8.1
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
setEnvVar ANGULAR_CLI_VERSION 1.5.0-rc.2
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)

View File

@ -2,11 +2,11 @@
set -u -e -o pipefail
# These ones can be `npm link`ed for fast development
LINKABLE_PKGS=(
$(pwd)/dist/packages-dist/{common,forms,core,compiler,compiler-cli,platform-{browser,server},platform-browser-dynamic,router,http,animations}
)
# npm 5 symlinks from local file installations rather than copying files, but
# webpack will not follow the symlinks.
# We prefer to emulate how a user will install angular, so we `npm pack` the
# packages, then install them from the resulting .tgz files later.
ANGULAR_PKGS=$(npm pack dist/packages-dist/{common,forms,core,compiler,compiler-cli,platform-{browser,server},platform-browser-dynamic,router,http,animations} | awk "{ printf \"$PWD/\"; print }")
TYPESCRIPT_2_4=typescript@2.4.x
PKGS=(
@ -34,8 +34,7 @@ cp -v package.json $TMP
cd $TMP
set -ex -o pipefail
npm install ${PKGS[*]} $TYPESCRIPT_2_4
# TODO(alexeagle): allow this to be npm link instead
npm install ${LINKABLE_PKGS[*]}
npm install ${ANGULAR_PKGS[*]}
./node_modules/.bin/tsc --version
# Compile the compiler-cli third_party simulation.