Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
303af9f3
Commit
303af9f3
authored
10 years ago
by
Tim Emiola
Browse files
Options
Downloads
Patches
Plain Diff
Runs the ruby tests during docker builds
parent
8331591d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/dockerfile/grpc_ruby/Dockerfile
+2
-8
2 additions, 8 deletions
tools/dockerfile/grpc_ruby/Dockerfile
with
2 additions
and
8 deletions
tools/dockerfile/grpc_ruby/Dockerfile
+
2
−
8
View file @
303af9f3
...
@@ -12,14 +12,8 @@ RUN touch /var/local/git/grpc/include/grpc/support/string.h
...
@@ -12,14 +12,8 @@ RUN touch /var/local/git/grpc/include/grpc/support/string.h
# Build the C core.
# Build the C core.
RUN
make install_c
-C
/var/local/git/grpc
RUN
make install_c
-C
/var/local/git/grpc
# Install the grpc gem locally with its dependencies and build the extension
# Build ruby gRPC and run its tests
RUN
/bin/bash
-l
-c
'cd /var/local/git/grpc/src/ruby && bundle && rake compile:grpc && gem build grpc.gemspec && gem install grpc'
RUN
/bin/bash
-l
-c
'cd /var/local/git/grpc/src/ruby && bundle && rake'
# 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'
# Add a cacerts directory containing the Google root pem file, allowing the ruby client to access the production test instance
# Add a cacerts directory containing the Google root pem file, allowing the ruby client to access the production test instance
ADD
cacerts cacerts
ADD
cacerts cacerts
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment