Skip to content

Commit 1b17ac9

Browse files
RUBY-3232 Switch to supported build hosts (#2712)
* Bump to latest toolchain and clean up specs to use consistent (and modern) build hosts * fix config validation errors * don't try to run ruby 2.7 on ubuntu2204 * bump submodule to get updated toolchain version * rhel84 -> rhel80 * keep tweaking * add "require_solo" helper * for testing: pointing spec/shared at my own branch * update spec/shared again to fix typo * bump spec/shared version again to prevent apt-get install from prompting * make sure cmake is installed for FLE runs * don't test on 3.2 yet (broken tests) * make sure we check for cmake BEFORE the bundle is installed * use MDB 5.x for testing certain auth mechanisms this is because run-tests.sh uses `mongo` to configure the MDB instance for certain auth mechanisms, which isn't shipped in MDB 6+. * try building the native extension for mongo_kerberos * remove jruby-9.4 for now to see if things pass any better with 9.3 * bump spec/shared to get updated server registry (for aarch64 versions) * update serverless to use rhel80 * move the install_cmake function to spec/shared, and make sure it gets called in run-tests-gcp * don't run zstd tests on jruby (no support) * bump spec/shared to get updated target arch selection * replace jruby 9.4 with 9.3 in sample_rubies list * bump spec/shared again * make sure kerberos stuff doesn't get confused by the BUNDLE_GEMFILE variable * don't test jruby on arm for now * don't assume x86_64 architecture * fix invalid config * jruby-9.3 isn't being built for ubuntu/debian :/ * need to build the bundle for the kerberos gem before compiling it * bump spec/shared to latest from my branch * jruby-9.3 is being built as a recent ruby now * don't include ruby-3.2 in supported rubies (yet) * rebuild config.yml * bump spec/shared * leaving out debian11 for now; we have ubuntu2204, which is closely related * the file is /etc/os-release, not /etc/os_release * remove jruby from FLE tests * comment out the failing tests (and reference the corresponding Jira tickets) this will at least let us get this "build hosts" effort sorted * forgot to comment out 'latest' * cmake is only needed if the helper is being installed Co-authored-by: Dmitry Rybakov <dmitry.rybakov@mongodb.com> * bump spec/shared --------- Co-authored-by: Dmitry Rybakov <dmitry.rybakov@mongodb.com>
1 parent fcedc87 commit 1b17ac9

13 files changed

+539
-959
lines changed

.evergreen/config.yml

Lines changed: 228 additions & 481 deletions
Large diffs are not rendered by default.

.evergreen/config/axes.yml.erb

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ axes:
138138
- id: "ruby"
139139
display_name: Ruby Version
140140
values:
141+
- id: "ruby-3.2"
142+
display_name: ruby-3.2
143+
variables:
144+
RVM_RUBY: "ruby-3.2"
145+
- id: "ruby-3.1"
146+
display_name: ruby-3.1
147+
variables:
148+
RVM_RUBY: "ruby-3.1"
141149
- id: "ruby-3.1"
142150
display_name: ruby-3.1
143151
variables:
@@ -170,36 +178,31 @@ axes:
170178
display_name: jruby-9.3
171179
variables:
172180
RVM_RUBY: "jruby-9.3"
173-
181+
- id: "jruby-9.4"
182+
display_name: jruby-9.4
183+
variables:
184+
RVM_RUBY: "jruby-9.4"
185+
174186
- id: "os"
175187
display_name: OS
176188
values:
177189
- id: debian11
178190
display_name: "Debian 11"
179191
run_on: debian11-small
180-
- id: ubuntu2004
181-
display_name: "Ubuntu 20.04"
182-
run_on: ubuntu2004-small
183-
- id: ubuntu1804
184-
display_name: "Ubuntu 18.04"
185-
run_on: ubuntu1804-small
186-
- id: ubuntu1604
187-
display_name: "Ubuntu 16.04"
188-
run_on: ubuntu1604-small
189-
- id: rhel80
192+
- id: ubuntu2204
193+
display_name: "Ubuntu 22.04"
194+
run_on: ubuntu2204-small
195+
- id: rhel8
190196
display_name: "RHEL 8"
191197
run_on: rhel80-small
192-
- id: rhel70
193-
display_name: "RHEL 7"
194-
run_on: rhel70-small
195-
- id: rhel62
196-
display_name: "RHEL 6"
197-
run_on: rhel62-small
198+
- id: rhel8-arm
199+
display_name: "RHEL 8 ARM64"
200+
run_on: rhel82-arm64-small
198201

199202
- id: docker-distro
200203
display_name: Docker Distro
201204
values:
202-
<% %w(debian92 debian10 ubuntu1804 ubuntu2004).each do |distro| %>
205+
<% %w(debian11 ubuntu2204).each do |distro| %>
203206
- id: <%= distro %>
204207
display_name: <%= distro %>
205208
variables:
@@ -299,7 +302,7 @@ axes:
299302
values:
300303
- id: mmapv1
301304
display_name: MMAPv1
302-
run_on: ubuntu1604-small
305+
run_on: rhel80-small
303306
variables:
304307
MMAPV1: 'true'
305308

0 commit comments

Comments
 (0)