aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Donna Dionne <donnadionne@google.com>2015-05-14 19:04:40 -0700
committerGravatar Donna Dionne <donnadionne@google.com>2015-05-14 19:04:40 -0700
commit79d68d550b8eea6a786726c3f2196b7526bf4b27 (patch)
tree1fcd1ed0f543d61f2104c66ba8d1b6cf2571c02a /tools
parentb5b4d16866080336c142a949ff5c55d64f54f34e (diff)
To allow local private changes to be build into private
docker images to do interop testing before submitting code c++ and java are done previously, adding ruby and node. see script tools/gce_setup/private_build_and_test.sh
Diffstat (limited to 'tools')
-rwxr-xr-xtools/dockerfile/grpc_node/build.sh8
-rwxr-xr-xtools/dockerfile/grpc_ruby/build.sh8
2 files changed, 16 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_node/build.sh b/tools/dockerfile/grpc_node/build.sh
new file mode 100755
index 0000000000..86a681d453
--- /dev/null
+++ b/tools/dockerfile/grpc_node/build.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+cp -R /var/local/git-clone/grpc /var/local/git
+
+make clean -C /var/local/git/grpc
+
+make install_c -j12 -C /var/local/git/grpc
+
+cd /var/local/git/grpc/src/node && npm install && node-gyp rebuild
diff --git a/tools/dockerfile/grpc_ruby/build.sh b/tools/dockerfile/grpc_ruby/build.sh
new file mode 100755
index 0000000000..ab0267d9a6
--- /dev/null
+++ b/tools/dockerfile/grpc_ruby/build.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+cp -R /var/local/git-clone/grpc /var/local/git
+
+make clean -C /var/local/git/grpc
+
+make install_c -j12 -C /var/local/git/grpc
+
+/bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && gem update bundler && bundle && rake'