mirror of https://github.com/grpc/grpc-node.git
Merge pull request #44 from matt-kwong/kokoro
Script changes to allow testing from grpc/grpc
This commit is contained in:
commit
71f5d51a49
|
@ -19,7 +19,7 @@ gulp.task('health-check.clean.all', 'Delete all code created by tasks',
|
|||
['health-check.clean.links']);
|
||||
|
||||
gulp.task('health-check.install', 'Install health check dependencies', () => {
|
||||
return execa('npm', ['install'], {cwd: healthCheckDir, stdio: 'inherit'});
|
||||
return execa('npm', ['install', '--unsafe-perm'], {cwd: healthCheckDir, stdio: 'inherit'});
|
||||
});
|
||||
|
||||
gulp.task('health-check.link.add', 'Link local copy of grpc', ['health-check.install'], () => {
|
||||
|
|
|
@ -81,7 +81,7 @@ function makeCompileFn(globs) {
|
|||
}
|
||||
|
||||
gulp.task('js.core.install', 'Install native core dependencies', () => {
|
||||
return execa('npm', ['install'], {cwd: jsCoreDir, stdio: 'inherit'});
|
||||
return execa('npm', ['install', '--unsafe-perm'], {cwd: jsCoreDir, stdio: 'inherit'});
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,7 +26,7 @@ gulp.task('native.core.clean.all', 'Delete all files created by tasks',
|
|||
['native.core.clean']);
|
||||
|
||||
gulp.task('native.core.install', 'Install native core dependencies', () => {
|
||||
return execa('npm', ['install', '--build-from-source'],
|
||||
return execa('npm', ['install', '--build-from-source', '--unsafe-perm'],
|
||||
{cwd: nativeCoreDir, stdio: 'inherit'});
|
||||
});
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ nvm install lts/*
|
|||
nvm use lts/*
|
||||
set -ex
|
||||
|
||||
npm install
|
||||
npm install --unsafe-perm
|
||||
./node_modules/.bin/gulp setup
|
||||
|
||||
mkdir -p reports
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#
|
||||
# This script updates the gRPC submodule to a given reference and run tests
|
||||
|
||||
# cd to gRPC-node root directory
|
||||
cd $(dirname $0)
|
||||
|
||||
cd packages/grpc-native-core/deps/grpc/
|
||||
|
||||
# PR references are needed to test PRs from grpc/grpc
|
||||
|
|
Loading…
Reference in New Issue