Skip to content

Commit d069872

Browse files
authored
Merge pull request grpc#11883 from jtattermusch/kokoro_fix_linux_artifacts
Fix linux artifacts on Kokoro
2 parents 2a88847 + 713d7c9 commit d069872

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tools/internal_ci/linux/grpc_build_artifacts.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ cd $(dirname $0)/../../..
2020

2121
source tools/internal_ci/helper_scripts/prepare_build_linux_rc
2222

23-
# TODO(jtattermusch): install ruby on the internal_ci worker
24-
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
25-
# TODO(jtattermusch): grep works around https://github.com/rvm/rvm/issues/4068
26-
curl -sSL https://get.rvm.io | grep -v __rvm_print_headline | bash -s stable --ruby
23+
set +ex
24+
[[ -s /etc/profile.d/rvm.sh ]] && . /etc/profile.d/rvm.sh
25+
set -e # rvm commands are very verbose
26+
rvm --default use ruby-2.4.1
27+
set -ex
2728

2829
tools/run_tests/task_runner.py -f artifact linux

0 commit comments

Comments
 (0)