Skip to content

Commit

Permalink
RUBY-3232 Switch to supported build hosts (#2712)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
jamis and comandeo-mongo committed May 25, 2023
1 parent fcedc87 commit 1b17ac9
Show file tree
Hide file tree
Showing 13 changed files with 539 additions and 959 deletions.
709 changes: 228 additions & 481 deletions .evergreen/config.yml

Large diffs are not rendered by default.

41 changes: 22 additions & 19 deletions .evergreen/config/axes.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ axes:
- id: "ruby"
display_name: Ruby Version
values:
- id: "ruby-3.2"
display_name: ruby-3.2
variables:
RVM_RUBY: "ruby-3.2"
- id: "ruby-3.1"
display_name: ruby-3.1
variables:
RVM_RUBY: "ruby-3.1"
- id: "ruby-3.1"
display_name: ruby-3.1
variables:
Expand Down Expand Up @@ -170,36 +178,31 @@ axes:
display_name: jruby-9.3
variables:
RVM_RUBY: "jruby-9.3"

- id: "jruby-9.4"
display_name: jruby-9.4
variables:
RVM_RUBY: "jruby-9.4"

- id: "os"
display_name: OS
values:
- id: debian11
display_name: "Debian 11"
run_on: debian11-small
- id: ubuntu2004
display_name: "Ubuntu 20.04"
run_on: ubuntu2004-small
- id: ubuntu1804
display_name: "Ubuntu 18.04"
run_on: ubuntu1804-small
- id: ubuntu1604
display_name: "Ubuntu 16.04"
run_on: ubuntu1604-small
- id: rhel80
- id: ubuntu2204
display_name: "Ubuntu 22.04"
run_on: ubuntu2204-small
- id: rhel8
display_name: "RHEL 8"
run_on: rhel80-small
- id: rhel70
display_name: "RHEL 7"
run_on: rhel70-small
- id: rhel62
display_name: "RHEL 6"
run_on: rhel62-small
- id: rhel8-arm
display_name: "RHEL 8 ARM64"
run_on: rhel82-arm64-small

- id: docker-distro
display_name: Docker Distro
values:
<% %w(debian92 debian10 ubuntu1804 ubuntu2004).each do |distro| %>
<% %w(debian11 ubuntu2204).each do |distro| %>
- id: <%= distro %>
display_name: <%= distro %>
variables:
Expand Down Expand Up @@ -299,7 +302,7 @@ axes:
values:
- id: mmapv1
display_name: MMAPv1
run_on: ubuntu1604-small
run_on: rhel80-small
variables:
MMAPV1: 'true'

Expand Down

0 comments on commit 1b17ac9

Please sign in to comment.