Skip to content

Commit 0023f27

Browse files
p-mongop
authored andcommitted
RUBY-2058 test driver on Ruby 2.7 (#1615)
1 parent 7e19e61 commit 0023f27

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.evergreen/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,10 @@ axes:
618618
display_name: ruby-2.6
619619
variables:
620620
RVM_RUBY: "ruby-2.6"
621+
- id: "ruby-2.7"
622+
display_name: ruby-2.7
623+
variables:
624+
RVM_RUBY: "ruby-2.7"
621625
- id: "ruby-head"
622626
display_name: ruby-head
623627
variables:
@@ -736,7 +740,7 @@ buildvariants:
736740
matrix_name: "mongo"
737741
matrix_spec:
738742
auth-and-ssl: ["auth-and-ssl", "noauth-and-nossl"]
739-
ruby: "ruby-2.6"
743+
ruby: "ruby-2.7"
740744
mongodb-version: "*"
741745
topology: "*"
742746
display_name: "${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"

.evergreen/functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ setup_ruby() {
9595
if ! test "$RVM_RUBY" = ruby-1.9; then
9696

9797
# For testing toolchains:
98-
toolchain_url=https://s3.amazonaws.com//mciuploads/mongo-ruby-toolchain/`host_arch`/741a9eba5788e6d5254a09319d7d237b40a9f4d6/mongo_ruby_driver_toolchain_`host_arch`_patch_741a9eba5788e6d5254a09319d7d237b40a9f4d6_5cfa8ad0d6d80a02bbb45be7_19_06_07_16_03_30.tar.gz
99-
curl -fL $toolchain_url |tar zxf -
98+
toolchain_url=https://s3.amazonaws.com//mciuploads/mongo-ruby-toolchain/`host_arch`/e7cf68d7146c09d54dfbe241c04aad3e3eadbb10/mongo_ruby_driver_toolchain_`host_arch |tr - _`_e7cf68d7146c09d54dfbe241c04aad3e3eadbb10_19_12_27_00_47_13.tar.gz
99+
curl --retry 3 -fL $toolchain_url |tar zxf -
100100
export PATH=`pwd`/rubies/$RVM_RUBY/bin:$PATH
101101

102102
# Attempt to get bundler to report all errors - so far unsuccessful

0 commit comments

Comments
 (0)