From 303af9f322a28e6ebc7786769453331507c9d4c7 Mon Sep 17 00:00:00 2001 From: Tim Emiola Date: Thu, 29 Jan 2015 13:27:31 -0800 Subject: Runs the ruby tests during docker builds --- tools/dockerfile/grpc_ruby/Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'tools/dockerfile/grpc_ruby') diff --git a/tools/dockerfile/grpc_ruby/Dockerfile b/tools/dockerfile/grpc_ruby/Dockerfile index f01f81d539..c84548c880 100644 --- a/tools/dockerfile/grpc_ruby/Dockerfile +++ b/tools/dockerfile/grpc_ruby/Dockerfile @@ -12,14 +12,8 @@ RUN touch /var/local/git/grpc/include/grpc/support/string.h # Build the C core. RUN make install_c -C /var/local/git/grpc -# Install the grpc gem locally with its dependencies and build the extension -RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake compile:grpc && gem build grpc.gemspec && gem install grpc' - -# TODO add a command to run the unittest tests when the bug below is fixed -# - the tests fail due to an error in the C threading library: -# they fail with 'ruby: __pthread_mutex_cond_lock_adjust for unknown reasons' at the end of a testcase -# - however, the interop server and client run OK, so this bug can be investigated -# RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake' +# Build ruby gRPC and run its tests +RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake' # Add a cacerts directory containing the Google root pem file, allowing the ruby client to access the production test instance ADD cacerts cacerts -- cgit v1.2.3