Skip to content

Commit

Permalink
Enabling debug mode, removing nvm references, installing deps, and in…
Browse files Browse the repository at this point in the history
…creasing timeouts.
  • Loading branch information
nicolasnoble committed Mar 13, 2018
1 parent 64e3e9d commit 8857cca
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source ~/.nvm/nvm.sh

nvm install 8
set -ex

cd $(dirname $0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.


set -ex

NODE_ALPINE_BUILD=false

while true ; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source ~/.nvm/nvm.sh

nvm use 8
set -ex

cd $(dirname $0)/../../..
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

source ~/.nvm/nvm.sh

nvm use 8
set -ex

cd $(dirname $0)/../../..
Expand Down
8 changes: 5 additions & 3 deletions tools/release/kokoro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e
set -ex
cd $(dirname $0)/../..
base_dir=$(pwd)

# Install gRPC and its submodules.
git submodule update --init
git submodule foreach --recursive git submodule update --init

pip install mako
./packages/grpc-native-core/tools/buildgen/generate_projects.sh

OS=`uname`

case $OS in
Linux)
sudo apt-get update
sudo apt-get install -y linux-libc-dev:i386 g++-aarch64-linux-gnu g++-arm-linux-gnueabihf
./packages/grpc-native-core/tools/run_tests/artifacts/build_all_linux_artifacts.sh
mv packages/grpc-native-core/artifacts .
;;
Darwin)
export ARTIFACTS_OUT=$(base_dir)/artifacts
./packages/grpc-native-core/tools/run_tests/artifacts/build_artifact_node.sh
ARTIFACTS_OUT=$base_dir/artifacts ./packages/grpc-native-core/tools/run_tests/artifacts/build_artifact_node.sh
;;
esac
2 changes: 1 addition & 1 deletion tools/release/kokoro/linux.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Location of the continuous shell script in repository.
build_file: "grpc-node/tools/release/kokoro.sh"
timeout_mins: 60
timeout_mins: 180
action {
define_artifacts {
regex: "github/grpc-node/artifacts/**",
Expand Down
2 changes: 1 addition & 1 deletion tools/release/kokoro/macos.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Location of the continuous shell script in repository.
build_file: "grpc-node/tools/release/kokoro.sh"
timeout_mins: 60
timeout_mins: 120
action {
define_artifacts {
regex: "github/grpc-node/artifacts/**",
Expand Down
2 changes: 1 addition & 1 deletion tools/release/kokoro/windows.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Location of the continuous shell script in repository.
build_file: "grpc-node/tools/release/kokoro.bat"
timeout_mins: 60
timeout_mins: 120
action {
define_artifacts {
regex: "github/grpc-node/artifacts/**",
Expand Down

0 comments on commit 8857cca

Please sign in to comment.