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
f238194b
Commit
f238194b
authored
8 years ago
by
murgatroid99
Browse files
Options
Downloads
Patches
Plain Diff
Updated build_package_ruby to build the grpc-tools gem
parent
3b293253
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/run_tests/build_package_ruby.sh
+24
-0
24 additions, 0 deletions
tools/run_tests/build_package_ruby.sh
with
24 additions
and
0 deletions
tools/run_tests/build_package_ruby.sh
+
24
−
0
View file @
f238194b
...
...
@@ -32,6 +32,8 @@ set -ex
cd
$(
dirname
$0
)
/../..
base
=
$(
pwd
)
mkdir
-p
artifacts/
# All the ruby packages have been built in the artifact phase already
...
...
@@ -41,3 +43,25 @@ cp -r $EXTERNAL_GIT_ROOT/architecture={x86,x64},language=ruby,platform={windows,
# TODO: all the artifact builder configurations generate a grpc-VERSION.gem
# source distribution package, and only one of them will end up
# in the artifacts/ directory. They should be all equivalent though.
for
arch
in
{
x86,x64
}
;
do
case
arch
in
x64
)
ruby_arch
=
x86_64
;;
*
)
ruby_arch
=
$arch
;;
esac
for
plat
in
{
windows,linux,macos
}
;
do
input_dir
=
"
$EXTERNAL_GIT_ROOT
/architecture=
$arch
,language=protoc,platform=
$plat
/artifacts"
output_dir
=
"
$base
/src/ruby/tools/bin/
${
ruby_arch
}
-
${
plat
}
"
mkdir
-p
output_dir
cp
$input_dir
/protoc
*
output_dir/
cp
$input_dir
/grpc_ruby_plugin
*
output_dir/
done
done
cd
$base
/src/ruby/tools
gem build grpc-tools.gemspec
cp
./grpc-tools
*
.gem
$base
/artifacts/
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